提交 6c1ca297 编写于 作者: P Peter Pan

build: stop using script mode

上级 a20b79e9
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
}, },
"scripts": { "scripts": {
"dev": "cross-env NODE_ENV=development nodemon --watch index.ts --watch webpack.config.js --exec \"ts-node index.ts\"", "dev": "cross-env NODE_ENV=development nodemon --watch index.ts --watch webpack.config.js --exec \"ts-node index.ts\"",
"build": "cross-env API_URL=/api ts-node --script-mode build.ts", "build": "cross-env API_URL=/api ts-node build.ts",
"start": "pm2-runtime ecosystem.config.js", "start": "pm2-runtime ecosystem.config.js",
"test": "echo \"Error: no test specified\" && exit 0" "test": "echo \"Error: no test specified\" && exit 0"
}, },
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
"dist" "dist"
], ],
"scripts": { "scripts": {
"build": "cross-env ts-node --script-mode build.ts", "build": "cross-env ts-node build.ts",
"test": "echo \"Error: no test specified\" && exit 0" "test": "echo \"Error: no test specified\" && exit 0"
}, },
"devDependencies": { "devDependencies": {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册