Skip to content

Commit

Permalink
chore(package.json): update build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kwonoj committed Jan 4, 2017
1 parent 8b834c4 commit 7dba54a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,13 @@
},
"scripts": {
"precommit": "lint-staged",
"prepush": "npm run build",
"test": "jest",
"test:watch": "jest --watch",
"lint": "tslint \"source/**/*.ts\"",
"lint:fix": "tslint \"source/**/*.ts\" --fix",
"prepublish": "in-publish && npm run build || not-in-publish",
"build": "tsc",
"build": "shx rm -rf ./distribution && tsc && madge ./distribution --circular",
"build:watch": "tsc -w",
"link": "npm run build ; chmod +x distribution/commands/danger.js ; npm link"
},
Expand Down Expand Up @@ -80,6 +81,8 @@
"in-publish": "^2.0.0",
"jest": "^18.0.0",
"lint-staged": "^3.2.5",
"madge": "^1.4.4",
"shx": "^0.2.1",
"ts-jest": "^18.0.1",
"ts-node": "^2.0.0",
"tslint": "^4.2.0",
Expand Down

0 comments on commit 7dba54a

Please sign in to comment.