aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJieiku2022-08-14 12:41:15 -0700
committerJieiku2022-08-14 12:41:15 -0700
commit830cabab1f638052a8c4ac39eb86370da5a676eb (patch)
treef59bc6914105256ea684066277a49ab2dce53300 /package.json
parentcf95ee520261a0a523d5a3dfbc01a3847d67de51 (diff)
downloadabridge-830cabab1f638052a8c4ac39eb86370da5a676eb.tar.gz
abridge-830cabab1f638052a8c4ac39eb86370da5a676eb.tar.bz2
abridge-830cabab1f638052a8c4ac39eb86370da5a676eb.zip
Alternate Search Libraries Tinysearch and Stork1.2.0
Diffstat (limited to 'package.json')
-rw-r--r--package.json18
1 files changed, 14 insertions, 4 deletions
diff --git a/package.json b/package.json
index b9347bc..85f6bb8 100644
--- a/package.json
+++ b/package.json
@@ -7,20 +7,30 @@
"homepage": "https://github.com/Jieiku/abridge",
"scripts": {
"searchonly": "uglifyjs static/elasticlunr.min.js static/search.js -c -m -o static/abridge-searchonly.min.js",
- "noswitcher": "uglifyjs static/prestyle.js static/email.js static/codecopy.js static/elasticlunr.min.js static/search.js -c -m -o static/abridge-noswitcher.min.js",
- "nofacade": "uglifyjs static/prestyle.js static/theme_button.js static/email.js static/codecopy.js static/elasticlunr.min.js static/search.js -c -m -o static/abridge-nofacade.min.js",
+ "noswitcher": "uglifyjs static/prestyle.js static/email.js static/codecopy.js static/elasticlunr.min.js static/search.js -c -m -o static/abridge-bundle-noswitcher.min.js",
+ "nofacade": "uglifyjs static/prestyle.js static/theme_button.js static/email.js static/codecopy.js static/elasticlunr.min.js static/search.js -c -m -o static/abridge-bundle-nofacade.min.js",
"theme": "uglifyjs static/theme.js -c -m -o static/theme.min.js",
"katex-bundle": "uglifyjs static/katex.min.js static/mathtex-script-type.min.js static/auto-render.min.js static/katexoptions.js -c -m -o static/katexbundle.min.js",
"search-bundle": "uglifyjs public/search_index.en.js public/elasticlunr.min.js public/search.js -c -m -o static/search_bundle.min.js",
+ "search-bundle-stork": "uglifyjs static/stork.js static/stork_config.js -c -m -o static/search_bundle_stork.min.js",
+ "search-bundle-tinysearch": "uglifyjs static/tinysearch.js -c -m -o static/search_bundle_tinysearch.min.js",
"sha256": "sha256=$(shasum -b -a 256 'static/search_bundle.min.js' | awk '{ print $1 }') && echo $sha256 && sed -i \"s|sha256='.*'|sha256='$sha256'|\" 'themes/abridge/static/search_facade.js'",
"sha256-demo": "sha256=$(shasum -b -a 256 'static/search_bundle.min.js' | awk '{ print $1 }') && echo $sha256 && sed -i \"s|sha256='.*'|sha256='$sha256'|\" 'static/search_facade.js'",
+ "sha256-stork": "sha256=$(shasum -b -a 256 'static/search_bundle_stork.min.js' | awk '{ print $1 }') && echo $sha256 && sed -i \"s|sha256='.*'|sha256='$sha256'|\" 'static/search_facade_stork.js'",
+ "sha256-tinysearch": "sha256=$(shasum -b -a 256 'static/search_bundle_tinysearch.min.js' | awk '{ print $1 }') && echo $sha256 && sed -i \"s|sha256='.*'|sha256='$sha256'|\" 'static/search_facade_tinysearch.js'",
"sha384": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'themes/abridge/static/search_facade.js'",
"sha384-demo": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade.js'",
+ "sha384-stork": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle_stork.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade_stork.js'",
+ "sha384-tinysearch": "sha384=$(openssl dgst -sha384 -binary 'static/search_bundle_tinysearch.min.js' | openssl base64) && echo $sha384 && sed -i \"s|sha384='.*'|sha384='$sha384'|\" 'static/search_facade_tinysearch.js'",
"abridge-bundle": "uglifyjs themes/abridge/static/prestyle.js themes/abridge/static/theme_button.js themes/abridge/static/search_facade.js themes/abridge/static/email.js themes/abridge/static/codecopy.js -c -m -o static/abridge-bundle.min.js",
"abridge-bundle-demo": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle.min.js",
- "abridge-demo": "npm run search-bundle && npm run sha256-demo && npm run sha384-demo && npm run abridge-bundle-demo",
+ "abridge-bundle-stork": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade_stork.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle-stork.min.js",
+ "abridge-bundle-tinysearch": "uglifyjs static/prestyle.js static/theme_button.js static/search_facade_tinysearch.js static/email.js static/codecopy.js -c -m -o static/abridge-bundle-tinysearch.min.js",
"abridge": "npm run search-bundle && npm run sha256 && npm run sha384 && npm run abridge-bundle",
- "all": "npm run searchonly && npm run noswitcher && npm run nofacade && npm run theme && npm run katex-bundle && npm run abridge-demo"
+ "abridge-demo": "npm run search-bundle && npm run sha256-demo && npm run sha384-demo && npm run abridge-bundle-demo",
+ "abridge-stork": "npm run search-bundle-stork && npm run sha256-stork && npm run sha384-stork && npm run abridge-bundle-stork",
+ "abridge-tinysearch": "npm run search-bundle-tinysearch && npm run sha256-tinysearch && npm run sha384-tinysearch && npm run abridge-bundle-tinysearch",
+ "all": "npm run searchonly && npm run noswitcher && npm run nofacade && npm run theme && npm run katex-bundle && npm run abridge-demo && npm run abridge-stork && npm run abridge-tinysearch"
},
"dependencies": {
"uglify-js": "^3.15.4"