-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.81 KB
/
Copy pathpackage.json
File metadata and controls
127 lines (127 loc) · 3.81 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
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
{
"name": "attack-workbench-taxii-server",
"version": "0.0.0-semantically-released",
"description": "A Node.js application that serves a TAXII 2.1 compliant REST API",
"author": "The MITRE Corporation",
"private": true,
"license": "Apache-2.0",
"keywords": [
"cti",
"cyber-threat-intelligence",
"attack",
"mitre-attack",
"mitre-corporation",
"ctid",
"center-for-threat-informed-defense",
"cybersecurity",
"stix",
"taxii"
],
"scripts": {
"prepare": "husky || true",
"prebuild": "rimraf dist",
"build": "nest build",
"start": "nest start",
"hydrate": "node dist/hydrate",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "pm2 start ecosystem.config.js",
"reload:prod": "pm2 reload ecosystem.config.js",
"stop:prod": "pm2 stop ecosystem.config.js",
"clean:prod": "pm2 delete ecosystem.config.js",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config jest-e2e.json",
"lint": "npx eslint src",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier src --check",
"prettier:fix": "prettier src --write",
"format": "npm run prettier:fix && npm run lint:fix",
"check:lockfile": "bash scripts/check-package-lock.sh"
},
"dependencies": {
"@hapi/joi": "^17.1.1",
"@nestjs/axios": "^4.0.1",
"@nestjs/common": "^11.1.9",
"@nestjs/config": "^4.0.2",
"@nestjs/core": "^11.1.9",
"@nestjs/mongoose": "^11.0.4",
"@nestjs/platform-express": "^11.1.9",
"@nestjs/schedule": "^6.1.0",
"@nestjs/swagger": "^11.2.3",
"@types/object-hash": "^3.0.6",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.3",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.21",
"mongoose": "^9.0.1",
"nest-winston": "^1.10.2",
"object-hash": "^3.0.0",
"reflect-metadata": "^0.2.2",
"rimraf": "^6.1.2",
"rxjs": "^7.8.2",
"swagger-ui-express": "^5.0.1",
"webpack": "^5.103.0",
"winston": "^3.19.0",
"winston-slack-webhook-transport": "^2.3.6",
"winston-transport-sentry-node": "^3.0.0"
},
"devDependencies": {
"@codedependant/semantic-release-docker": "^5.1.1",
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@nestjs/cache-manager": "^3.0.1",
"@nestjs/cli": "^11.0.14",
"@nestjs/schematics": "^11.0.9",
"@nestjs/testing": "^11.1.9",
"@types/cron": "^2.4.3",
"@types/express": "^5.0.6",
"@types/hapi__joi": "^17.1.15",
"@types/jest": "30.0.0",
"@types/lodash": "^4.17.21",
"@types/node": "^25.0.0",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "^8.49.0",
"@typescript-eslint/parser": "^8.49.0",
"cache-manager": "^7.2.7",
"commitlint": "^20.2.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"husky": "^9.1.7",
"jest": "^30.2.0",
"mongodb-memory-server": "^10.4.1",
"prettier": "^3.7.4",
"semantic-release": "^25.0.2",
"source-map-support": "^0.5.21",
"supertest": "^7.1.4",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.49.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"moduleNameMapper": {
"^src/(.*)$": "<rootDir>/$1"
}
}
}