-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
116 lines (116 loc) · 3.3 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"name": "tinycounter",
"version": "0.1.0",
"private": true,
"engines": {
"node": "16.x"
},
"scripts": {
"db:start": "docker-compose up -d",
"db:stop": "docker-compose down",
"dev:server": "nodemon ./server/server.ts --exec 'ts-node --log-error --project tsconfig.server.json' -w server --ext .ts",
"dev:client": "craco start",
"build:server": "rimraf dist && tsc -p tsconfig.server.json",
"build:client": "craco build",
"build": "run-s build:*",
"start": "NODE_ENV=production node dist/server.js",
"codegen:graphql": "graphql-codegen -c graphql.config.yml",
"codegen:prisma": "npx prisma generate",
"codegen": "run-s codegen:*",
"prisma:studio": "npx prisma studio",
"prepare": "husky install"
},
"dependencies": {
"@apollo/client": "^3.5.10",
"@craco/craco": "^7.0.0-alpha.3",
"@graphql-codegen/gql-tag-operations-preset": "^1.3.0",
"@graphql-tools/schema": "^8.3.6",
"@prisma/client": "^3.11.1",
"apollo-server-core": "^3.6.7",
"apollo-server-express": "^3.6.7",
"classnames": "^2.3.1",
"express": "^4.17.1",
"graphql": "^15.0.0",
"graphql-config": "^4.2.0",
"graphql-subscriptions": "^2.0.0",
"graphql-tag": "2.12.4",
"graphql-ws": "^5.6.4",
"qrcode.react": "^3.0.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-icons": "^4.3.1",
"react-router-dom": "^5.2.0",
"react-scripts": "^5.0.0",
"web-vitals": "^1.0.1",
"ws": "^8.5.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-0",
"@babel/plugin-syntax-flow": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@graphql-codegen/cli": "2.6.2",
"@graphql-codegen/typescript": "2.4.8",
"@graphql-codegen/typescript-operations": "2.3.5",
"@graphql-codegen/typescript-react-apollo": "3.2.11",
"@graphql-codegen/typescript-resolvers": "2.6.1",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/express": "^4.17.1",
"@types/jest": "^26.0.23",
"@types/node": "^15.6.1",
"@types/react": "^17.0.7",
"@types/react-dom": "^17.0.5",
"@types/react-router-dom": "^5.1.7",
"@types/ws": "^8.5.3",
"autoprefixer": "^10.4.4",
"http-proxy-middleware": "^2.0.4",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.7",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.12",
"postcss-import": "^14.1.0",
"prettier": "^2.6.1",
"prettier-plugin-prisma": "^3.11.0",
"prisma": "^3.11.1",
"rimraf": "^3.0.2",
"tailwindcss": "^3.0.23",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"prisma": {
"seed": "ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,json,css,md}": [
"prettier --write"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}