-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.39 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
{
"name": "arkapi-backend",
"version": "0.0.1",
"description": "ArkAPI is the Arknights resource public API service.",
"author": "ArkAlliance <[email protected]>",
"private": true,
"license": "AGPL-3.0",
"engines": {
"node": ">=16"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"prisma/*\"",
"start": "nest start",
"start:dev": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"migrate:dev": "pnpx prisma migrate dev",
"migrate:dev:create": "pnpx prisma migrate dev --create-only",
"migrate:deploy": "pnpx prisma migrate deploy",
"prisma:generate": "pnpx prisma generate",
"prisma:studio": "pnpx prisma studio",
"prisma:seed": "pnpx prisma db seed",
"scripts:importer": "tsx src/scripts/importer/index.ts"
},
"dependencies": {
"@nestjs/apollo": "^11.0.5",
"@nestjs/axios": "^1.0.1",
"@nestjs/common": "^9.4.0",
"@nestjs/config": "^2.3.1",
"@nestjs/core": "^9.4.0",
"@nestjs/graphql": "^11.0.5",
"@nestjs/passport": "^9.0.3",
"@nestjs/platform-express": "^9.4.0",
"@nestjs/swagger": "^6.3.0",
"@prisma/client": "^4.13.0",
"axios": "^1.4.0",
"bson": "^4.7.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.0",
"dotenv": "^16.0.3",
"graphql": "^16.6.0",
"graphql-type-json": "^0.3.2",
"joi": "^17.9.2",
"lodash": "^4.17.21",
"nestjs-prisma": "^0.19.0",
"passport": "^0.6.0",
"pino": "^8.11.0",
"pino-pretty": "^10.0.0",
"quicktype-core": "^23.0.30",
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"rxjs": "^7.8.1"
},
"devDependencies": {
"@nestjs/cli": "^9.4.2",
"@nestjs/schematics": "^8.0.11",
"@nestjs/testing": "^9.4.0",
"@trivago/prettier-plugin-sort-imports": "^3.4.0",
"@types/express": "^4.17.17",
"@types/jest": "27.5.0",
"@types/lodash": "^4.14.194",
"@types/node": "^18.16.2",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-prettier": "^4.2.1",
"jest": "28.0.3",
"prettier": "^2.8.8",
"prettier-plugin-prisma": "^4.12.0",
"prisma": "^4.13.0",
"source-map-support": "^0.5.21",
"supertest": "^6.3.3",
"ts-jest": "28.0.1",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "4.1.0",
"tsx": "^3.12.6",
"type-fest": "^3.9.0",
"typescript": "^4.9.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
}
}