-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.54 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": "restify-websocket",
"version": "1.0.0",
"description": "Websockets on steroid",
"exports": {
"./server": {
"types": "./dist/types-server/index.d.ts",
"import": "./dist/server/index.js"
},
"./client": {
"types": "./dist/types-client/client/index.d.ts",
"import": "./dist/client/index.js"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bugwheels94/websocket-plus.git"
},
"bugs": {
"url": "https://github.com/bugwheels94/websocket-plus/issues"
},
"homepage": "https://github.com/bugwheels94/websocket-plus#readme",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"prepare": "husky install",
"build": "npm run build:types && npm run build:types:client && npm run build:code",
"build:code": " cross-env NODE_ENV=production rollup -c",
"build:types": "tsc --project ./tsconfig.types.json",
"build:types:client": "tsc --project ./tsconfig.client.types.json",
"build:code:watch": "rollup -c -w",
"build:types:watch": "tsc --watch --project ./tsconfig.types.json",
"build:types:client:watch": "tsc --watch --project ./tsconfig.client.types.json",
"build:watch": "run-p build:code:watch build:types:watch build:types:client:watch"
},
"author": "bugwheels94",
"license": "ISC",
"peerDependencies": {
"redis": "^4.6.5"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.17.9",
"@babel/plugin-transform-runtime": "^7.17.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-typescript": "^7.16.7",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@rollup/plugin-replace": "^4.0.0",
"@semantic-release/github": "^8.0.4",
"@semantic-release/npm": "^9.0.1",
"@types/ws": "^8.5.3",
"babel-plugin-const-enum": "^1.2.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"fast-glob": "^3.2.11",
"husky": "^7.0.4",
"lint-staged": "^12.3.7",
"npm-run-all": "^4.1.5",
"path-to-regexp": "^6.2.1",
"prettier": "2.6.0",
"replace": "^1.2.1",
"rollup": "^2.70.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"semantic-release": "^19.0.2",
"typescript": "^4.7.2",
"uuid": "^9.0.0"
},
"prettier": {
"singleQuote": true,
"printWidth": 120,
"useTabs": true
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"@babel/runtime": "^7.17.9",
"isomorphic-ws": "^4.0.1",
"ws": "^8.5.0"
}
}