-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
90 lines (90 loc) · 2.37 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
{
"name": "peer-lite",
"description": "Lightweight WebRTC browser library that supports video, audio and data channels",
"version": "2.0.2",
"license": "MIT",
"keywords": [
"audio",
"p2p",
"peer",
"peer lite",
"peer-to-peer",
"stream",
"video",
"voice",
"webrtc",
"webrtc stream"
],
"main": "./dist/index.js",
"module": "./dist/index.es.js",
"types": "./dist/types/index.d.ts",
"scripts": {
"prebuild": "rimraf -rf dist/*",
"build": "rollup --config build/rollup.config.ts --configPlugin typescript",
"test": "yarn test:playwright && yarn test:jest",
"test:playwright": "playwright test ./test/peer.spec.ts",
"test:jest": "jest",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext .tsx --ext .ts --ext .js",
"commit": "cz",
"prepare": "husky install"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@playwright/test": "^1.22.2",
"@rollup/plugin-typescript": "^8.3.2",
"@swc/core": "^1.2.197",
"@swc/jest": "^0.2.21",
"@types/jest": "^28.1.1",
"@types/node": "^17.0.40",
"@types/webrtc": "^0.0.32",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"commitizen": "^4.2.5",
"cz-conventional-changelog": "3.3.0",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-playwright": "^0.9.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"playwright": "^1.22.2",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"rollup": "^2.75.5",
"rollup-plugin-swc": "^0.2.1",
"typescript": "^4.7.3"
},
"files": [
"dist"
],
"jest": {
"modulePathIgnorePatterns": [
"./test/peer.spec.ts"
],
"transform": {
"^.+\\.(t|j)sx?$": [
"@swc/jest"
]
}
},
"husky": {
"hooks": {
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
}
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}