-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 4.42 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
{
"name": "cve-services",
"author": "Automation Working Group",
"version": "2.1.3",
"license": "(CC0)",
"devDependencies": {
"apidoc": "^0.53.1",
"chai": "^4.2.0",
"chai-arrays": "^2.0.0",
"chai-http": "^4.3.0",
"chai-like": "^1.1.1",
"chai-string": "^1.5.0",
"chai-things": "^0.2.0",
"chai-uuid": "^1.0.6",
"depcheck": "^0.9.2",
"eslint": "^8.20.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"standard": "^16.0.3"
},
"dependencies": {
"ajv": "^8.6.2",
"ajv-formats": "^2.1.1",
"argon2": "^0.27.2",
"config": "^3.3.6",
"cors": "^2.8.5",
"crypto-random-string": "^3.3.1",
"dotenv": "^5.0.1",
"express": "^4.18.2",
"express-jsonschema": "^1.1.6",
"express-rate-limit": "^6.5.2",
"express-validator": "^6.14.2",
"helmet": "^3.21.2",
"html-entities": "^2.3.3",
"jsonschema": "^1.4.0",
"JSONStream": "^1.3.5",
"kleur": "^4.1.4",
"mongoose": "^5.13.15",
"mongoose-aggregate-paginate-v2": "1.0.6",
"morgan": "^1.9.1",
"node-dev": "^7.4.3",
"prompt-sync": "^4.2.0",
"replace-json-property": "^1.8.0",
"replace-in-file": "6.3.5",
"swagger-autogen": "^2.19.0",
"swagger-ui-express": "^4.3.0",
"uuid": "^8.3.2",
"validate-date": "^2.0.0",
"validator": ">=13.7.0",
"winston": "^3.2.1",
"yamljs": "^0.3.0"
},
"apidoc": {
"name": "CVE-Services",
"version": "0.0.0",
"description": "Some Future Description",
"title": "CVE API Services"
},
"nyc": {
"exclude": "test-utils/"
},
"scripts": {
"action:test": "node node_modules/mocha/bin/mocha --recursive --exit",
"action:coverage": "node node_modules/nyc/bin/nyc.js --check-coverage --lines=80 node_modules/mocha/bin/mocha.js --recursive --exit",
"action:lint-src": "node node_modules/eslint/bin/eslint.js src/",
"action:lint-test": "node node_modules/eslint/bin/eslint.js test/",
"action:lint-test-utils": "node node_modules/eslint/bin/eslint.js test-utils/",
"clean": "node node_modules/depcheck/bin/depcheck.js",
"lint:src": "node node_modules/eslint/bin/eslint.js src/ --fix",
"lint:test": "node node_modules/eslint/bin/eslint.js test/ --fix",
"lint:test-utils": "node node_modules/eslint/bin/eslint.js test-utils/ --fix",
"populate:dev": "NODE_ENV=development node-dev src/scripts/populate.js",
"populate:stage": "NODE_ENV=staging node src/scripts/populate.js",
"populate:int": "NODE_ENV=integration node src/scripts/populate.js",
"populate:prd": "NODE_ENV=production node src/scripts/populate.js",
"populate-cve:dev": "NODE_ENV=development node-dev src/scripts/populate-cve.js",
"populate-cve:stage": "NODE_ENV=staging node src/scripts/populate-cve.js",
"populate-cve:int": "NODE_ENV=integration node src/scripts/populate-cve.js",
"populate-cve:prd": "NODE_ENV=production node src/scripts/populate-cve.js",
"start:dev": "node src/swagger.js && TZ=utc NODE_ENV=development node src/scripts/updateOpenapiHost.js && TZ=utc NODE_ENV=development node-dev src/index.js",
"start:stage": "node src/swagger.js && NODE_ENV=staging node src/scripts/updateOpenapiHost.js && NODE_ENV=staging node src/index.js",
"start:int": "node src/swagger.js && NODE_ENV=integration node src/scripts/updateOpenapiHost.js && NODE_ENV=integration node src/index.js",
"start:prdstg": "node src/swagger.js && NODE_ENV=production node src/scripts/updateOpenapiHost.js && NODE_ENV=production node src/index.js",
"start:prd": "node src/swagger.js && NODE_ENV=production node src/scripts/updateOpenapiHost.js && NODE_ENV=production node src/index.js",
"swagger-autogen": "node src/swagger.js",
"test": "NODE_ENV=test mocha --recursive --exit || true",
"test:coverage": "NODE_ENV=test nyc --reporter=text mocha --recursive --exit || true",
"test:scripts": "NODE_ENV=development node-dev src/scripts/templateScript.js"
}
}