nexus/examples/with-prisma/package.json

33 lines
922 B
JSON
Raw Permalink Normal View History

{
"name": "with-prisma",
"version": "0.0.0",
2021-01-08 02:06:05 +08:00
"license": "MIT",
"scripts": {
"build": "yarn build:reflection && tsc",
"build:reflection": "NEXUS_SHOULD_EXIT_AFTER_REFLECTION=true ts-node api",
"dev": "ts-node-dev --transpile-only api",
"dev:migrate": "prisma migrate save --experimental -c && prisma migrate up --experimental -c",
"dev:typecheck": "tsc --watch --noEmit",
"format": "npx prettier --write './**/*.{ts,md}'",
"start": "NODE_ENV=production node .nexus/build"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"dependencies": {
2021-01-08 02:05:25 +08:00
"@prisma/client": "2.14.0",
"apollo-server-express": "^2.19.1",
"express": "^4.17.1",
"graphql": "^15.3.0",
2020-12-15 03:10:29 +08:00
"nexus": "^1.0.0"
},
"devDependencies": {
2021-01-08 02:05:25 +08:00
"@prisma/cli": "^2.14.0",
"prettier": "2.2.1",
"ts-node-dev": "^1.0.0-pre.62",
"typescript": "^4.0.2"
}
}