-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.64 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
91
92
93
94
{
"name": "cidr-coalesce",
"version": "1.1.0",
"description": "Calculate the minimum required set of CIDRs to fully cover a set of address ranges and addresses",
"repository": {
"type": "git",
"url": "https://github.com/nesukun/cidr-coalesce.git"
},
"main": "lib/index.js",
"bin": "lib/cli.js",
"scripts": {
"build": "babel src -d lib",
"circle": "npm run testci && npm run lint && (npm-check --skip-unused; exit 0;)",
"lint": "prettier --print-width 120 --trailing-comma all --single-quote true --list-different \"./+(src|test)/**/*.js\" && xo",
"precommit": "lint-staged",
"prepublish": "npm run build",
"prettify": "xo --fix && prettier --print-width 120 --trailing-comma all --single-quote true --write \"./+(src|test)/**/*.js\"",
"start": "node lib/cli",
"tdd": "nodemon --exec \"npm test && npm run lint\"",
"test": "jest --forceExit",
"testci": "jest --coverage --forceExit"
},
"author": "Nestor Hernandez Ojeda",
"license": "MIT",
"dependencies": {
"babel-polyfill": "^6.23.0",
"commander": "^2.11.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.1.0",
"babel-jest": "^20.0.3",
"babel-preset-env": "^1.5.2",
"babel-preset-stage-1": "^6.22.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-jest": "^20.0.3",
"husky": "^0.14.2",
"jest": "^20.0.4",
"lint-staged": "^4.0.1",
"nodemon": "^1.11.0",
"prettier": "^1.5.2",
"xo": "^0.18.1"
},
"jest": {
"testMatch": ["**/*.test.js"]
},
"lint-staged": {
"*.js": ["prettier --print-width 120 --trailing-comma all --single-quote true --list-different", "xo"]
},
"xo": {
"envs": ["node", "jest/globals"],
"esnext": true,
"extends": ["prettier"],
"ignores": ["static/**"],
"parser": "babel-eslint",
"plugins": ["babel", "jest"],
"space": 2,
"rules": {
"babel/new-cap": [2],
"import/no-unassigned-import": [0],
"import/prefer-default-export": [0],
"capitalized-comments": [0],
"max-params": [0],
"new-cap": [0],
"no-implicit-coercion": [
2,
{
"boolean": false
}
],
"no-negated-condition": [0],
"no-unused-expressions": [
2,
{
"allowShortCircuit": true,
"allowTaggedTemplates": true,
"allowTernary": true
}
],
"no-unused-vars": [
2,
{
"vars": "all",
"args": "none",
"ignoreRestSiblings": true
}
],
"no-void": [0],
"radix": [2, "as-needed"]
}
}
}