-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
60 lines (60 loc) · 1.34 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
{
"name": "dgraph-js-ws",
"version": "0.2.2",
"description": "dGraph JS WebSocket Client",
"main": "lib/index.js",
"author": "Simon Liang <simon@x-tech.io>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/xanthous-tech/dgraph-js-ws.git"
},
"files": [
"lib"
],
"scripts": {
"clean": "rimraf lib",
"build": "tsc",
"lint": "eslint ./src --ext .ts",
"lint:fix": "eslint --fix",
"format": "prettier --write",
"dev": "npm run build && npm run start",
"start": "DEBUG=dgraph-js-ws:* node .",
"postinstall": "npm run build"
},
"dependencies": {
"debug": "^4.1.1",
"uniqid": "^5.2.0",
"ws": "^7.3.0"
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/node": "12",
"@types/uniqid": "^5.2.0",
"@types/ws": "^7.2.4",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"eslint": "^6.8.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.2",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"ts-node": "^8.10.1",
"typescript": "^3.9.2"
},
"volta": {
"node": "12.16.3",
"yarn": "1.22.4"
},
"lint-staged": {
"src/**/*.ts": [
"npm run lint:fix",
"npm run format"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged npm run build"
}
}
}