-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
134 lines (134 loc) · 3.25 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
{
"name": "sync-gateway-editor",
"version": "0.1.0",
"private": true,
"dependencies": {
"babelrc-to-install": "^1.0.4",
"combine-reducers": "^1.0.0",
"dotenv": "^4.0.0",
"eslint-config-react-app": "^2.0.1",
"eslint-plugin-flowtype": "^2.39.1",
"lint": "^1.1.2",
"material-ui": "^0.20.0",
"query-string": "^5.0.0",
"react": "^16.2.0",
"react-confirm-alert": "^1.0.8",
"react-dom": "^16.2.0",
"react-file-download": "^0.3.5",
"react-paginate": "^5.0.0",
"react-redux": "^5.0.6",
"react-s-alert": "^1.3.2",
"react-scripts": "1.0.14",
"react-tap-event-plugin": "^3.0.2",
"redux": "^3.7.2",
"whitesource": "^17.12.4"
},
"scripts": {
"prestart": "docker-compose up --build -d",
"start": "react-scripts start",
"docker-down": "docker-compose down",
"build": "react-scripts build",
"test": "ava \"src/**/*.test.js\"",
"cover": "nyc npm run test",
"watch:test": "npm run test -- --watch",
"check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"prepush": "yarn test",
"eject": "react-scripts eject",
"prettify": "eslint --ext .js --fix src/",
"lint": "eslint ./src",
"precommit": "lint-staged"
},
"devDependencies": {
"ava": "^0.24.0",
"babel-core": "^6.26.0",
"babel-polyfill": "^6.26.0",
"babel-preset-airbnb": "^2.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.26.0",
"eslint": "^4.5.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-config-prettier": "^2.3.0",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "7.1.0",
"husky": "^0.14.3",
"lint-staged": "^4.3.0",
"nyc": "^11.3.0",
"prettier": "^1.7.4",
"react-test-renderer": "^16.0.0"
},
"nyc": {
"reporter": [
"lcov",
"text",
"html"
]
},
"ava": {
"babel": "inherit",
"require": [
"babel-register",
"./test/helpers/setup-test-env.js"
]
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"eslintConfig": {
"extends": [
"airbnb",
"plugin:flowtype/recommended",
"prettier",
"prettier/flowtype",
"prettier/react"
],
"rules": {
"react/no-string-refs": "off",
"react/no-unused-prop-types": "off",
"react/prop-types": 0,
"import/no-unresolved": 0,
"import/extensions": 0,
"prettier/prettier": [
"error",
{
"singleQuote": true,
"parser": "flow",
"trailingComma": "all"
}
],
"no-console": "off",
"import/no-extraneous-dependencies": "off",
"react/jsx-filename-extension": [
1,
{
"extensions": [
".js",
".jsx"
]
}
],
"react/jsx-wrap-multilines": "off",
"arrow-parens": [
"error",
"as-needed"
]
},
"plugins": [
"prettier",
"flowtype"
],
"env": {
"browser": true
},
"globals": {
"fetch": true
}
}
}