-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathpackage.json
110 lines (110 loc) · 3.09 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
{
"name": "twilio-video-diagnostics-react-app",
"version": "1.1.1",
"private": true,
"dependencies": {
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@twilio-labs/serverless-api": "^5.0.0",
"@twilio/rtc-diagnostics": "1.0.1",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"axios": "^0.21.1",
"cli-ux": "^5.5.1",
"concurrently": "^7.0.0",
"dotenv": "^10.0.0",
"express": "^4.17.3",
"http-proxy-middleware": "^2.0.1",
"immer": "^9.0.3",
"loglevel": "^1.7.1",
"nanoid": "^3.1.23",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "5.0.0",
"ts-node": "^10.7.0",
"twilio": "^3.63.1",
"twilio-video": "^2.20.1",
"ua-parser-js": "^0.7.28",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "concurrently -k npm:server npm:dev",
"dev": "react-scripts start",
"build": "react-scripts build",
"server": "ts-node -T -P server/tsconfig.json server/index.ts",
"test": "jest --config jest.config.js",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.{ts,tsx} server",
"test:serverless": "jest -c jest.serverless.config.js",
"test:ci": "npm run test:ci:app && npm run test:ci:serverless",
"test:ci:app": "jest --config jest.config.js --ci --runInBand --reporters=default --reporters=jest-junit --coverage",
"test:ci:serverless": "jest -c jest.serverless.config.js --ci --runInBand",
"serverless:deploy": "npm run build && node serverless/scripts/deploy.js",
"serverless:remove": "node serverless/scripts/remove.js",
"serverless:list": "node serverless/scripts/list.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"warn"
]
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/react-hooks": "^7.0.1",
"@types/enzyme": "^3.10.8",
"@types/express": "^4.17.13",
"@types/jest": "^27.5.2",
"@types/jsonwebtoken": "^8.5.1",
"@types/ua-parser-js": "^0.7.36",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.1",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"husky": "^4.3.8",
"jest-junit": "^12.1.0",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"stdout-stderr": "^0.1.13",
"superagent": "^6.1.0",
"ts-jest": "^27.0.1",
"typescript": "^4.3.2"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write"
]
},
"proxy": "http://localhost:8081/",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}