-
Notifications
You must be signed in to change notification settings - Fork 14
/
package.json
137 lines (137 loc) · 3.88 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
{
"name": "@twilio/video-room-monitor",
"version": "1.0.1-dev",
"description": "Twilio Video Room Monitor Javascript Library",
"main": "dist/node/index.js",
"types": "dist/node/index.d.ts",
"browserTarget": "dist/browser/twilio-video-room-monitor.js",
"minifiedTarget": "dist/browser/twilio-video-room-monitor.min.js",
"scripts": {
"start": "tsc --watch",
"test": "cross-env TZ=utc jest",
"test:ci": "cross-env TZ=utc jest --ci --runInBand --reporters=default --reporters=jest-junit --coverage --silent",
"lint": "eslint src",
"parcel:watch": "cross-env PARCEL_TARGET=browser parcel src/index.tsx --no-hmr --dist-dir dist/browser --target browserTarget",
"prebuild": "rimraf dist/",
"build": "npm run build:node && npm run build:browser && npm run build:browser:min",
"build:node": "tsc",
"build:browser": "cross-env PARCEL_TARGET=browser parcel build --target browserTarget",
"build:browser:min": "cross-env PARCEL_TARGET=browser parcel build --target minifiedTarget",
"release": "release",
"ts": "tsc --noEmit"
},
"keywords": [
"twilio",
"video",
"room",
"javascript",
"inspect",
"monitor",
"webrtc"
],
"bugs": {
"url": "https://github.com/twilio/twilio-video-room-monitor.js/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/twilio/twilio-video-room-monitor.js"
},
"license": "Apache-2.0",
"dependencies": {
"@visx/curve": "^2.1.0",
"@visx/xychart": "^2.11.1",
"d3-array": "^2.12.1",
"eventemitter3": "^4.0.7",
"lodash": "^4.17.21",
"react-spring": "^8.0.27",
"styled-components": "^5.2.1"
},
"devDependencies": {
"@swc/helpers": "^0.2.14",
"@testing-library/react-hooks": "^5.1.2",
"@types/d3-array": "^2.9.0",
"@types/enzyme": "^3.10.4",
"@types/jest": "^26.0.23",
"@types/node": "^14.14.10",
"@types/react": "^16.9.19",
"@types/react-dom": "^16.9.5",
"@types/styled-components": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.3",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "^7.27.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-flowtype": "^5.7.2",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"jest": "^26.6.3",
"jest-junit": "^12.0.0",
"parcel": "^2.6.2",
"prettier": "^2.2.1",
"process": "^0.11.10",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^26.5.5",
"twilio-release-tool": "^1.0.2",
"twilio-video": "^2.14.0",
"typescript": "^4.2.4"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"twilio-video": "^2.14.0"
},
"jest": {
"snapshotSerializers": [
"enzyme-to-json/serializer"
]
},
"eslintConfig": {
"extends": "react-app",
"rules": {
"no-shadow": "off",
"@typescript-eslint/no-shadow": [
"warn"
]
}
},
"files": [
"dist/**/!(*.test).js",
"dist/node/index.d.ts"
],
"browserslist": {
"production": [
"> 1%, not IE 11",
"last 2 and_ff version",
"not op_mini all, not opera > 0, not samsung > 0"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"targets": {
"browserTarget": {
"source": "src/index.tsx",
"distDir": "dist/browser",
"optimize": false,
"sourceMap": false,
"scopeHoist": false
},
"minifiedTarget": {
"source": "src/index.tsx",
"distDir": "dist/browser",
"optimize": true,
"sourceMap": false,
"scopeHoist": true
}
}
}