-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
101 lines (101 loc) · 2.04 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
95
96
97
98
99
100
101
{
"name": "deploy.now",
"private": true,
"engines": {
"node": "8.0.x"
},
"scripts": {
"dev": "nodemon index.js -i components/ -i pages/",
"build": "next build",
"start": "NODE_ENV=production node index.js",
"test": "xo",
"precommit": "npm test -s"
},
"dependencies": {
"axios": "^0.15.2",
"body-parser": "^1.15.2",
"download-package-tarball": "^1.0.5",
"express": "^4.14.0",
"http-proxy-middleware": "^0.17.2",
"next": "^1.1.1",
"now": "^6.3.1",
"parse-github-url": "^0.3.2",
"react": "^15.5.4"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"eslint-config-xo-react": "^0.10.0",
"eslint-plugin-react": "^6.7.1",
"husky": "^0.11.9",
"nodemon": "^1.11.0",
"xo": "^0.17.1"
},
"xo": {
"parser": "babel-eslint",
"extends": "xo-react",
"esnext": true,
"space": true,
"settings": {
"import/core-modules": [
"react"
]
},
"rules": {
"no-warning-comments": "warn",
"space-infix-ops": 0,
"one-var": [
"error",
{
"uninitialized": "always",
"initialized": "never"
}
],
"max-statements-per-line": [
"error",
{
"max": 2
}
],
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"curly": [
"error",
"multi",
"consistent"
],
"quote-props": [
"error",
"consistent"
],
"arrow-parens": [
"error",
"always"
],
"unicorn/catch-error-name": [
"error",
{
"name": "error"
}
],
"unicorn/filename-case": 0,
"react/jsx-first-prop-new-line": 0,
"react/jsx-closing-bracket-location": 0,
"react/jsx-space-before-closing": [
"error",
"always"
],
"react/jsx-no-bind": [
"error",
{
"ignoreRefs": true,
"allowArrowFunctions": true
}
]
}
}
}