-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
79 lines (79 loc) · 1.71 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
{
"name": "koa-ws",
"version": "1.0.1",
"description": "Seamless WebSocket integration for Koa2",
"license": "MPL-2.0",
"repository": "shellscape/koa-ws",
"author": "shellscape",
"homepage": "https://github.com/shellscape/koa-ws",
"bugs": "https://github.com/shellscape/koa-ws/issues",
"bin": "",
"main": "lib/index.js",
"engines": {
"node": ">=8.0.0"
},
"scripts": {
"ci:coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "npm run lint && npm run security",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "npm run test -- --verbose",
"commitlint": "commitlint",
"commitmsg": "commitlint -e $GIT_PARAMS",
"lint": "eslint --fix --cache lib test",
"lint-staged": "lint-staged",
"security": "npm audit",
"test": "ava"
},
"files": [
"lib/",
"README.md",
"LICENSE"
],
"peerDependencies": {
"koa": "^2.5.3"
},
"dependencies": {
"ws": "^7.1.0"
},
"devDependencies": {
"@commitlint/cli": "^8.1.0",
"@commitlint/config-conventional": "^8.0.0",
"ava": "^2.2.0",
"eslint-config-shellscape": "^2.1.0",
"get-port": "4.2.0",
"koa": "^2.5.3",
"lint-staged": "^9.2.0",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2"
},
"keywords": [
"koa",
"koa2",
"middleware",
"socket",
"websocket",
"websockets"
],
"ava": {
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"nyc": {
"include": [
"lib/**/*.js"
],
"exclude": [
"test/"
]
},
"pre-commit": "lint-staged"
}