summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 18:51:24 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-04 18:51:24 +0200
commitd93a75b615b36fdf2275f10cf85b7812a06ec048 (patch)
tree0f0f36a362887fd71e012a475c1ebc9f4c3fcbe6 /package.json
parentf1cb48a7e000be9332d22aa5f0f40bb36015839c (diff)
downloadgohugo-theme-ed-d93a75b615b36fdf2275f10cf85b7812a06ec048.tar.gz
WIP: Implementing search
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index e874f11..1a8e24c 100644
--- a/package.json
+++ b/package.json
@@ -30,10 +30,11 @@
"lint": "npm run lint:js && npm run lint:editorconfig",
"lint:editorconfig": "editorconfig-checker",
"lint:js": "eslint static/js/*.js assets/js/*.js",
- "vendor:js": "ncp node_modules/jquery/dist/jquery.min.js assets/js/vendor/jquery.min.js"
+ "vendor:js": "ncp node_modules/jquery/dist/jquery.min.js assets/js/vendor/jquery.min.js; ncp node_modules/lunr/lunr.min.js assets/js/vendor/lunr.min.js"
},
"dependencies": {
- "jquery": "^3.6.0"
+ "jquery": "^3.6.0",
+ "lunr": "^2.3.9"
},
"devDependencies": {
"editorconfig-checker": "^4.0.2",