File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 18
18
"scripts" : {
19
19
"bump" : " npm version -m \" chore(release): bump to v%s\" " ,
20
20
"fmt" : " npm run prettier" ,
21
- "lint" : " npm run jshint" ,
21
+ "lint" : " npm run jshint && npm run tsc " ,
22
22
"prepublish" : " npx -p jswt@1.x -- reexport" ,
23
23
"test" : " node ./tests/" ,
24
24
"--------------" : " -----------------------------------------------" ,
25
25
"jshint" : " npx -p jshint@2.x -- jshint -c ./.jshintrc ./*.js" ,
26
26
"prettier" : " npx -p prettier@2.x -- prettier -w '**/*.{js,md}'" ,
27
27
"reexport-types" : " npx -p jswt@1.x -- reexport" ,
28
- "tsc" : " npx -p typescript@5.x -- tsc -p ./jsconfig.json"
28
+ "tsc" : " ! npx -p typescript@5.x -- tsc -p ./jsconfig.json | grep ' \\ .js( \\ d \\ +, \\ d \\ +): error' | grep -q -v '^node_modules/' "
29
29
},
30
30
"repository" : {
31
31
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments