mirror of
https://github.com/daief/gm-response-proxy.git
synced 2025-11-30 00:12:47 +08:00
chore: refine scripts
This commit is contained in:
@@ -13,8 +13,9 @@
|
|||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch": "cross-env NODE_ENV=development TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --config ./config/index.ts -w",
|
"runpack": "cross-env TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --config ./config/index.ts --progress",
|
||||||
"build": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.webpack.json\" webpack --config ./config/index.ts"
|
"watch": "cross-env NODE_ENV=development yarn runpack --watch",
|
||||||
|
"build": "cross-env NODE_ENV=production yarn runpack"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^14.14.10",
|
"@types/node": "^14.14.10",
|
||||||
|
|||||||
@@ -18,7 +18,8 @@
|
|||||||
"rootDir": ".",
|
"rootDir": ".",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
"skipLibCheck": true
|
"skipLibCheck": true,
|
||||||
|
"downlevelIteration": true
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", "dist"],
|
"exclude": ["node_modules", "dist"],
|
||||||
"compileOnSave": false
|
"compileOnSave": false
|
||||||
|
|||||||
Reference in New Issue
Block a user