Skip to content

Commit

Permalink
chore: update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mgechev committed Apr 20, 2018
1 parent 826a02e commit 04ca59c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
"lint": "tslint -c tslint.json \"src/**/*.ts\" \"test/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"release":
"npm run build && rimraf dist && tsc -p tsconfig-release.json && npm run copy:common && npm run prepare:package && BUILD_TYPE=prod npm run set:vars",
"npm run build && rimraf dist && tsc -p tsconfig-release.json && npm run copy:common && npm run prepare:package",
"build": "rimraf dist && tsc && npm run lint && npm t",
"copy:common": "cp README.md dist/src",
"prepare:package": "cat package.json | ts-node build/package.ts > dist/src/package.json",
"copy:common": "cp README.md dist",
"prepare:package": "cat package.json | ts-node build/package.ts > dist/package.json",
"test": "rimraf dist && tsc && mocha -R nyan dist/test --recursive",
"test:watch":
"rimraf dist && tsc && BUILD_TYPE=dev npm run set:vars && mocha -R nyan dist/test --watch --recursive",
"set:vars": "ts-node build/vars.ts --src ./dist",
"rimraf dist && tsc && BUILD_TYPE=dev && mocha -R nyan dist/test --watch --recursive",
"tscv": "tsc --version",
"tsc": "tsc",
"tsc:watch": "tsc --w"
Expand Down

0 comments on commit 04ca59c

Please sign in to comment.