summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-05 01:39:56 +0200
committerGitHub <noreply@github.com>2022-07-05 01:39:56 +0200
commit03a5d662e498ac295e6aab2c0322d624f76ffa2e (patch)
tree5f92cccab02c899071424bc02b7dde08f75cf602 /package.json
parentf1cb48a7e000be9332d22aa5f0f40bb36015839c (diff)
parent143f31a09673045925622d062c993315c62cff41 (diff)
downloadgohugo-theme-ed-03a5d662e498ac295e6aab2c0322d624f76ffa2e.tar.gz
Merge pull request #6 from sergeyklay/feature/search
Implementing search
Diffstat (limited to 'package.json')
-rw-r--r--package.json17
1 files changed, 7 insertions, 10 deletions
diff --git a/package.json b/package.json
index e874f11..56e8b2e 100644
--- a/package.json
+++ b/package.json
@@ -21,20 +21,17 @@
"main": "index.js",
"scripts": {
"clean": "rimraf public",
- "build": "hugo --source=exampleSite --gc --verbose --destination ../public",
- "build:prod": "hugo --source=exampleSite --destination ../public",
- "build:split1": "hugo --source=exampleSite --enableGitInfo --destination ../public",
- "build:preview": "HUGO_PREVIEW=true hugo --source=exampleSite --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL --destination ../public",
- "build:branch": "hugo --source=exampleSite --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL --destination ../public",
+ "build": "npm install && hugo --source=exampleSite --gc --verbose --destination ../public",
+ "build:prod": "npm install && hugo --source=exampleSite --destination ../public",
+ "build:split1": "npm install && hugo --source=exampleSite --enableGitInfo --destination ../public",
+ "build:preview": "npm install && HUGO_PREVIEW=true hugo --source=exampleSite --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL --destination ../public",
+ "build:branch": "npm install && hugo --source=exampleSite --buildDrafts --buildFuture --baseURL $DEPLOY_PRIME_URL --destination ../public",
"server": "HUGO_PREVIEW=true HUGO_ENV=development hugo server --verbose --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender",
"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"
- },
- "dependencies": {
- "jquery": "^3.6.0"
+ "lint:js": "eslint static/js/*.js assets/js/*.js"
},
+ "dependencies": {},
"devDependencies": {
"editorconfig-checker": "^4.0.2",
"eslint": "^8.19.0",