We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c01dbf6 commit b3e5f34Copy full SHA for b3e5f34
package.json
@@ -21,7 +21,9 @@
21
},
22
"homepage": "https://github.com/simonplend/express-json-validator-middleware#readme",
23
"scripts": {
24
- "test": "tap",
+ "test": "npm run test:unit && npm run test:types",
25
+ "test:unit": "tap",
26
+ "test:types": "tsc --noEmit --strict src/index.d.ts",
27
"lint": "eslint \"src/*.js\" --fix",
28
"prepush": "npm run lint && npm run test",
29
"prepublish": "npm run lint && npm run test"
@@ -37,7 +39,8 @@
37
39
"mocha": "^7.1.1",
38
40
"prettier": "^1.19.1",
41
"simple-get": "^4.0.0",
- "tap": "^15.1.5"
42
+ "tap": "^15.1.5",
43
+ "typescript": "^4.6.4"
44
45
"dependencies": {
46
"@types/express": "^4.17.3",
0 commit comments