From dee627818a3cdf6fd4863d9f5f774b99400732bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BE=9B=E5=AE=9DOtto?= Date: Fri, 14 Apr 2023 23:59:31 +0800 Subject: [PATCH] Feature/move dist (#180) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: move dist * docs: 隐藏 handbook --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ec1be950c..2657ba101 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,9 @@ "lint:scss": "stylelint **/*.scss", "lint:types": "tsc --noEmit", "lint": "npm-run-all lint:js lint:scss lint:md lint:types", - "production": "NODE_ENV=production npm run setup && NODE_ENV=production npm run eleventy -- --quiet", + "_production": "NODE_ENV=production npm run setup && NODE_ENV=production npm run eleventy -- --quiet", + "production": "NODE_ENV=production npm run setup && NODE_ENV=production npm run eleventy -- --quiet && npm run move", + "move": "mv dist/js dist/en && mv dist/css dist/en", "snapshots": "percy snapshot ./dist", "rollup:watch": "chokidar \"site/**/*.js\" -c \"npx rollup -c\"", "rollup": "npx rollup -c",