-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.47 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
71
72
73
74
{
"name": "graphql-prisma",
"scripts": {
"start": "node build/main.js",
"prisma": "prisma",
"dev": "NODE_ENV=development backpack --inspect",
"build": "backpack build",
"dev-build": "NODE_ENV=development yarn build",
"test-build": "NODE_ENV=test yarn build",
"prod-build": "NODE_ENV=production yarn build",
"eb-deploy-dev": "yarn dev-build && eb deploy",
"eb-deploy-test": "yarn test-build && eb deploy",
"eb-deploy-prod": "yarn prod-build && eb deploy",
"now-deploy-dev": "NODE_ENV=development yarn build && now --local-config=now.development.json",
"now-deploy-test": "NODE_ENV=test yarn build && now --local-config=now.test.json",
"now-deploy-prod": "NODE_ENV=production yarn build && now --local-config=now.production.json",
"prisma-deploy-dev": "prisma deploy --env-file .development.env",
"prisma-deploy-test": "prisma deploy --env-file .test.env",
"prisma-deploy-prod": "prisma deploy --env-file .production.env",
"prisma-reset-dev": "prisma reset --env-file .development.env",
"prisma-reset-test": "prisma reset --env-file .test.env",
"prisma-reset-prod": "prisma reset --env-file .production..env",
"dev-deploy": "yarn prisma-deploy-dev && yarn eb-deploy-dev",
"test-deploy": "yarn prisma-deploy-test && yarn eb-deploy-test",
"prod-deploy": "yarn prisma-deploy-prod && yarn eb-deploy-prod",
"eslint-init": "eslint --init",
"prettify": "prettier --write **/*.{js,json}"
},
"lint-staged": {
"*.{js,json,css,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"app-root-path": "^2.2.1",
"aws-sdk": "^2.419.0",
"bcryptjs": "^2.4.3",
"ejs": "^2.6.1",
"email-templates": "^5.0.4",
"graphql-shield": "^5.3.5",
"graphql-yoga": "1.17.4",
"jsonwebtoken": "^8.5.0",
"nodemailer": "^6.1.0",
"prisma-client-lib": "^1.32.0"
},
"devDependencies": {
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"babel-eslint": "^10.0.1",
"backpack-core": "^0.8.3",
"copy-webpack-plugin": "^5.0.2",
"dotenv": "^6.2.0",
"dotenv-webpack": "^1.7.0",
"eslint": "^5.16.0",
"extra-watch-webpack-plugin": "^1.0.3",
"graphql-import-loader": "^0.2.1",
"husky": "^1.3.1",
"lint-staged": "^8.1.5",
"now": "^14.2.3",
"prettier": "^1.16.4",
"prisma": "^1.32.0"
},
"keywords": [
"graphql",
"prisma",
"backpack",
"boilerplate"
]
}