forked from hpi-sam/digital-fuesim-manv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
71 lines (71 loc) · 4.32 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
{
"name": "digital-fuesim-manv-backend",
"version": "1.2.7",
"type": "module",
"scripts": {
"start:once:linux-macos": "NODE_ENV=production node --experimental-specifier-resolution=node dist/src/index.js",
"start:once:windows": "set NODE_ENV=production&& node --experimental-specifier-resolution=node dist/src/index.js",
"start:once": "(pwd && npm run start:once:linux-macos) || npm run start:once:windows",
"start:linux-macos": "NODE_ENV=development nodemon --watch \"./\" --watch \"../shared/dist/\" --ext \"ts js json\" --exec \"node --experimental-specifier-resolution=node --loader ts-node/esm\" src/index.ts 127.0.0.1",
"start:windows": "set NODE_ENV=development&& nodemon --watch \"./\" --watch \"../shared/dist/\" --ext \"ts js json\" --exec \"node --experimental-specifier-resolution=node --loader ts-node/esm\" src/index.ts 127.0.0.1",
"start": "(pwd && npm run start:linux-macos) || npm run start:windows",
"build": "tsc --project ./tsconfig.build.json",
"lint": "eslint --max-warnings 0 --ignore-path .gitignore \"./**/*.{ts,js,yml,html}\"",
"lint:fix": "eslint --ignore-path .gitignore --fix \"./**/*.{ts,js,yml,html}\"",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --coverage --verbose",
"test:migration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --coverage --verbose ./test/http-migration.spec.ts",
"test:ci-no-migration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --coverage --verbose --ci --testPathIgnorePatterns ./test/http-migration.spec.ts",
"test:ci-migration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --coverage --verbose --ci ./test/http-migration.spec.ts",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --verbose --watch",
"typeorm:cli": "NODE_ENV=migration node --experimental-specifier-resolution=node --loader ts-node/esm ./node_modules/typeorm/cli -d src/database/migration-datasource.ts",
"typeorm:cli:prod": "NODE_ENV=migration node --experimental-specifier-resolution=node ./node_modules/typeorm/cli -d dist/src/database/migration-datasource.js",
"typeorm:cli:windows": "set NODE_ENV=migration&& node --experimental-specifier-resolution=node --loader ts-node/esm ./node_modules/typeorm/cli -d src/database/migration-datasource.ts",
"migration:generate": "genmigration() { npm run typeorm:cli migration:generate \"./src/database/migrations/$1\"; }; genmigration",
"migration:generate:windows": ".\\src\\database\\migrations\\generate-migration.bat",
"migration:run": "npm run typeorm:cli migration:run",
"migration:run:prod": "npm run typeorm:cli:prod migration:run",
"migration:run:windows": "npm run typeorm:cli:windows migration:run",
"migration:revert": "npm run typeorm:cli migration:revert",
"migration:revert:windows": "npm run typeorm:cli:windows migration:revert",
"db:purge": "node --experimental-specifier-resolution=node --loader ts-node/esm src/database/scripts/purge.ts"
},
"private": true,
"engines": {
"node": ">=18",
"npm": ">=8"
},
"dependencies": {
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"cors": "^2.8.5",
"digital-fuesim-manv-shared": "file:../shared",
"dotenv": "^16.0.3",
"envalid": "^7.3.1",
"express": "^4.18.2",
"lodash-es": "4.17.21",
"pg": "^8.8.0",
"socket.io": "^4.6.1",
"supertest": "^6.3.3",
"typeorm": "^0.3.11"
},
"devDependencies": {
"@types/cors": "^2.8.13",
"@types/express": "^4.17.15",
"@types/jest": "^29.2.5",
"@types/lodash-es": "^4.17.6",
"@types/node": "^16",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "5.48.1",
"@typescript-eslint/parser": "5.48.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "~2.27.4",
"eslint-plugin-unicorn": "^45.0.2",
"jest": "^29.3.1",
"nodemon": "^2.0.20",
"socket.io-client": "^4.5.4",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "~4.9.4"
}
}