aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: 954e327754c3225737a714fecf2949afdc76eacc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
  "name": "abridge-bundle",
  "version": "2.0.0",
  "description": "Abridge - set PWA cache files list, bundle and minify js",
  "author": "Jake G <106644+Jieiku@users.noreply.github.com>",
  "license": "MIT",
  "homepage": "https://github.com/Jieiku/abridge",
  "scripts": {
    "abridge": "node -e \"if ( require('fs').existsSync('./themes/abridge/package_abridge.js')) {require('fs').copyFileSync('./themes/abridge/package_abridge.js', './package_abridge.js')}\" && node package_abridge.js",
    "search:pagefind": "node -e \"if ( require('fs').existsSync('./themes/abridge/static/js/searchChange.js')) {require('fs').copyFileSync('./themes/abridge/static/js/searchChange.js', './static/js/searchChange.js')}\" && node ./static/js/searchChange.js --pagefind",
    "search:elasticlunr": "node -e \"if ( require('fs').existsSync('./themes/abridge/static/js/searchChange.js')) {require('fs').copyFileSync('./themes/abridge/static/js/searchChange.js', './static/js/searchChange.js')}\" && node ./static/js/searchChange.js --elasticlunr"
  },
  "dependencies": {
    "fast-toml": "^0.5.4",
    "jsonminify": "^0.4.2",
    "pagefind": "^1.1.0",
    "replace-in-file": "^8.1.0",
    "uglify-js": "^3.17.4"
  }
}