添加构建发布命令

更新说明文档
This commit is contained in:
2020-05-24 19:31:01 +08:00
parent 81dea02744
commit 4d62220db9
6 changed files with 20 additions and 9 deletions

View File

@@ -2,13 +2,15 @@
"name": "tiny-nodejs-starter-kit",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"license": "BSD",
"scripts": {
"dev": "node_modules/.bin/webpack --config webpack.config.js --watch",
"compile": "node_modules/.bin/webpack --config webpack.config.js --env.production"
"compile": "node_modules/.bin/webpack --config webpack.config.js --env.production",
"build": "node ./tools/build.js"
},
"devDependencies": {
"@types/node": "^14.0.1",
"shelljs": "^0.8.4",
"ts-loader": "^7.0.4",
"tsconfig-paths-webpack-plugin": "^3.2.0",
"typescript": "^3.9.2",