-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
85 lines (85 loc) · 2.32 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
{
"private": true,
"name": "michaelhsu.tw",
"version": "1.4.1",
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build && react-snapshot",
"test": "CI=true react-scripts test --env=jsdom --coverage --runInBand",
"test:watch": "react-scripts test --env=jsdom",
"eslint": "eslint ./",
"format": "prettier --write 'src/**/*.js' '*.{md,json}'",
"precommit": "lint-staged",
"changelog":
"github-changes -o evenchange4 -r michaelhsu.tw -b master -f ./CHANGELOG.md --order-semver --use-commit-body"
},
"dependencies": {
"apollo-fetch": "0.7.0",
"date-fns": "1.29.0",
"polished": "1.9.0",
"react": "16.2.0",
"react-dom": "16.2.0",
"react-icons": "2.2.7",
"react-media": "1.6.1",
"react-progressive-bg-image": "2.1.2",
"styled-components": "2.4.0"
},
"devDependencies": {
"babel-eslint": "8.2.1",
"codecov": "3.0.0",
"enzyme": "3.3.0",
"enzyme-adapter-react-16": "1.1.1",
"enzyme-to-json": "3.3.0",
"eslint": "4.15.0",
"eslint-config-airbnb": "16.1.0",
"eslint-config-prettier": "2.9.0",
"eslint-plugin-flowtype": "2.41.0",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-jest": "21.7.0",
"eslint-plugin-jsx-a11y": "6.0.3",
"eslint-plugin-prettier": "2.5.0",
"eslint-plugin-react": "7.5.1",
"github-changes": "1.1.2",
"husky": "0.14.3",
"jest-styled-components": "4.10.0",
"lint-staged": "6.0.0",
"prettier": "1.10.2",
"react-scripts": "1.1.0",
"react-snapshot": "1.3.0",
"react-test-renderer": "16.2.0"
},
"prettier": {
"trailingComma": "all",
"singleQuote": true
},
"lint-staged": {
"*.{js,json,md}": ["prettier --write", "git add"]
},
"eslintConfig": {
"parser": "babel-eslint",
"extends": [
"airbnb",
"prettier",
"prettier/flowtype",
"prettier/react",
"plugin:jest/recommended"
],
"plugins": ["prettier", "jest"],
"env": {
"jest/globals": true
},
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js"]
}
],
"import/no-extraneous-dependencies": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/forbid-prop-types": 0,
"react/require-default-props": 0,
"prettier/prettier": "error"
}
}
}