-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 1.17 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": "graphql-prisma-demo",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "node dist/server",
"clean": "rm -rf dist",
"build": "npm -s run clean && npm -s run generate && tsc",
"generate": "npm -s run generate:prisma && npm -s run generate:nexus",
"generate:prisma": "prisma generate",
"generate:nexus": "ts-node --transpile-only src/schema",
"dev": "ts-node-dev --no-notify --respawn --transpileOnly src/index.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/shiwangme/graphql-prisma-demo.git"
},
"private": true,
"author": "Willin Wang",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/shiwangme/graphql-prisma-demo/issues"
},
"homepage": "https://github.com/shiwangme/graphql-prisma-demo#readme",
"devDependencies": {
"@prisma/cli": "^2.6.1",
"@types/node": "^14.6.4",
"prettier": "^2.1.1",
"ts-node": "^9.0.0",
"ts-node-dev": "^1.0.0-pre.62",
"typescript": "^4.0.2"
},
"dependencies": {
"@nexus/schema": "^0.15.0",
"@prisma/client": "^2.6.1",
"graphql-yoga": "^1.18.3",
"nexus-plugin-prisma": "^0.18.1"
}
}