-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.96 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
99
100
101
102
103
{
"name": "friendsquest-api",
"version": "2.7.3",
"description": "API for FriendsQuest-APP",
"main": "./.out/src/index.js",
"scripts": {
"dev": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" nodemon --ext ts --experimental-specifier-resolution node ./src",
"clean": "rimraf .out/",
"copy": "copyfiles -u 1 src/**/*.cjs src/**/*.ejs .out/src",
"start": "npm run clean && npm run copy && tsc && NODE_OPTIONS=\"--loader ts-node/esm\" NODE_ENV=production node ./.out/src/index.js",
"start-docker": "npm run clean && npm run copy && tsc && pm2-docker start ecosystem.config.cjs",
"lint": "eslint --ext .js,.cjs,.mjs,.ts --color --cache --cache-location temp/.eslintcache --ignore-path ./.gitignore .",
"lintfix": "npm run lint -- --fix",
"typecheck": "tsc",
"test": "jest",
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage --reporters=default --logHeapUsage --maxWorkers=50%",
"test:ci": "node --expose-gc node_modules/.bin/jest --ci --json --testLocationInResults --coverage --logHeapUsage --maxWorkers=50% --outputFile=coverage/report.json",
"stryker": "stryker run",
"migrate:create": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:create",
"migrate:up": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:up",
"migrate:down": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:down",
"migrate:fresh": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:fresh",
"seeder:create": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm seeder:create",
"seeder:run": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm seeder:run",
"orm:restart": "cross-env NODE_OPTIONS=\"--loader ts-node/esm\" mikro-orm migration:fresh --seed",
"prepare": "husky install"
},
"type": "module",
"engines": {
"node": "^16.17.x",
"npm": "^8.x.x"
},
"dependencies": {
"@mikro-orm/core": "^5.7.11",
"@mikro-orm/migrations": "^5.7.11",
"@mikro-orm/postgresql": "^5.7.11",
"@mikro-orm/reflection": "^5.7.11",
"@mikro-orm/seeder": "^5.7.11",
"@sentry/node": "^7.54.0",
"@sentry/tracing": "^7.54.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.1.3",
"ejs": "^3.1.9",
"express": "^4.18.2",
"express-actuator": "^1.8.4",
"express-validator": "^7.0.1",
"firebase-admin": "^11.9.0",
"helmet": "^7.0.0",
"http-status-codes": "^2.2.0",
"multer": "^1.4.5-lts.1",
"node-fetch": "^3.3.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^4.6.3",
"uuid": "^9.0.0"
},
"devDependencies": {
"@mikro-orm/cli": "^5.7.11",
"@stryker-mutator/core": "^6.3.1",
"@stryker-mutator/jest-runner": "^6.3.1",
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.13",
"@types/express": "^4.17.17",
"@types/express-actuator": "^1.8.0",
"@types/jest": "^29.2.5",
"@types/multer": "^1.4.7",
"@types/node": "^18.11.18",
"@types/supertest": "^2.0.12",
"@types/swagger-jsdoc": "^6.0.1",
"@types/swagger-ui-express": "^4.1.3",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.42.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-unicorn": "^47.0.0",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jest-mock-extended": "^3.0.4",
"lint-staged": "^13.2.2",
"nodemon": "^2.0.22",
"rimraf": "^5.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/config/mikro-orm.config.ts",
"./.out/src/config/mikro-orm.config.js"
]
}
}