This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree 2 files changed +1071
-590
lines changed
2 files changed +1071
-590
lines changed Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " xo" ,
8
- "lint" :
9
- " prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix" ,
8
+ "lint" : " prettier 'utils/**/*.js' 'components/**/*.js' 'pages/**/*.js' 'lib/**/*.js' 'hocs/**/*.js' '*.js' --write --single-quote --print-width='80' --trailing-comma='all' && xo --fix" ,
10
9
"precommit" : " lint-staged" ,
11
10
"analyze" : " cross-env ANALYZE=1 next build" ,
12
11
"dev" : " cross-env NODE_ENV=development nodemon server.js -w server.js" ,
17
16
},
18
17
"xo" : {
19
18
"parser" : " babel-eslint" ,
20
- "extends" : [" prettier" , " prettier/react" , " plugin:react/recommended" ],
21
- "env" : [" browser" , " node" ],
19
+ "extends" : [
20
+ " prettier" ,
21
+ " prettier/react" ,
22
+ " plugin:react/recommended"
23
+ ],
24
+ "env" : [
25
+ " browser" ,
26
+ " node"
27
+ ],
22
28
"rules" : {
23
29
"linebreak-style" : 0 ,
24
30
"react/display-name" : 0 ,
25
31
"react/prop-types" : 0
26
32
},
27
33
"space:" : 2 ,
28
- "ignores" : [" next.config.js" ]
34
+ "ignores" : [
35
+ " next.config.js"
36
+ ]
29
37
},
30
38
"lint-staged" : {
31
39
"*.js" : [
48
56
"isomorphic-unfetch" : " ^2.0.0" ,
49
57
"js-cookie" : " ^2.1.4" ,
50
58
"moment" : " ^2.19.1" ,
51
- "next" : " 2.4.7 " ,
59
+ "next" : " ^4.1.0 " ,
52
60
"nprogress" : " ^0.2.0" ,
53
61
"preact" : " ^8.2.1" ,
54
62
"preact-compat" : " ^3.16.0" ,
55
63
"prop-types" : " ^15.5.10" ,
56
- "react" : " ^15.6.1 " ,
64
+ "react" : " ^16.0.0 " ,
57
65
"react-count-down" : " ^1.1.0" ,
58
- "react-dom" : " ^15.6.1 " ,
66
+ "react-dom" : " ^16.0.0 " ,
59
67
"react-ga" : " ^2.2.0" ,
60
68
"react-headroom" : " ^2.1.6" ,
61
69
"react-icons" : " ^2.2.5" ,
You can’t perform that action at this time.
0 commit comments