-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 5 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "nestjs-starter-api",
"version": "0.0.0",
"private": false,
"scripts": {
"assets:copy": "mkdir -p ./dist/assets && cp -r ./src/assets/* ./dist/assets",
"prebuild": "rimraf dist",
"build": "nest build",
"deps:lint": "npm-check-updates",
"deps:lint:minor": "npm-check-updates --target minor",
"deps:lint:patch": "npm-check-updates --target patch",
"deps:sort": "sort-package-json",
"deps:upgrade": "npm-check-updates -u",
"deps:upgrade:minor": "npm-check-updates -u --target minor",
"deps:upgrade:patch": "npm-check-updates -u --target patch",
"format": "prettier --write \"**/*.ts\"",
"format:staged": "lint-staged",
"format:types": "prettier --write \"src/core/types/*\"",
"postinstall": "husky install",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" --fix",
"migrate:create": "mikro-orm migration:create",
"migrate:create:initial": "mikro-orm migration:create --initial",
"migrate:down": "mikro-orm migration:down",
"migrate:list": "mikro-orm migration:list",
"migrate:pending": "mikro-orm migration:pending",
"migrate:reset": "mikro-orm migration:down --to 0",
"migrate:up": "mikro-orm migration:up",
"orm:cache:generate": "mikro-orm cache:generate",
"prestart": "npm run types && npm run assets:copy",
"start": "npm run migrate:pending && nest start --watch",
"start:dev": "nest start --debug --watch",
"start:e2e": "echo \"Firing up mock server...\" && ts-node src/main.ts",
"start:e2e:watch": "nodemon --ignore '**/*.e2e-spec.ts' src/main.ts",
"test": "npm run test:unit",
"test:e2e": "jest --config jest.config.e2e.js --runInBand --detectOpenHandles",
"test:e2e:watch": "npm run test:e2e -- --watch",
"test:unit": "jest --config jest.config.unit.js",
"test:unit:cov": "npm test -- --coverage",
"test:unit:watch": "npm run test:unit -- --watch",
"ts-node": "ts-node -r tsconfig-paths/register -P ./tsconfig.json",
"typecheck": "tsc --noEmit --project tsconfig.json",
"types": "npm run types:merge && npm run types:gen",
"types:gen": "ts-node src/tooling/generate-typings.ts",
"types:merge": "ts-node src/tooling/merge-definitions.ts"
},
"lint-staged": {
"package.json": [
"sort-package-json"
],
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"dependencies": {
"@apollo/server-plugin-operation-registry": "3.5.6",
"@bull-board/api": "3.11.1",
"@bull-board/express": "3.11.1",
"@eropple/nestjs-correlation-id": "1.0.1",
"@mikro-orm/core": "5.2.3",
"@mikro-orm/migrations": "5.2.3",
"@mikro-orm/nestjs": "5.1.0",
"@mikro-orm/postgresql": "5.2.3",
"@nestjs/apollo": "10.0.19",
"@nestjs/bull": "0.6.0",
"@nestjs/common": "8.4.7",
"@nestjs/config": "2.2.0",
"@nestjs/core": "8.4.7",
"@nestjs/graphql": "10.0.21",
"@nestjs/platform-express": "8.4.7",
"@sentry/integrations": "7.7.0",
"@sentry/node": "7.7.0",
"@sentry/tracing": "7.7.0",
"apollo-server-express": "3.10.0",
"bull": "4.8.4",
"cache-manager": "4.1.0",
"class-transformer": "0.5.1",
"express-basic-auth": "1.2.1",
"graphql-scalars": "1.17.0",
"joi": "17.6.0",
"mikro-orm": "5.2.0",
"parse-redis-url-simple": "1.0.2",
"pg": "8.7.3",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.6",
"uuid": "8.3.2"
},
"devDependencies": {
"@faker-js/faker": "7.3.0",
"@graphql-tools/load-files": "6.6.0",
"@graphql-tools/merge": "8.3.0",
"@mikro-orm/cli": "5.2.3",
"@nestjs/cli": "8.2.8",
"@nestjs/schematics": "8.0.11",
"@nestjs/testing": "8.4.7",
"@types/bull": "3.15.8",
"@types/cache-manager": "3.4.3",
"@types/express": "4.17.13",
"@types/jest": "28.1.6",
"@types/jsonwebtoken": "8.5.8",
"@types/node": "17.0.45",
"@types/shelljs": "0.8.11",
"@types/statsd-client": "0.4.3",
"@types/supertest": "2.0.12",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"apollo-server-core": "3.10.0",
"dotenv": "16.0.1",
"eslint": "8.20.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"graphql-tools": "8.3.0",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-mock-extended": "2.0.7",
"jsonwebtoken": "8.5.1",
"lint-staged": "13.0.3",
"nodemon": "2.0.19",
"npm-check-updates": "15.3.4",
"prettier": "2.7.1",
"prettier-plugin-organize-imports": "2.3.4",
"readline-sync": "1.4.10",
"sort-package-json": "1.57.0",
"superagent": "7.1.6",
"ts-jest": "28.0.7",
"ts-loader": "9.3.1",
"ts-morph": "15.1.0",
"ts-node": "10.9.1",
"typescript": "4.7.4",
"webpack": "5.73.0",
"webpack-merge": "5.8.0",
"webpack-node-externals": "3.0.0"
},
"engines": {
"node": ">=16",
"npm": ">=8"
},
"mikro-orm": {
"useTsNode": true,
"configPaths": [
"./src/mikro-orm.config.ts",
"./dist/mikro-orm.config.js"
]
}
}