-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
96 lines (96 loc) · 2.66 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
{
"name": "rtc-diagnostics-react-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-ui/core": "^4.10.0",
"@material-ui/icons": "^4.9.1",
"@twilio-labs/serverless-api": "^2.0.1",
"@twilio/rtc-diagnostics": "^1.0.0",
"@twilio/voice-sdk": "^2.1.1",
"@types/node": "^12.12.39",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"cli-ux": "^5.4.6",
"dotenv": "^8.2.0",
"lodash": "^4.17.21",
"loglevel": "^1.6.8",
"nanoid": "^3.1.31",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "5.0.0",
"twilio": "^3.80.0",
"typescript": "^3.7.5",
"util": "^0.12.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "jest",
"eject": "react-scripts eject",
"lint": "eslint src/**/*.{ts,tsx}",
"test:serverless": "jest -c jest.serverless.config.js",
"test:ci": "npm run test:ci:app && npm run test:ci:serverless",
"test:ci:app": "jest --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",
"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/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/react-hooks": "^3.3.0",
"@testing-library/user-event": "^7.2.1",
"@types/enzyme": "^3.10.5",
"@types/jest": "^27.5.2",
"@types/jsonwebtoken": "^8.5.0",
"@types/lodash.set": "^4.3.6",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.5.0",
"http-proxy-middleware": "^1.0.4",
"husky": "^4.2.5",
"jest-junit": "^12.1.0",
"jsonwebtoken": "^8.5.1",
"lint-staged": "^10.2.2",
"mocha": "^7.1.2",
"mocha-junit-reporter": "^1.23.3",
"prettier": "^2.0.5",
"stdout-stderr": "^0.1.13",
"superagent": "^5.2.2",
"ts-jest": "^27.0.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}