|
5 | 5 | "main": "index.js",
|
6 | 6 | "scripts": {
|
7 | 7 | "test": "xo && jest",
|
8 |
| - "lint": "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", |
| 8 | + "lint": |
| 9 | + "prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' '*.json' --write && xo && markdownlint .", |
9 | 10 | "precommit": "lint-staged",
|
10 | 11 | "analyze": "cross-env ANALYZE=1 next build",
|
11 | 12 | "dev": "cross-env NODE_ENV=development node server.js",
|
|
17 | 18 | },
|
18 | 19 | "xo": {
|
19 | 20 | "parser": "babel-eslint",
|
20 |
| - "extends": [ |
21 |
| - "prettier", |
22 |
| - "prettier/react", |
23 |
| - "plugin:react/recommended" |
24 |
| - ], |
25 |
| - "env": [ |
26 |
| - "browser", |
27 |
| - "node" |
28 |
| - ], |
| 21 | + "extends": ["prettier", "prettier/react", "plugin:react/recommended"], |
| 22 | + "env": ["browser", "node"], |
29 | 23 | "rules": {
|
30 | 24 | "linebreak-style": 0,
|
31 | 25 | "react/display-name": 0,
|
32 | 26 | "react/prop-types": 0
|
33 | 27 | },
|
34 | 28 | "space:": 2,
|
35 |
| - "ignores": [ |
36 |
| - "next.config.js" |
37 |
| - ], |
| 29 | + "ignores": ["next.config.js"], |
38 | 30 | "overrides": [
|
39 | 31 | {
|
40 | 32 | "files": "**/__tests__/*.test.js",
|
41 |
| - "globals": [ |
42 |
| - "describe", |
43 |
| - "it", |
44 |
| - "expect" |
45 |
| - ] |
| 33 | + "globals": ["describe", "it", "expect"] |
46 | 34 | }
|
47 | 35 | ]
|
48 | 36 | },
|
|
53 | 41 | "jest --findRelatedTests",
|
54 | 42 | "git add"
|
55 | 43 | ],
|
56 |
| - "**/*.md": [ |
57 |
| - "prettier", |
58 |
| - "markdownlint", |
59 |
| - "git add" |
60 |
| - ], |
61 |
| - ".github/CONTRIBUTING.md": [ |
62 |
| - "doctoc", |
63 |
| - "prettier", |
64 |
| - "git add" |
65 |
| - ] |
| 44 | + "**/*.md": ["prettier", "markdownlint", "git add"], |
| 45 | + ".github/CONTRIBUTING.md": ["doctoc", "prettier", "git add"] |
66 | 46 | },
|
67 | 47 | "dependencies": {
|
68 |
| - "babel-plugin-emotion": "^8.0.10", |
| 48 | + "babel-plugin-emotion": "^9.2.6", |
69 | 49 | "date-fns": "^1.29.0",
|
70 |
| - "emotion": "^8.0.10", |
71 |
| - "emotion-server": "^8.0.10", |
72 |
| - "get-port": "^3.2.0", |
73 |
| - "grid-emotion": "^2.1.0", |
74 |
| - "isomorphic-unfetch": "2.0.0", |
| 50 | + "emotion": "^9.2.6", |
| 51 | + "emotion-server": "^9.2.6", |
| 52 | + "get-port": "^4.0.0", |
| 53 | + "grid-styled/emotion": "^5.0.2", |
| 54 | + "isomorphic-unfetch": "2.1.0", |
75 | 55 | "lodash.take": "^4.1.1",
|
76 |
| - "marked": "^0.3.6", |
77 |
| - "next": "^4.2.3", |
| 56 | + "marked": "^0.4.0", |
| 57 | + "next": "^6.1.1", |
78 | 58 | "nprogress": "^0.2.0",
|
79 | 59 | "path-match": "1.2.4",
|
80 |
| - "prop-types": "^15.5.10", |
81 |
| - "react": "^16.0.0", |
82 |
| - "react-content-loader": "^1.7.1", |
83 |
| - "react-dom": "^16.0.0", |
84 |
| - "react-emotion": "^8.0.10", |
85 |
| - "react-event-timeline": "^1.4.0", |
| 60 | + "prop-types": "^15.6.2", |
| 61 | + "react": "^16.4.1", |
| 62 | + "react-content-loader": "^3.1.2", |
| 63 | + "react-dom": "^16.4.1", |
| 64 | + "react-emotion": "^9.2.6", |
| 65 | + "react-event-timeline": "^1.5.4", |
86 | 66 | "react-headroom": "^2.1.6",
|
87 | 67 | "react-icons": "^2.2.5",
|
88 |
| - "styled-system": "^1.0.8" |
| 68 | + "styled-system": "^3.0.2" |
89 | 69 | },
|
90 | 70 | "devDependencies": {
|
91 |
| - "all-contributors-cli": "4.11.1", |
92 |
| - "babel-eslint": "7.2.3", |
93 |
| - "babel-plugin-lodash": "3.3.2", |
94 |
| - "cross-env": "5.1.4", |
| 71 | + "all-contributors-cli": "5.3.0", |
| 72 | + "babel-eslint": "8.2.6", |
| 73 | + "babel-plugin-lodash": "3.3.4", |
| 74 | + "cross-env": "5.2.0", |
95 | 75 | "doctoc": "1.3.1",
|
96 | 76 | "enzyme": "3.3.0",
|
97 | 77 | "enzyme-adapter-react-16": "1.1.1",
|
98 |
| - "enzyme-to-json": "3.3.3", |
| 78 | + "enzyme-to-json": "3.3.4", |
99 | 79 | "eslint-config-prettier": "2.9.0",
|
100 |
| - "eslint-plugin-react": "7.6.1", |
| 80 | + "eslint-plugin-react": "7.10.0", |
101 | 81 | "husky": "0.14.3",
|
102 |
| - "jest": "22.4.1", |
103 |
| - "lint-staged": "7.0.0", |
104 |
| - "markdownlint-cli": "0.7.1", |
| 82 | + "jest": "23.4.1", |
| 83 | + "lint-staged": "7.2.0", |
| 84 | + "markdownlint-cli": "0.11.0", |
105 | 85 | "opn": "5.3.0",
|
106 |
| - "prettier": "1.11.1", |
| 86 | + "prettier": "1.13.7", |
107 | 87 | "raf": "3.4.0",
|
108 |
| - "react-test-renderer": "16.2.0", |
109 |
| - "typescript": "2.7.2", |
110 |
| - "typescript-styled-plugin": "0.6.0", |
111 |
| - "webpack-bundle-analyzer": "2.11.1", |
112 |
| - "xo": "0.20.3" |
| 88 | + "react-test-renderer": "16.4.1", |
| 89 | + "typescript": "2.9.2", |
| 90 | + "typescript-styled-plugin": "0.10.0", |
| 91 | + "webpack-bundle-analyzer": "2.13.1", |
| 92 | + "xo": "0.21.1" |
113 | 93 | },
|
114 | 94 | "keywords": [],
|
115 | 95 | "contributors": [
|
|
0 commit comments