Skip to content

Commit

Permalink
chore(package): add ts-compile-check
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed Mar 1, 2019
1 parent a394063 commit c8c2851
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"test": "nyc mocha test --exit --no-timeouts",
"commit": "commit",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"ts-compile-check": "tsc -p tsconfig.json --noEmit"
},
"engines": {
"node": ">=8"
Expand Down Expand Up @@ -100,7 +101,7 @@
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-commit": "npm run ts-compile-check && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
Expand All @@ -110,6 +111,11 @@
"eslint --fix",
"prettier-standard",
"git add"
],
"src/**/*.ts": [
"tslint --project . --fix",
"prettier-standard",
"git add"
]
}
},
Expand Down

0 comments on commit c8c2851

Please sign in to comment.