mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 23:38:56 +00:00
🔧 Chore: adjust npm script
This commit is contained in:
+4
-4
@@ -22,10 +22,10 @@
|
||||
"babel": "npx babel src/js/theme.js --out-file assets/js/theme.min.js --source-maps --no-comments && npx babel src/js/service-worker.js --out-file static/service-worker.min.js --source-maps --no-comments",
|
||||
"build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. --gc",
|
||||
"build-lunr-segmentit": "browserify src/lib/lunr.segmentit.js -o assets/lib/lunr/lunr.segmentit.js -t babelify --presets @babel/preset-env --presets minify",
|
||||
"server": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
||||
"server:production": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
||||
"start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender",
|
||||
"start:production": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender -e production",
|
||||
"server": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender --navigateToChanged",
|
||||
"server:production": "hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender --navigateToChanged -e production",
|
||||
"start": "npm run babel && npm run server",
|
||||
"start:production": "npm run babel && npm run server:production",
|
||||
"algolia": "atomic-algolia"
|
||||
},
|
||||
"resolutions": {
|
||||
|
||||
Reference in New Issue
Block a user