-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 3.55 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) · 3.55 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
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
{
"name": "attack-workbench-rest-api",
"version": "0.0.0-semantically-released",
"attackSpecVersion": "3.3.0",
"description": "An application allowing users to explore, create, annotate, and share extensions of the MITRE ATT&CK® knowledge base. This repository contains the REST API service for storing, querying, and editing ATT&CK objects.",
"keywords": [
"cti",
"cyber-threat-intelligence",
"attack",
"mitre-attack",
"mitre-corporation",
"ctid",
"mitre-attack",
"cybersecurity",
"stix"
],
"license": "Apache-2.0",
"main": "index.js",
"scripts": {
"coverage:cobertura": "c8 --reporter=cobertura npm test",
"coverage:text": "c8 npm test",
"prepare": "husky || true",
"lint": "npx eslint app",
"lint:fix": "npm run lint -- --fix",
"prettier": "npx prettier app --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"start": "node ./bin/www",
"test": "npm run test:openapi && npm run test:config && npm run test:api && npm run test:middleware",
"test:api": "mocha --timeout 20000 --recursive ./app/tests/api",
"test:config": "mocha --timeout 20000 --recursive ./app/tests/config",
"test:import": "mocha --timeout 20000 --recursive ./app/tests/import",
"test:openapi": "mocha --timeout 20000 ./app/tests/openapi",
"test:middleware": "mocha --timeout 20000 ./app/tests/middleware --exit",
"test:authn": "./app/tests/run-mocha-separate-jobs.sh ./app/tests/authn",
"test:fuzz": "mocha --timeout 10000 --recursive ./app/tests/fuzz",
"test:scheduler": "mocha --timeout 60000 --recursive ./app/tests/scheduler",
"test:file": "mocha --timeout 10000",
"check:lockfile": "bash scripts/check-package-lock.sh"
},
"dependencies": {
"@apidevtools/json-schema-ref-parser": "^13.0.1",
"@mitre-attack/attack-data-model": "^4.11.7",
"async": "^3.2.6",
"async-await-retry": "^2.1.0",
"body-parser": "^2.2.1",
"compression": "^1.8.1",
"connect-mongo": "^6.0.0",
"convict": "^6.2.4",
"cors": "^2.8.5",
"express": "^4.21.2",
"express-openapi-validator": "^5.5.4",
"express-session": "^1.18.2",
"helmet": "^8.1.0",
"http-status-codes": "^2.3.0",
"jsonwebtoken": "^9.0.2",
"jwks-rsa": "^3.2.0",
"jwt-decode": "^4.0.0",
"lodash": "^4.17.21",
"migrate-mongo": "^14.0.7",
"mongoose": "^8.15.1",
"morgan": "^1.10.1",
"nanoid": "^5.1.5",
"node-cache": "^5.1.2",
"node-schedule": "^2.1.1",
"openid-client": "^5.7.1",
"passport": "^0.7.0",
"passport-anonym-uuid": "^1.0.3",
"passport-http": "^0.3.0",
"passport-http-bearer": "^1.0.1",
"semver": "^7.7.2",
"superagent": "^10.2.2",
"swagger-ui-express": "^5.0.1",
"uuid": "^11.1.0",
"winston": "^3.17.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@codedependant/semantic-release-docker": "^5.1.1",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"c8": "^10.1.3",
"cookie": "^1.0.2",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-prettier": "^5.4.1",
"expect": "^29.7.0",
"husky": "^9.1.7",
"json-diff": "^1.0.6",
"mocha": "^11.5.0",
"mongodb-memory-server": "^10.1.4",
"openapi-schema-validator": "^12.1.3",
"parse5": "^7.3.0",
"parse5-query-domtree": "^1.0.2",
"prettier": "^3.5.3",
"read-json-lines-sync": "^2.2.5",
"semantic-release": "^24.2.5",
"set-cookie-parser": "^2.7.1",
"sinon": "^20.0.0",
"supertest": "^7.1.1"
}
}