Skip to content

Commit

Permalink
build: lint-staged not being triggered on precommit hook (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelss95 authored and mgechev committed Jun 24, 2018
1 parent 4dfa89c commit 52b94f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"release": "npm run build && rimraf dist && tsc -p tsconfig-release.json && npm run copy:common && npm run prepare:package && cross-env BUILD_TYPE=prod npm run set:vars",
"build": "rimraf dist && tsc && npm run format:check && npm run lint && npm t",
"copy:common": "ncp README.md dist/README.md",
"precommit": "lint-staged && npm test",
"prepare:package": "cat package.json | ts-node build/package.ts > dist/package.json",
"test": "rimraf dist && tsc && ncp test/fixtures dist/test/fixtures && mocha dist/test --recursive",
"test:watch": "rimraf dist && tsc && ncp test/fixtures dist/test/fixtures && cross-env BUILD_TYPE=dev npm run set:vars && mocha dist/test --watch --recursive",
Expand Down

0 comments on commit 52b94f7

Please sign in to comment.