Skip to content

Commit 0f0ed0a

Browse files
authored
fix: add type checking
1 parent 576df2f commit 0f0ed0a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
"description": "Adds some more features to the FIRE userscript",
55
"scripts": {
66
"esbuild": "node build.js",
7-
"build": "npm run lint && npm run esbuild",
7+
"build": "npm run lint && npm run typecheck && npm run esbuild",
88
"lint": "eslint src",
99
"lintTst": "eslint test --fix",
10-
"test": "TS_NODE_PROJECT='./test/tsconfig.json' mocha test/**/*.spec.ts*"
10+
"test": "TS_NODE_PROJECT='./test/tsconfig.json' mocha test/**/*.spec.ts*",
11+
"typecheck": "tsc --noEmit --project tsconfig.json"
1112
},
1213
"repository": {
1314
"type": "git",

0 commit comments

Comments
 (0)