diff --git a/package.json b/package.json index a19aa4dde9d3e18de9d517f7ed7d1f2e1264d240..bf9152e47dcdf1861b45f284a34b176ae64fceb4 100644 --- a/package.json +++ b/package.json @@ -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",