From 606c50685b48b7d1a0fee6298529fc706553af6c Mon Sep 17 00:00:00 2001 From: Baiang <973366510@qq.com> Date: Thu, 26 Jul 2018 14:41:37 +0800 Subject: [PATCH] update --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 646421c..54bc121 100644 --- a/package.json +++ b/package.json @@ -6,8 +6,8 @@ "scripts": { "dev": "rimraf \"config/.conf.json\" && rimraf \"src/next.config.js\" && cpx \"server/helpers/.conf.json\" \"config/\" && nodemon server/index.ts", "dev:eslint": "cross-env ANALYZE=ESLINT next src", - "build": "cpx \"config/next.config.js\" \"src/\" -C && delay 1 && npm run next:build && rimraf \"src/next.config.js\"", - "next:build": "next build src && tsc --project tsconfig.server.json", + "build": "cpx \"config/next.config.js\" \"src/\" -C && delay 1 && npm run build:src && rimraf \"src/next.config.js\"", + "build:src": "next build src && tsc --project tsconfig.server.json", "start": "cross-env NODE_ENV=production node build/production-server/server/index.js", "next:start":"cpx \"config/next.config.js\" \"src/\" -C && delay 0.5 && cross-env NODE_ENV=production next start src", "analyze:bundles": "cross-env ANALYZE=BUNDLES next build src",