From 931aa1c4cc297431b228e89ba29fd18354531111 Mon Sep 17 00:00:00 2001 From: "Zhuohuan LI (CARPE DIEM)" Date: Sun, 13 Nov 2016 01:42:15 +0000 Subject: [PATCH] rename `npm run build` to `npm run dist` --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a19aa4dd..bf9152e4 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", -- GitLab