-
Notifications
You must be signed in to change notification settings - Fork 727
/
package.json
149 lines (149 loc) · 4.81 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "twilio-video-app-react",
"version": "0.10.5",
"private": true,
"license": "Apache-2.0",
"dependencies": {
"@material-ui/core": "^4.12.3",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.60",
"@twilio-labs/plugin-rtc": "^0.8.4",
"@twilio/conversations": "^2.1.0",
"@twilio/video-processors": "^2.1.0",
"@twilio/video-room-monitor": "^1.0.1",
"@types/d3-timer": "^1.0.9",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/fscreen": "^1.0.1",
"@types/jest": "^27.5.2",
"@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": "^9.9.0",
"firebase-admin": "^11.2.1",
"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.31",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-router-dom": "^5.1.2",
"react-scripts": "5.0.0",
"rimraf": "3.0.2",
"strip-color": "^0.1.0",
"swiper": "^8.1.5",
"ts-node": "^9.1.1",
"twilio": "^3.63.1",
"twilio-video": "^2.28.1",
"typescript": "^4.6.2"
},
"devDependencies": {
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/builder-webpack5": "^6.5.10",
"@storybook/manager-webpack5": "^6.5.10",
"@storybook/node-logger": "^6.5.10",
"@storybook/preset-create-react-app": "^4.1.2",
"@storybook/react": "^6.5.10",
"@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": "^9.7.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": "^10.2.0",
"mocha-junit-reporter": "^1.23.3",
"pixelmatch": "^5.1.0",
"puppeteer": "^22.8.2",
"react-test-renderer": "^16.12.0",
"start-server-and-test": "^1.10.8",
"ts-jest": "^27.0.1",
"webpack": "^5.74.0"
},
"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",
"noisecancellation:krisp": "npm install @twilio/krisp-audio-plugin && rimraf public/noisecancellation && copyfiles -f \"node_modules/@twilio/krisp-audio-plugin/dist/*\" public/noisecancellation && copyfiles -f \"node_modules/@twilio/krisp-audio-plugin/dist/weights/*\" public/noisecancellation/weights",
"start": "concurrently npm:server npm:dev",
"dev": "react-scripts start",
"build": "node ./scripts/build.js",
"gcp-build": "",
"test": "cross-env TZ=utc jest --config jest.config.js",
"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 --config jest.config.js --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",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public"
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"warn"
]
},
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"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"
]
}
}