-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
111 lines (111 loc) · 2.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "json-routing",
"description": "JSON configurable MVC routing for express 4",
"version": "2.0.10",
"author": "Giorgio Modoni <modogio@gmail.com>",
"homepage": "http://gimox.github.io/json-routing",
"main": "./build/json-route.js",
"repository": {
"type": "git",
"url": "https://github.com/gimox/json-routing"
},
"bugs": {
"url": "https://github.com/gimox/json-routing/issues"
},
"scripts": {
"test": "npm run test:coverage",
"test:mocha": "mocha --compilers $(npm bin)/ts:ts-node/register ./test.ts",
"start": "npm run live",
"build:release": "npm run build && npm run doc",
"live": "nodemon --exec $(npm bin)/ts-node -- ./demo/server.ts",
"build": "rm -rf ./build && npm run lint && $(npm bin)/tsc -p tsconfig.json",
"lint": "tslint --config ./tslint.json ./demo/server.ts",
"doc": "typedoc --out ./doc ./src/json-routing.ts",
"test:coverage": "nyc mocha --compilers ts:ts-node/register ./test.ts",
"test:coverage:check": "nyc check-coverage --lines 75 --functions 75 --branches 75",
"test:coverage:report": "nyc report",
"test:coverage:coveralls": "nyc report --reporter=text-lcov | ./node_modules/coveralls/bin/coveralls.js"
},
"license": "MIT",
"devDependencies": {
"@types/chai": "^3.4.35",
"@types/chai-http": "0.0.30",
"@types/cors": "^2.8.1",
"@types/mocha": "^2.2.40",
"chai": "^3.5.0",
"chai-http": "^3.0.0",
"coveralls": "^2.13.0",
"mocha": "^3.2.0",
"nodemon": "^1.11.0",
"nyc": "^10.2.0",
"pre-push": "^0.1.1",
"ts-node": "^3.0.2",
"tslint": "^4.5.1",
"typedoc": "^0.5.5",
"typescript": "^2.2.2"
},
"engines": {
"node": ">=6.9.1"
},
"dependencies": {
"@types/body-parser": "^1.16.3",
"@types/express": "^4.0.35",
"@types/express-jwt": "0.0.35",
"@types/node": "^7.0.0",
"body-parser": "^1.17.2",
"cli-table": "^0.3.1",
"express": "^4.15.2",
"express-jwt": "^5.3.0",
"express-validator": "^3.2.0"
},
"keywords": [
"routes",
"route",
"cors",
"json-route",
"json",
"route-config",
"express",
"route-config"
],
"nyc": {
"lines": 70,
"statements": 70,
"functions": 60,
"branches": 60,
"extension": [
".ts",
".tsx"
],
"exclude": [
"**/*.d.ts",
"demo",
"test.ts"
],
"require": [
"ts-node/register"
],
"check-coverage": true,
"watermarks": {
"lines": [
80,
95
],
"functions": [
80,
95
],
"branches": [
80,
95
],
"statements": [
80,
95
]
}
},
"pre-push": [
"test"
]
}