-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
70 lines (70 loc) · 2.05 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
{
"name": "graphql-auth",
"license": "MIT",
"private": true,
"scripts": {
"dev": "cross-env NODE_ENV=development tsnd --no-notify --respawn --transpile-only ./src",
"build": "tsc",
"test": "dotenv -e .env.test -- jest",
"start": "node dist/index.js",
"debug": "tsnd --inspect --respawn --transpile-only ./src",
"prebuild": "run-s clean generate:*",
"lint": "eslint 'src/**/*.{js,ts}'",
"clean": "rimraf dist",
"generate:prisma": "prisma generate",
"generate:nexus": "ts-node --transpile-only ./src/schema",
"db:save": "yarn prisma migrate dev --create-only --preview-feature",
"db:migrate": "yarn prisma migrate dev --preview-feature",
"db:migrate:prod": "yarn prisma migrate deploy --preview-feature",
"postinstall": "yarn generate:prisma"
},
"dependencies": {
"@prisma/client": "3.15.2",
"apollo-server": "2.26.2",
"bcrypt": "5.1.1",
"dotenv": "16.4.5",
"graphql": "15.9.0",
"graphql-middleware": "6.1.35",
"graphql-shield": "7.6.5",
"jsonwebtoken": "9.0.2",
"nexus": "1.3.0",
"prisma": "3.15.2"
},
"devDependencies": {
"@types/bcrypt": "5.0.0",
"@types/dotenv": "8.2.0",
"@types/eslint": "8.4.10",
"@types/jest": "28.1.8",
"@types/jsonwebtoken": "8.5.9",
"@types/node": "16.18.11",
"@types/prettier": "2.7.2",
"@types/rimraf": "3.0.2",
"@typescript-eslint/eslint-plugin": "5.62.0",
"@typescript-eslint/parser": "5.62.0",
"cross-env": "7.0.3",
"dotenv-cli": "7.4.2",
"eslint": "8.57.1",
"graphql-request": "3.4.0",
"husky": "7.0.4",
"jest": "27.5.1",
"jest-environment-node": "27.5.1",
"lint-staged": "12.5.0",
"nanoid": "3.3.7",
"npm-run-all2": "5.0.2",
"prettier": "2.8.8",
"rimraf": "3.0.2",
"ts-jest": "27.1.5",
"ts-node": "10.9.2",
"ts-node-dev": "2.0.0",
"typescript": "5.0.4",
"typesync": "0.9.2"
},
"prettier": {
"semi": false,
"singleQuote": true
},
"lint-staged": {
"*.{js,ts}": "npm run lint",
"*.{ts,js,json,md}": "prettier --write"
}
}