-
Notifications
You must be signed in to change notification settings - Fork 728
/
package.json
124 lines (124 loc) · 3.74 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
117
118
119
120
121
122
123
124
{
"name": "twilio-video-app-react",
"version": "0.6.0",
"private": true,
"license": "Apache-2.0",
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@twilio-labs/plugin-rtc": "^0.8.2",
"@twilio/conversations": "^1.2.3",
"@twilio/video-processors": "^1.0.1",
"@twilio/video-room-monitor": "^1.0.0-beta.1",
"@types/d3-timer": "^1.0.9",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/fscreen": "^1.0.1",
"@types/jest": "^25.1.0",
"@types/linkify-it": "^3.0.0",
"@types/lodash.throttle": "^4.1.6",
"@types/node": "^12.12.26",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.3",
"concurrently": "^6.0.0",
"copyfiles": "2.4.1",
"cross-env": "^7.0.2",
"d3-timer": "^1.0.10",
"express": "^4.17.1",
"firebase": "^7.24.0",
"firebase-admin": "^9.5.0",
"fscreen": "^1.0.2",
"husky": "^3.1.0",
"linkify-it": "^3.0.2",
"lint-staged": "^9.5.0",
"lodash.throttle": "^4.1.1",
"nanoid": "^3.1.12",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2",
"react-scripts": "4.0.3",
"rimraf": "3.0.2",
"strip-color": "^0.1.0",
"ts-node": "^9.1.1",
"twilio": "^3.63.1",
"twilio-video": "^2.17.1",
"typescript": "^3.8.3"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.4.0",
"@testing-library/react-hooks": "^3.2.1",
"@types/enzyme": "^3.10.4",
"@types/enzyme-adapter-react-16": "^1.0.5",
"cypress": "^6.8.0",
"cypress-multi-reporters": "^1.4.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-to-json": "^3.4.4",
"isomorphic-fetch": "^2.2.1",
"jest-junit": "^9.0.0",
"mocha": "^6.2.2",
"mocha-junit-reporter": "^1.23.3",
"pixelmatch": "^5.1.0",
"puppeteer": "^5.3.1",
"react-test-renderer": "^16.12.0",
"start-server-and-test": "^1.10.8",
"ts-jest": "^26.5.1"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"scripts": {
"postinstall": "rimraf public/virtualbackground && copyfiles -f node_modules/@twilio/video-processors/dist/build/* public/virtualbackground",
"start": "concurrently npm:server npm:dev",
"dev": "react-scripts start",
"build": "node ./scripts/build.js",
"test": "cross-env TZ=utc jest",
"eject": "react-scripts eject",
"lint": "eslint src server",
"server": "ts-node -T -P server/tsconfig.json server/index.ts",
"typescript:server": "tsc --noEmit -p server/",
"test:ci": "cross-env TZ=utc jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage --silent",
"cypress:open": "cypress open",
"cypress:run": "cypress run --browser chrome",
"cypress:ci": "cross-env CYPRESS_baseUrl=http://localhost:8081 start-server-and-test server http://localhost:8081 cypress:run",
"deploy:twilio-cli": "cross-env REACT_APP_SET_AUTH=passcode npm run build && twilio rtc:apps:video:deploy --authentication=passcode --app-directory ./build"
},
"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"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"proxy": "http://localhost:8081/",
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
}
}