-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
40 lines (40 loc) · 1.24 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
{
"name": "service",
"private": true,
"version": "0.0.1",
"main": "src/main.ts",
"scripts": {
"lint": "prettier 'src/**/*'",
"lint:fix": "prettier --write 'src/**/*'",
"start": "npx env-cmd ts-node-dev --tree-kill --no-notify --respawn --transpile-only src/main.ts",
"start:prod": "ts-node --transpile-only src/main.ts",
"migrate": "npx env-cmd npx prisma migrate save --experimental && npx env-cmd npx prisma migrate up --experimental",
"generate": "npx env-cmd npx prisma generate && npx env-cmd ts-node --transpile-only src/schema",
"seed": "npx env-cmd ts-node prisma/seed.ts",
"reset": "npx env-cmd ts-node prisma/reset.ts"
},
"dependencies": {
"@prisma/client": "^2.0.0-beta.2",
"graphql": "^14.3.1",
"graphql-shield": "^7.2.6",
"graphql-yoga": "^1.18.2",
"nexus": "^0.12.0-rc.13",
"nexus-prisma": "^0.11.1"
},
"devDependencies": {
"@prisma/cli": "^2.0.0-beta.2",
"@types/faker": "^4.1.5",
"@types/ws": "^7.2.0",
"env-cmd": "^10.1.0",
"faker": "^4.1.0",
"prettier": "^1.18.2",
"ts-node": "^8.3.0",
"ts-node-dev": "^1.0.0-pre.44",
"typescript": "^3.7.5"
},
"prettier": {
"semi": true,
"singleQuote": false,
"trailingComma": "all"
}
}