-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.87 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.87 KB
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
{
"name": "validator-api",
"version": "1.0.0-alpha-0",
"main": "server/server.js",
"engines": {
"node": ">=4"
},
"scripts": {
"lint": "eslint .",
"start": "node .",
"test": "NODE_ENV=test mocha && NODE_ENV=test API_TYPE=public mocha --file ./test/test.js",
"dev": "NODE_ENV=local nodemon server/server.js",
"dev-pub": "NODE_ENV=local API_TYPE=public nodemon server/server.js",
"openapi-spec": "NODE_ENV=test lb export-api-def -o docs/postman/openapi-spec-private.yaml && NODE_ENV=test API_TYPE=public lb export-api-def -o docs/postman/openapi-spec.yaml"
},
"dependencies": {
"axios": "^0.19.2",
"compression": "^1.7.3",
"cors": "^2.8.5",
"debug": "^4.1.1",
"helmet": "^3.15.1",
"lodash": "^4.17.14",
"loopback": "^3.25.0",
"loopback-boot": "^2.27.1",
"loopback-component-explorer": "^6.3.1",
"loopback-component-ping": "^2.0.2",
"loopback-component-storage": "^3.5.0",
"loopback-component-visualizer": "^1.2.1",
"loopback-connector-mongodb": "^3.9.2",
"md5": "^2.2.1",
"node-schedule": "^1.3.2",
"serve-favicon": "^2.5.0",
"strong-error-handler": "^2.3.2",
"uuidv4": "^6.0.7"
},
"devDependencies": {
"chai": "^4.2.0",
"chai-http": "^4.2.1",
"eslint": "^6.8.0",
"eslint-config-loopback": "^13.1.0",
"husky": "^4.2.3",
"lint-staged": "^10.1.2",
"mocha": "^6.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/data4development/dataworkbench-api.git"
},
"license": "AGPL-3.0-or-later",
"description": "IATI data validation service. [General technical documentation is available here.](https://data4development.github.io/dataworkbench-api/)",
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"*.js": [
"./node_modules/.bin/eslint ."
]
}
}