This repository was archived by the owner on Mar 9, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ sudo: required
2
2
dist : trusty
3
3
language : node_js
4
4
node_js :
5
- - ' 7.7 '
5
+ - ' 8.6 '
6
6
before_install :
7
7
- ' curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 0.27.5'
8
8
- ' export PATH="$HOME/.yarn/bin:$PATH"'
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " xo" ,
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" ,
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" ,
9
10
"precommit" : " lint-staged" ,
10
11
"analyze" : " cross-env ANALYZE=1 next build" ,
11
12
"dev" : " cross-env NODE_ENV=development next" ,
12
13
"start" : " cross-env NODE_ENV=production next start" ,
13
14
"build" : " next build" ,
14
- "export" : " yarn build && next export"
15
+ "export" : " cross-env NODE_ENV=production yarn build && next export"
15
16
},
16
17
"xo" : {
17
18
"parser" : " babel-eslint" ,
18
- "extends" : [
19
- " prettier" ,
20
- " prettier/react" ,
21
- " plugin:react/recommended"
22
- ],
23
- "env" : [
24
- " browser" ,
25
- " node"
26
- ],
19
+ "extends" : [" prettier" , " prettier/react" , " plugin:react/recommended" ],
20
+ "env" : [" browser" , " node" ],
27
21
"rules" : {
28
22
"linebreak-style" : 0 ,
29
23
"react/display-name" : 0 ,
30
24
"react/prop-types" : 0
31
25
},
32
26
"space:" : 2 ,
33
- "ignores" : [
34
- " next.config.js"
35
- ]
27
+ "ignores" : [" next.config.js" ]
36
28
},
37
29
"lint-staged" : {
38
30
"*.js" : [
You can’t perform that action at this time.
0 commit comments