提交 931aa1c4 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

rename `npm run build` to `npm run dist`

上级 b2c0bb93
......@@ -16,8 +16,8 @@
},
"scripts": {
"ts-node": "ts-node",
"build": "tsc && shx cp package.json dist/ && shx cp src/puppet-web/*.js dist/src/puppet-web/",
"rebuild": "npm run clean && npm run build",
"dist": "tsc && shx cp package.json dist/ && shx cp src/puppet-web/*.js dist/src/puppet-web/",
"redist": "npm run clean && npm run dist",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"doctor": "ts-node bin/doctor",
"clean": "shx rm -fr dist/*",
......@@ -25,7 +25,7 @@
"eslint": "eslint \"{bin,example,src,test}/**/*.js\" --ignore-pattern=\"test/fixture/**\"",
"tslint": "tslint \"{bin,example,src,test}/**/*.ts\" --exclude=\"test/fixture/**\" && tsc --noEmit",
"shlint": "bash -n bin/*.sh",
"pretest": "npm run clean && npm run lint && npm run build",
"pretest": "npm run clean && npm run lint && npm run dist",
"sloc": "sloc bin example src test index.ts --details --format cli-table --keys total,source,comment && sloc bin example src test index.ts",
"test": "npm run test:chrome",
"posttest": "npm run clean && npm run sloc",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册