Skip to content

Commit 423c80d

Browse files
committed
remove deprecated type validation
1 parent ada91ad commit 423c80d

File tree

2 files changed

+30
-49
lines changed

2 files changed

+30
-49
lines changed

package-lock.json

Lines changed: 25 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
},
1515
"scripts": {
1616
"test": "npm run test:coverage",
17-
"test:mocha": "$(npm bin)/mocha --compilers $(npm bin)/ts:ts-node/register ./test.ts",
17+
"test:mocha": "mocha --compilers $(npm bin)/ts:ts-node/register ./test.ts",
1818
"start": "npm run live",
1919
"build:release": "npm run build && npm run doc",
20-
"live": "$(npm bin)/nodemon --exec $(npm bin)/ts-node -- ./demo/server.ts",
20+
"live": "nodemon --exec $(npm bin)/ts-node -- ./demo/server.ts",
2121
"build": "rm -rf ./build && npm run lint && $(npm bin)/tsc -p tsconfig.json",
22-
"lint": "$(npm bin)/tslint --config ./tslint.json ./demo/server.ts",
23-
"doc": "$(npm bin)/typedoc --out ./doc ./src/json-routing.ts",
24-
"test:coverage": "nyc $(npm bin)/mocha --compilers $(npm bin)/ts:ts-node/register ./test.ts",
22+
"lint": "tslint --config ./tslint.json ./demo/server.ts",
23+
"doc": "typedoc --out ./doc ./src/json-routing.ts",
24+
"test:coverage": "nyc mocha --compilers ts:ts-node/register ./test.ts",
2525
"test:coverage:check": "nyc check-coverage --lines 75 --functions 75 --branches 75",
2626
"test:coverage:report": "nyc report",
2727
"test:coverage:coveralls": "nyc report --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js"
@@ -51,7 +51,6 @@
5151
"@types/body-parser": "^1.16.3",
5252
"@types/express": "^4.0.35",
5353
"@types/express-jwt": "0.0.35",
54-
"@types/express-validator": "^3.0.0",
5554
"@types/node": "^7.0.0",
5655
"body-parser": "^1.17.2",
5756
"cli-table": "^0.3.1",

0 commit comments

Comments
 (0)