|
14 | 14 | }, |
15 | 15 | "scripts": { |
16 | 16 | "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", |
18 | 18 | "start": "npm run live", |
19 | 19 | "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", |
21 | 21 | "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", |
25 | 25 | "test:coverage:check": "nyc check-coverage --lines 75 --functions 75 --branches 75", |
26 | 26 | "test:coverage:report": "nyc report", |
27 | 27 | "test:coverage:coveralls": "nyc report --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js" |
|
51 | 51 | "@types/body-parser": "^1.16.3", |
52 | 52 | "@types/express": "^4.0.35", |
53 | 53 | "@types/express-jwt": "0.0.35", |
54 | | - "@types/express-validator": "^3.0.0", |
55 | 54 | "@types/node": "^7.0.0", |
56 | 55 | "body-parser": "^1.17.2", |
57 | 56 | "cli-table": "^0.3.1", |
|
0 commit comments