rename `npm run build` to `npm run dist`
Showing
... | ... | @@ -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", | ||
... | ... |
想要评论请 注册 或 登录