-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
98 lines (98 loc) · 4.24 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
97
98
{
"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",
"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",
"test": "export NODE_ENV=development&& ./node_modules/.bin/mocha -r ts-node/register tests/**/*.ts --timeout 10000 --recursive --check-leaks --exit",
"ts_test": "export NODE_ENV=development && env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' ./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",
"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/generative-ai": "^0.21.0",
"@grpc/grpc-js": "^1.12.2",
"@grpc/proto-loader": "^0.7.13",
"ansi-regex": "^6.1.0",
"async": "^3.2.6",
"compression": "^1.7.4",
"config": "^3.3.12",
"cors": "^2.8.5",
"debug": "~4.3.7",
"ejs": "~3.1.10",
"elastic-apm-node": "^4.8.0",
"email-validator": "^2.0.4",
"express": "^4.21.1",
"express-winston": "^4.2.0",
"form-data": "^4.0.1",
"http-errors": "~2.0.0",
"morgan": "^1.10.0",
"morgan-json": "^1.1.0",
"multer": "^1.4.5-lts.1",
"pg": "^8.13.0",
"spdy": "^4.0.2",
"winston": "^3.15.0",
"winston-daily-rotate-file": "^5.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "^7.25.8",
"@babel/plugin-syntax-import-assertions": "^7.25.7",
"@tsconfig/node22": "^22.0.0",
"@types/async": "latest",
"@types/chai-as-promised": "^8.0.1",
"@types/jest": "^29.5.13",
"@types/mocha": "^10.0.9",
"@types/morgan": "latest",
"@types/morgan-json": "latest",
"@types/multer": "^1.4.12",
"@types/shelljs": "latest",
"@types/sinon": "latest",
"@types/superagent": "^8.1.9",
"chai": "^5.1.1",
"chai-as-promised": "^8.0.0",
"chai-http": "^5.1.1",
"concurrently": "^9.0.1",
"eslint": "^9.12.0",
"fs-extra": "^11.2.0",
"mocha": "^10.7.3",
"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.7",
"npm-run-all": "^4.1.5",
"nx": "^20.0.1",
"nyc": "^17.1.0",
"rimraf": "^6.0.1",
"shelljs": "^0.8.5",
"sonarqube-scanner": "^4.2.5",
"ts-node": "^10.9.2",
"tslib": "^2.8.0",
"typescript": "^5.6.3"
},
"workspaces": [
"src/webapi.core",
"src/infrastructure",
"src/webapi"
]
}