-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
157 lines (157 loc) · 4.1 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "arrest",
"version": "0.0.0-development",
"description": "OpenAPI v3 compliant REST framework for Node.js, with support for MongoDB and JSON-Schema",
"type": "module",
"exports": {
".": "./dist/index.js",
"./dist/*.js": "./dist/*.js",
"./dist/mongo/*.js": "./dist/mongo/*.js",
"./dist/mongo/operation/*.js": "./dist/mongo/operation/*.js"
},
"types": "./dist/index.d.ts",
"directories": {
"test": "test"
},
"files": [
"dist/**/*.js",
"dist/**/*.ts",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"build:all": "npm i && npm run build && npm i --package-lock",
"build:tests": "tsc -p test",
"clean": "rimraf dist coverage .nyc_output test-results && find ./test/ts -type f -name '*.js' -delete && rimraf test/tsconfig.tsbuildinfo",
"clean:all": "npm run clean && rimraf node_modules",
"cover": "c8 --reporter=lcov --reporter=text npm t",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"check-coverage": "c8 check-coverage",
"watch:test": "npm t -- -w",
"test": "npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js",
"test:debug": "find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js",
"test:watch": "nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run"
},
"repository": {
"type": "git",
"url": "https://github.com/vivocha/arrest.git"
},
"keywords": [
"node",
"node.js",
"rest",
"mongodb",
"express",
"swagger",
"openapi",
"schema",
"jsonschema",
"json",
"rql",
"oauth2"
],
"author": {
"name": "Federico Pinna",
"email": "[email protected]"
},
"contributors": [
{
"name": "Andrea Lovicu",
"email": "[email protected]"
},
{
"name": "Gianfranco Frau",
"email": "[email protected]"
},
{
"name": "Antonio Pintus",
"email": "[email protected]"
},
{
"name": "William Ghelfi",
"email": "[email protected]",
"url": "https://github.com/trumbitta"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/vivocha/arrest/issues"
},
"homepage": "https://github.com/vivocha/arrest",
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/chai": "^4.3.3",
"@types/chai-as-promised": "^7.1.5",
"@types/chai-spies": "^1.0.3",
"@types/debug": "^4.1.7",
"@types/express": "^4.17.13",
"@types/lodash": "^4.14.185",
"@types/luxon": "^3.0.1",
"@types/mocha": "^9.1.1",
"@types/needle": "^2.5.3",
"@types/node": "^16.11.1",
"@types/semver": "^7.3.12",
"c8": "^7.12.0",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"coveralls": "^3.1.1",
"mocha": "^10.0.0",
"mochawesome": "^7.1.3",
"mongodoki": "^5.0.0",
"pem": "^1.14.6",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.5",
"supertest": "^6.2.4",
"typescript": "~4.7.3"
},
"dependencies": {
"@casl/ability": "^6.1.1",
"@vivocha/scopes": "^1.0.0",
"body-parser": "^1.20.0",
"camelcase": "^7.0.0",
"cookie-parser": "^1.4.6",
"debug": "^4.3.4",
"debuggo": "^1.4.1",
"decamelize": "^6.0.0",
"dot-prop": "^7.2.0",
"eredita": "^1.2.1",
"express": "^4.18.1",
"jsonref": "^8.0.8",
"lodash": "^4.17.21",
"luxon": "^3.0.3",
"mongodb": "^4.9.1",
"needle": "^3.1.0",
"openapi-police": "^4.0.2",
"rql": "^0.3.3",
"semver": "^7.3.7"
},
"engines": {
"node": ">=16.14.0"
},
"c8": {
"lines": 100,
"statements": 100,
"functions": 100,
"branches": 100,
"include": [
"dist/**/*.js",
"src/**/*.ts"
],
"extension": [
".js",
".ts"
],
"exclude": [
"**/test"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
}