-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
75 lines (75 loc) · 1.9 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
{
"dependencies": {
"@eins78/react-autocomplete": "1.7.3-fork.1",
"@rails/webpacker": "3.0.2",
"babel-preset-react": "^6.24.1",
"classnames": "^2.2.5",
"coffeescript": "1.12.7",
"create-react-class": "^15.6.2",
"eslint": "^4.10.0",
"eslint-config-prettier": "^2.7.0",
"eslint-plugin-prettier": "^2.3.1",
"eslint-plugin-react": "^7.4.0",
"lodash": "^4.17.4",
"prettier": "1.10.2",
"prettier-eslint": "^8.2.1",
"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-autocomplete": "^1.7.2",
"react-bootstrap": "^0.32.0",
"react-dom": "^16.0.0",
"react_ujs": "^2.4.1",
"webpack-bundle-analyzer": "^2.9.1",
"webpack-dev-server": "^2.9.4",
"webpack-merge": "^4.1.1",
"yarn": "^1.7.0"
},
"scripts": {
"start": "./bin/webpack-dev-server",
"lint": "eslint app/javascript/",
"format": "prettier --write app/javascript/{*,**/*}.js",
"preinstall": "rm -rf tmp/node_modules_git ; cp -R node_modules/.git tmp/node_modules_git",
"postinstall": "rm -rf node_modules/.git ; cp -R tmp/node_modules_git node_modules/.git"
},
"prettier": {
"printWidth": 100,
"singleQuote": true,
"semi": false,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": true
},
"eslintConfig": {
"env": {
"es6": true,
"browser": true,
"commonjs": true
},
"parserOptions": {
"ecmaVersion": 2016,
"sourceType": "module",
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"plugins": [
"prettier",
"react"
],
"extends": [
"eslint:recommended",
"prettier",
"prettier/react",
"prettier/standard",
"plugin:react/recommended"
],
"rules": {
"prettier/prettier": [
"error"
],
"react/prop-types": "off"
}
}
}