-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 5.55 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
{
"name": "nestjs-graphql-prisma-realworld-example-app",
"private": true,
"version": "0.0.0-dev",
"description": "Example real world application built with NestJS, GraphQL and Prisma",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/unlight/nestjs-graphql-prisma-realworld-example-app.git"
},
"bugs": {
"url": "https://github.com/unlight/nestjs-graphql-prisma-realworld-example-app/issues"
},
"engines": {
"node": ">=12"
},
"homepage": "https://github.com/unlight/nestjs-graphql-prisma-realworld-example-app#readme",
"scripts": {
"api:spec": "sh Taskfile api_spec",
"dev": "run-p start:dev prisma:w",
"preinstall": "sh Taskfile preinstall",
"postinstall": "patch-package",
"build": "sh Taskfile build",
"postbuild": "sh Taskfile postbuild",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start": "node dist/src/main.js",
"nest:start": "nest start --path tsconfig.json",
"start:dev": "node -r dotenv-flow/config node_modules/@nestjs/cli/bin/nest.js start --path tsconfig.json --watch --exec \"node -r source-map-support/register\"",
"start:dev:f": "ts-node-dev --rs --transpile-only -r dotenv-flow/config -r tsconfig-paths/register src/main.ts",
"start:dev:d": "nest start --watch --path tsconfig.json --exec \"node --inspect -r dotenv-flow/config\"",
"start:debug": "nest start --debug --watch --path tsconfig.json",
"start:prod": "node dist/src/main",
"eslint": "node node_modules/eslint/bin/eslint \"{src,test}/**/*.ts\"",
"eslint:fix": "npm run eslint -- --fix",
"eslint:w": "watchexec -w src \"npm run eslint\"",
"tscheck": "echo tscheck... && tsc --noEmit --incremental false",
"tscheck:w": "npm run tscheck -- --watch",
"test": "npm run eslint && npm run tscheck && npm run test:cov",
"test:r": "jest --runInBand",
"test:w": "npm run test:r -- --watch",
"test:cov": "jest --coverage --verbose",
"test:d": "node --inspect-brk node_modules/jest/bin/jest --runInBand",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "node node_modules/jest/bin/jest --runInBand --config ./test/jest-e2e.config.js",
"test:e2e:w": "npm run test:e2e -- --watch",
"test:api:w": "run-p start:dev test:e2e:w",
"prisma:w": "node -r dotenv-flow/config node_modules/prisma/build/index.js generate --watch",
"prisma:g": "node -r dotenv-flow/config node_modules/prisma/build/index.js generate",
"regen": "rm -rf src/@generated && npm run prisma:g && npm run eslint:fix",
"prisma:seed": "node -r dotenv-flow/config -r ts-node/register prisma/seed",
"prisma:studio": "node -r dotenv-flow/config node_modules/@prisma/cli/build/index.js studio --experimental",
"dev:update": "updtr --out --to latest --test \"npm test:r\"",
"db:seed": "prisma db seed --preview-feature",
"migrate:up": "prisma migrate deploy --preview-feature",
"sync-dotenv": "npx sync-dotenv"
},
"dependencies": {
"@nestjs-steroids/environment": "^1.0.2",
"@nestjs/common": "^7.6.17",
"@nestjs/core": "^7.6.17",
"@nestjs/graphql": "^7.10.6",
"@nestjs/jwt": "^7.2.0",
"@nestjs/passport": "^7.1.5",
"@nestjs/platform-express": "^7.6.17",
"@paljs/plugins": "^4.0.18",
"@prisma/client": "^3.11.0",
"@sindresorhus/slugify": "^1.1.0",
"apollo-error-converter": "^1.1.1",
"apollo-server-express": "^2.25.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.13.2",
"dataloader": "^2.0.0",
"dotenv-flow": "^3.2.0",
"graphql": "^15.5.0",
"graphql-fields": "^2.0.3",
"graphql-request": "^3.6.1",
"jsonwebtoken": "^8.5.1",
"lodash": "^4.17.21",
"passport": "^0.5.2",
"passport-jwt": "^4.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^6.6.6",
"serialize-error": "^8.1.0",
"tslib": "^2.3.1"
},
"devDependencies": {
"@nestjs/cli": "^7.6.0",
"@nestjs/schematics": "^7.3.1",
"@nestjs/testing": "^7.6.17",
"@types/express": "^4.17.13",
"@types/graphql-fields": "^1.3.4",
"@types/jest": "^27.4.1",
"@types/lodash": "^4.14.180",
"@types/node": "^17.0.21",
"@types/passport-jwt": "^3.0.6",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^5.15.0",
"@typescript-eslint/parser": "^5.15.0",
"class-validator-flat-formatter": "^2.0.0",
"common-tags": "^1.8.2",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-node": "^0.3.6",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-boundaries": "^2.9.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-only-warn": "^1.0.3",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-sonarjs": "^0.12.0",
"eslint-plugin-unicorn": "^41.0.1",
"eslint-plugin-wix-editor": "^3.3.0",
"git-branch-is": "^4.0.0",
"jest": "^27.5.1",
"jest-createspyobj": "^2.0.0",
"nestolog": "^1.3.0",
"newman": "^5.3.2",
"patch-package": "^6.4.7",
"precise-commits": "^1.0.2",
"prettier": "^2.6.0",
"prisma": "^3.11.0",
"prisma-nestjs-graphql": "^15.1.0",
"prisma-query-log": "^3.1.1",
"request": "^2.88.2",
"simplytyped": "^3.3.0",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-mockito": "^2.6.1",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"tsconfig-paths": "^3.14.0",
"typescript": "^4.6.2",
"watchexec-bin": "^1.0.0"
}
}