From f62ccbf6b5b8fee8f6eed402a9e68bcfd88e3542 Mon Sep 17 00:00:00 2001 From: Dillon Date: Thu, 30 Apr 2020 01:54:12 +0800 Subject: [PATCH] chore: update scripts --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a9f9b71a..b16c40c5 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,9 @@ "scripts": { "preinstall": "npx npm-force-resolutions", "babel": "npx babel src/js --out-file assets/js/theme.min.js --source-maps", - "build": "npm run babel && hugo -v --source=exampleSite --themesDir ../.. -D --gc", + "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", - "start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. --disableFastRender", + "start": "npm run babel && hugo server --source=exampleSite --themesDir ../.. -D --disableFastRender", "check": "htmlproofer exampleSite/public --check-html --allow-hash-href --empty-alt-ignore --disable-external", "copy": "rm -rf resources && cp -rf exampleSite/resources resources" },