-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
136 lines (136 loc) · 3.99 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "json-api",
"version": "3.0.0-rc.6.0.1",
"description": "A library for constructing JSON-API compliant responses",
"homepage": "https://github.com/ethanresnick/json-api",
"repository": {
"type": "git",
"url": "git://github.com/ethanresnick/json-api.git"
},
"author": {
"name": "Ethan Resnick",
"email": "[email protected]"
},
"license": "LGPL-3.0",
"main": "build/src/index.js",
"typings": "build/src/index.d.ts",
"nyc": {
"extension": [
".ts"
],
"exclude": [
"typings",
"node_modules",
"test",
"templates",
"build",
"lib/index.d.ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"json",
"html"
],
"sourceMap": true,
"instrument": true
},
"dependencies": {
"@json-api/querystring": "^1.0.0",
"@types/debug": "0.0.29",
"@types/depd": "^1.1.32",
"@types/express": "^4.16.0",
"@types/lodash": "^4.14.109",
"@types/node": "^8.10.19",
"@types/pluralize": "0.0.27",
"@types/pug": "^2.0.4",
"@types/qs": "^6.5.1",
"@types/ramda": "^0.25.32",
"@types/url-template": "^2.0.28",
"content-type": "^1.0.4",
"dasherize": "2.0.x",
"debug": "^3.1.0",
"depd": "^1.1.2",
"flat": "^1.2.1",
"immutable": "^3.8.2",
"lodash": "^4.17.17",
"negotiator": "github:ethanresnick/negotiator#full-parse-access",
"pluralize": "0.0.11",
"pug": "^2.0.3",
"qs": "^6.5.2",
"ramda": "^0.25.0",
"raw-body": "^2.3.3",
"supports-color": "^4.5.0",
"url-template": "^2.0.4",
"vary": "^1.1.2"
},
"devDependencies": {
"@ethanresnick/tslint-config": "^5.9.1",
"@types/chai-subset": "^1.3.1",
"@types/mocha": "^2.2.48",
"@types/mongodb": "^2.2.20",
"@types/mongoose": "^4.7.36",
"@types/mongoose-geojson-schema": "^2.1.1",
"@types/sinon": "^4.3.3",
"@types/superagent": "^3.8.0",
"body-parser": "^1.18.3",
"chai": "^4.1.2",
"chai-subset": "^1.6.0",
"cpr": "^2.2.0",
"express": "^4.16.3",
"istanbul": "^0.4.5",
"mocha": "^2.5.3",
"mongoose": "^4.13.14",
"mongoose-geojson-schema": "^2.1.2",
"node-mongoose-fixtures": "^0.2.4",
"nyc": "^11.9.0",
"rimraf": "^2.6.2",
"sinon": "^4.5.0",
"source-map-support": "^0.5.6",
"superagent": "^5.1.0",
"testdouble": "^3.8.1",
"ts-node": "^3.3.0",
"tslint": "^5.9.1",
"typescript": "^2.8.4"
},
"peerDependencies": {
"mongoose": "^4.7.0",
"express": "^4.0.0"
},
"scripts": {
"clean": "rimraf build",
"lint": "npm run lint:src & npm run lint:test",
"lint:src": "tslint --project tsconfig.json --format verbose --exclude 'test/**/*' --config ./src/tslint.json",
"lint:test": "tslint --project tsconfig.json --format verbose --exclude 'src/**/*' --config ./test/tslint.json",
"test": "npm run test:install-fixtures && npm run test:fixtures-installed",
"test:install-fixtures": "NODE_ENV=testing ts-node test/app/database/install-fixtures.ts",
"test:fixtures-installed": "NODE_ENV=testing mocha --compilers ts:ts-node/register --recursive test/unit/ test/integration/ --full-trace --check-leaks",
"test:debug": "npm run test -- --inspect-brk",
"build:lintfree": "npm run clean && cpr templates build/templates && echo Using TypeScript && tsc --version && tsc --pretty",
"build": "npm run lint && npm run build:lintfree",
"prepare": "npm run build",
"prepublishOnly": "npm run test",
"cover": "NODE_ENV=test npm run test:install-fixtures && nyc npm run test:fixtures-installed",
"cover:view": "npm run cover && open coverage/index.html",
"watch": "npm run build -- --watch",
"watch:lintfree": "npm run build:lintfree -- --watch",
"watch:test": "npm run test -- --watch"
},
"bugs": {
"url": "https://github.com/ethanresnick/json-api/issues"
},
"keywords": [
"express",
"mongoose",
"json-api",
"jsonapi",
"api",
"hypermedia",
"rest",
"restful"
],
"engines": {
"node": ">=6.x.x"
}
}