-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
78 lines (78 loc) · 1.93 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
{
"name": "kcp-node",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "babel src --out-dir lib -w",
"build": "babel src --out-dir lib",
"lint": "eslint src",
"test": "jest",
"test:inte": "npm run build && node lib/kcp/__tests__/packets.js",
"test:travis": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"test:watch": "jest --watch",
"test:single": "jest src/kcp/__tests__/packet.spec.js --watch",
"benchmark:udp": "node lib/__tests__/udp.benchmark.js",
"benchmark:encrypt": "node lib/__tests__/encrypt.benchmark.js",
"benchmark:socket": "node --inspect-brk lib/__tests__/socket.benchmark.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oyyd/kcp-node.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/oyyd/kcp-node/issues"
},
"homepage": "https://github.com/oyyd/kcp-node#readme",
"dependencies": {
"crc": "^3.4.4"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-jest": "^20.0.3",
"babel-preset-es2015": "^6.24.1",
"coveralls": "^2.13.1",
"eslint": "^3.19.0",
"eslint-config-airbnb-base": "^11.2.0",
"eslint-plugin-import": "^2.7.0",
"jest": "^20.0.4"
},
"babel": {
"presets": [
[
"es2015",
{
"loose": true
}
]
]
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"semi": [
2,
"never"
],
"camelcase": 0,
"no-param-reassign": 0,
"no-mixed-operators": 0,
"operator-assignment": 0,
"no-bitwise": 0,
"no-shadow": 0,
"prefer-template": 0,
"arrow-parens": 0,
"global-require": 0,
"import/prefer-default-export": 0
},
"env": {
"node": true,
"jest": true
}
},
"jest": {
"testRegex": "/src.*/__tests__/.*(test|spec)\\.jsx?$"
}
}