-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
55 lines (55 loc) · 1.43 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
{
"name": "@cloudpss/peers",
"version": "0.3.3",
"description": "CloudPSS p2p framework",
"repository": "https://github.com/CloudPSS/peers",
"author": "CloudPSS",
"license": "MIT",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"browser": {
"./dist/polyfill.js": "./dist/polyfill_browser.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"prepare": "husky install",
"format": "prettier --ignore-path .gitignore --write .",
"lint": "eslint --ext .js,.ts .",
"start": "yarn clean && tsc --watch",
"build": "yarn clean && tsc",
"prepublishOnly": "yarn build",
"clean": "rimraf dist"
},
"prettier": "@cloudpss/prettier-config",
"commitlint": {
"extends": "@cloudpss"
},
"devDependencies": {
"@cloudpss/commitlint-config": "^1.2.0",
"@cloudpss/eslint-config": "^1.2.0",
"@cloudpss/lint-staged-config": "^1.2.0",
"@cloudpss/prettier-config": "^1.2.0",
"@cloudpss/tsconfig": "^1.2.0",
"husky": "^8.0.1",
"typescript": "^4.8.4"
},
"dependencies": {
"@cloudpss/fetch": "^0.4.2",
"@cloudpss/ubjson": "^0.4.2",
"@types/simple-peer": "^9.11.5",
"request": "^2.88.2",
"rxjs": "^7.5.7",
"simple-peer": "^9.11.1",
"socket.io-client": "^4.5.2",
"tslib": "^2.4.0",
"type-fest": "^3.0.0",
"wrtc": "^0.4.7"
}
}