File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ before_install:
26
26
# Setup Node.js version-specific dependencies
27
27
- " test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul"
28
28
- " test $TRAVIS_NODE_VERSION = '0.8' || npm install browserify"
29
- - " 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 "
29
+ - " test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E ' \" eslint\\ S* \" ' package.json | cut -d' \" ' -f2) "
30
30
31
31
# Update Node.js modules
32
32
- " test ! -d node_modules || npm prune"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ install:
20
20
- npm rm --save-dev benchmark beautify-benchmark & ver > nul
21
21
- if "%nodejs_version%" equ "0.8" npm config set strict-ssl false
22
22
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
23
- - npm rm --save-dev eslint eslint-config-standard eslint-plugin-markdown eslint-plugin-promise eslint-plugin-standard
23
+ - for /f tokens^=2^ delims^=^" %%m in ('findstr /r /c:" eslint[^ ]" package.json') do call npm rm --save-dev %%m
24
24
- if exist node_modules npm prune
25
25
- if exist node_modules npm rebuild
26
26
- npm install
Original file line number Diff line number Diff line change 14
14
"benchmark" : " 2.1.4" ,
15
15
"beautify-benchmark" : " 0.2.4" ,
16
16
"eslint" : " 3.19.0" ,
17
- "eslint-config-standard" : " 7.1.0" ,
17
+ "eslint-config-standard" : " 10.2.1" ,
18
+ "eslint-plugin-import" : " 2.8.0" ,
18
19
"eslint-plugin-markdown" : " 1.0.0-beta.7" ,
20
+ "eslint-plugin-node" : " 5.2.1" ,
19
21
"eslint-plugin-promise" : " 3.6.0" ,
20
22
"eslint-plugin-standard" : " 3.0.1" ,
21
23
"istanbul" : " 0.4.5" ,
You can’t perform that action at this time.
0 commit comments