-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 4.42 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 4.42 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
{
"name": "node.jsrestapi",
"version": "2.0.0",
"private": true,
"exports": "./src/webapi/server.ts",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/khteh/Node.JSRestAPI.git"
},
"scripts": {
"graph": "nx graph",
"circular": "madge . -c",
"typeorm": "typeorm-ts-node-esm",
"run_migration": "npx typeorm-ts-node-esm migration:run",
"clean": "tsc --build --clean && rimraf build src/webapi.core/build src/infrastructure/build src/webapi/build src/webapi.core/.rollup.cache src/infrastructure/.rollup.cache src/webapi/.rollup.cache",
"copy-assets": "npx tsx tools/copyAssets.ts",
"build": "npx tsc",
"build_core": "npm run build --workspace=webapi.core",
"build_infra": "npm run build --workspace=infrastructure",
"build_webapi": "npm run build --workspace=webapi",
"build_all": "npm-run-all clean build_core build_infra build_webapi build copy-assets",
"proto": "npm run proto --workspace=webapi",
"lint": "eslint --ext .js --ignore-path .gitignore ./",
"dev": "export NODE_ENV=development&& concurrently \"npx tsc --watch\" \"nodemon -q build/src/webapi/server.js\"",
"start": "export NODE_ENV=development&& node --env-file-if-exists=.env build/src/webapi/server.js",
"mocha_test": "export NODE_ENV=development&& ./node_modules/.bin/mocha -r ts-node/register tests/**/*.ts --timeout 10000 --recursive --check-leaks --exit",
"test": "export NODE_ENV=test PORT=4433&& vitest run",
"coverage": "export NODE_ENV=test&& vitest run --coverage",
"ts_test": "export NODE_ENV=development && ./node_modules/.bin/nyc --timeout 10000 --recursive --check-leaks --reporter=lcov --reporter=text --reporter=text-summary --reporter=html ./node_modules/.bin/mocha -r ts-node/register tests/**/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=test_reports/mocha/test-results.xml --exit",
"ts_test_error": "export NODE_ENV=development && ./node_modules/.bin/nyc --timeout 10000 --recursive --check-leaks --reporter=lcov --reporter=text --reporter=text-summary --reporter=html ./node_modules/.bin/mocha --loader=ts-node/esm -r ts-node/register tests/**/*.ts --reporter mocha-junit-reporter --reporter-options mochaFile=test_reports/mocha/test-results.xml --exit",
"cover": "./node_modules/.bin/nyc --reporter=lcov --reporter=text --reporter=text-summary --reporter=html npm test",
"sonarqube": "./node_modules/.bin/mocha --reporter mocha-sonarqube-reporter tests --reporter-options output=test_reports/sonarqube/test_results.xml"
},
"dependencies": {
"@google/genai": "^1.39.0",
"@grpc/grpc-js": "^1.14.3",
"@grpc/proto-loader": "^0.8.0",
"ansi-regex": "^6.2.2",
"async": "^3.2.6",
"compression": "^1.8.1",
"config": "^4.2.0",
"cors": "^2.8.6",
"debug": "^4.4.3",
"ejs": "^4.0.1",
"elastic-apm-node": "^4.15.0",
"email-validator": "^2.0.4",
"express": "^5.2.1",
"express-winston": "^4.2.0",
"form-data": "^4.0.5",
"http-errors": "~2.0.1",
"morgan": "^1.10.1",
"morgan-json": "^1.1.0",
"multer": "^2.0.2",
"pg": "^8.18.0",
"spdy": "^4.0.2",
"winston": "^3.19.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.28.6",
"@babel/plugin-syntax-import-assertions": "^7.28.6",
"@tsconfig/node24": "^24.0.4",
"@types/async": "3.2.25",
"@types/chai-as-promised": "^8.0.2",
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.10",
"@types/morgan": "^1.9.10",
"@types/morgan-json": "latest",
"@types/multer": "^2.0.0",
"@types/shelljs": "^0.10.0",
"@types/sinon": "*21.0.0",
"@types/superagent": "^8.1.9",
"@vitest/coverage-v8": "^4.0.18",
"chai": "^6.2.2",
"chai-as-promised": "^8.0.2",
"chai-http": "^5.1.2",
"concurrently": "^9.2.1",
"eslint": "^9.39.2",
"fs-extra": "^11.3.3",
"madge": "^8.0.0",
"mocha": "^11.7.5",
"mocha-junit-reporter": "^2.2.1",
"mocha-sonarqube-reporter": "^1.0.2",
"module-name": "^0.0.1-security",
"moq.ts": "^10.0.8",
"nodemon": "^3.1.11",
"npm-run-all": "^4.1.5",
"nx": "^22.4.4",
"nyc": "^17.1.0",
"rimraf": "^6.1.2",
"shelljs": "^0.10.0",
"sonarqube-scanner": "^4.3.4",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"unplugin-swc": "^1.5.9",
"vitest": "^4.0.18"
},
"workspaces": [
"src/webapi.core",
"src/infrastructure",
"src/webapi"
]
}