aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJieiku2024-08-07 12:58:05 -0700
committerJieiku2024-08-07 12:58:05 -0700
commit0b5c5a47ff524cc3a949b7b4d29efdf7cc74d0eb (patch)
treea11c2681f117f0b51a22dab1a3528d79f8d1a143 /package.json
parent9806e4a1b5c924a614033cc350a3315ca8aa11b1 (diff)
downloadabridge-0b5c5a47ff524cc3a949b7b4d29efdf7cc74d0eb.tar.gz
abridge-0b5c5a47ff524cc3a949b7b4d29efdf7cc74d0eb.tar.bz2
abridge-0b5c5a47ff524cc3a949b7b4d29efdf7cc74d0eb.zip
allow node script to change search_library
Diffstat (limited to 'package.json')
-rw-r--r--package.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/package.json b/package.json
index 8addd15..54b2109 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,12 @@
"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"
+ "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",
+ "offline": "npm run abridge -- offline",
+ "elasticlunrjava": "npm run abridge -- elasticlunrjava",
+ "elasticlunr": "npm run abridge -- elasticlunr",
+ "pagefind": "npm run abridge -- pagefind",
+ "tinysearch": "npm run abridge -- tinysearch"
},
"dependencies": {
"fast-toml": "^0.5.4",