Skip to content

Commit 01a8a75

Browse files
committed
added typings script
1 parent 93fccc7 commit 01a8a75

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
"scripts": {
3232
"prepush": "npm test",
3333
"commitmsg": "validate-commit-msg",
34-
"pretest": "eslint \"lib/**/*.js\" \"test/**/*.js\"",
35-
"test": "tap \"test/tap/**/*.js\" --cov",
34+
"pretest": "eslint 'lib/**/*.js' 'test/**/*.js'",
35+
"test": "tap 'test/tap/**/*.js' --100",
36+
"typings": "tsc -p types/tsconfig.json",
3637
"codecov": "tap 'test/tap/**/*.js' --cov --coverage-report=lcov && codecov"
3738
},
3839
"directories": {

types/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"compileOnSave": false,
3+
"compilerOptions": {
4+
"strict": true,
5+
"noUnusedParameters": true,
6+
"noUnusedLocals": false,
7+
"noEmit": true
8+
}
9+
}

0 commit comments

Comments
 (0)