-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.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
{
"name": "cnm-chat",
"version": "0.1.0",
"private": true,
"dependencies": {
"@types/node": "^14.6.2",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"@types/google-protobuf": "^3.7.3",
"google-protobuf": "^3.13.0",
"grpc": "^1.24.3",
"grpc-web": "^1.2.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"typescript": "^4.0.2",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^10.4.9",
"@testing-library/user-event": "^12.1.3",
"@types/jest": "^26.0.10",
"react-scripts": "3.4.3"
},
"scripts": {
"start": "PORT=3001 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"proto:fix": "for f in $(find ./src/gen -name '*pb.js'); do sed -i '1 i /* eslint-disable */' ${f}; done",
"proto:gen": "for f in $(find ./proto -name '*.proto'); do protoc -I=./proto ${f} --js_out=import_style=commonjs:src/gen --grpc-web_out=import_style=commonjs+dts,mode=grpcwebtext:src/gen; done",
"proto": "npm run proto:gen && npm run proto:fix"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}