forked from dphilipson/sturdy-websocket
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.97 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.97 KB
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
{
"name": "sturdy-websocket",
"version": "0.2.0",
"description": "Tiny WebSocket wrapper that reconnects and resends failed messages.",
"main": "dist/index.js",
"types": "dist/index",
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git://github.com/dphilipson/sturdy-websocket.git"
},
"homepage": "https://github.com/dphilipson/sturdy-websocket",
"bugs": {
"url": "https://github.com/dphilipson/sturdy-websocket/issues",
"email": "david.philipson@gmail.com"
},
"author": "David Philipson <david.philipson@gmail.com> (http://dphil.me)",
"license": "MIT",
"scripts": {
"build": "yarn run clean && tsc -p tsconfig.build.json",
"clean": "rm -rf dist/*",
"format": "prettier --write",
"generate-toc": "markdown-toc -i",
"jest": "jest",
"jest-watch": "yarn run jest --watch",
"lint": "tslint --project .",
"prepare": "yarn run build",
"test": "npm-run-all lint typecheck jest",
"typecheck": "tsc"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json}": [
"yarn run format",
"git add"
],
"*.{ts,tsx}": [
"yarn run lint --fix",
"yarn run format",
"git add"
],
"*.md": [
"yarn run generate-toc",
"git add"
]
},
"devDependencies": {
"@d-fischer/isomorphic-ws": "^6.0.0",
"@types/jest": "^24.0.18",
"@types/ws": "^6.0.3",
"@types/node": "^14",
"jest": "^26.6.3",
"lint-staged": "^9.2.5",
"markdown-toc": "^1.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.0",
"ts-jest": "^26.5.2",
"tslint": "^5.19.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4",
"ws": "^7.4.0"
},
"dependencies": {}
}