File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 24
24
before_install :
25
25
# Setup Node.js version-specific dependencies
26
26
- " test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
27
- - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard"
28
-
27
+ - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\" eslint\\ S*\" ' package.json | cut -d'\" ' -f2)"
29
28
# Update Node.js modules
30
29
- " test ! -d node_modules || npm prune"
31
30
- " test ! -d node_modules || npm rebuild"
Original file line number Diff line number Diff line change 15
15
install :
16
16
- ps : Install-Product node $env:nodejs_version
17
17
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
18
- - npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard
18
+ - for /f tokens^=2^ delims^=^" %%m in ('findstr /r /c:" eslint[^ ]" package.json') do call npm rm --save-dev %%m
19
19
- if exist node_modules npm prune
20
20
- if exist node_modules npm rebuild
21
21
- npm install
Original file line number Diff line number Diff line change 19
19
},
20
20
"devDependencies" : {
21
21
"eslint" : " 3.19.0" ,
22
- "eslint-config-standard" : " 7.1.0" ,
22
+ "eslint-config-standard" : " 10.2.1" ,
23
+ "eslint-plugin-import" : " 2.2.0" ,
23
24
"eslint-plugin-markdown" : " 1.0.0-beta.6" ,
25
+ "eslint-plugin-node" : " 4.2.2" ,
24
26
"eslint-plugin-promise" : " 3.5.0" ,
25
- "eslint-plugin-standard" : " 2.1 .1" ,
27
+ "eslint-plugin-standard" : " 3.0 .1" ,
26
28
"istanbul" : " 0.4.5" ,
27
29
"mocha" : " 2.5.3" ,
28
30
"supertest" : " 1.1.0" ,
You can’t perform that action at this time.
0 commit comments