File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ../tsconfig.json" ,
3
- "compilerOptions" : {},
3
+ "compilerOptions" : {
4
+ "noUnusedLocals" : false
5
+ },
4
6
"include" : [
5
7
" *.ts"
6
8
]
Original file line number Diff line number Diff line change 33
33
],
34
34
"scripts" : {
35
35
"build-changes" : " echo 'Source will rebuild on changes' && nodemon --config nodemon.build.json" ,
36
- "build" : " rimraf dist && node-gyp rebuild && tsc -p src" ,
36
+ "build" : " npm run clean && node-gyp rebuild && tsc -p src" ,
37
+ "check" : " npx tsc --noEmit && npx tsc --noEmit -p examples" ,
38
+ "clean" : " rm -rf dist" ,
37
39
"example" : " ts-node -P examples/tsconfig.json" ,
38
40
"format" : " prettier --write src/ examples/" ,
39
41
"lint" : " eslint src/ examples/" ,
40
42
"merge-submodule-upstream" : " (cd vendor && git fetch && git merge origin/master)" ,
41
43
"prepublishOnly" : " npm run lint && npm run build" ,
42
44
"preversion" : " npm run lint && npm run build" ,
43
- "quick-build" : " rimraf dist && node-gyp build && tsc -p src" ,
45
+ "quick-build" : " npm run clean && node-gyp build && tsc -p src" ,
44
46
"sync-changes" : " echo 'Changes will be pushed to Raspberry Pi' && nodemon --config nodemon.sync.json"
45
47
},
46
48
"dependencies" : {
Original file line number Diff line number Diff line change 16
16
"noImplicitReturns" : true ,
17
17
"noImplicitThis" : true ,
18
18
"noUnusedLocals" : true ,
19
- "skipLibCheck" : true ,
19
+ "skipLibCheck" : false ,
20
20
"sourceMap" : false ,
21
21
"strictNullChecks" : true ,
22
22
"strict" : true ,
You can’t perform that action at this time.
0 commit comments