This repository has been archived by the owner on Nov 22, 2021. It is now read-only.
generated from nestdotland/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.61 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
{
"name": "api",
"main": "dist/index.js",
"description": "The API for nest.land",
"repository": "https://github.com/nestdotland/api",
"license": "MIT",
"private": true,
"scripts": {
"dev": "ts-node-dev --no-notify --respawn --transpile-only src/",
"start": "node dist/",
"clean": "rm -rf dist",
"build": "yarn clean && yarn generate && tsc",
"test": "echo 'no tests are defined'",
"fmt": "prettier --check src",
"fmt:write": "prettier --write src",
"seed": "prisma db seed --preview-feature",
"seed2": "ts-node ./prisma/seed.ts",
"push": "prisma db push",
"migrate": "prisma migrate dev --preview-feature --name",
"migrate:init": "prisma migrate dev --preview-feature --name init --create-only",
"generate": "yarn generate:prisma && yarn generate:nexus",
"generate:prisma": "prisma generate",
"generate:nexus": "ts-node --transpile-only src/schema"
},
"devDependencies": {
"@types/graphql-iso-date": "^3.4.0",
"@types/mime": "^2.0.3",
"@types/node": "^16.11.7",
"@types/semver": "^7.3.9",
"mime": "^3.0.0",
"prettier": "^2.4.1",
"prisma": "^3.4.2",
"ts-node": "^10.4.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.4.4"
},
"prettier": {
"singleQuote": false,
"printWidth": 120
},
"engines": {
"node": ">=14"
},
"dependencies": {
"@prisma/client": "^3.4.2",
"apollo-server": "~2.25.3",
"dotenv": "^10.0.0",
"graphql": "^15.7.2",
"graphql-iso-date": "^3.6.1",
"graphql-query-complexity": "^0.11.0",
"nexus": "^1.1.0",
"nexus-prisma": "^0.34.0",
"semver": "^7.3.5"
}
}