File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 2424before_install :
2525 # Setup Node.js version-specific dependencies
2626 - " 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)"
2928 # Update Node.js modules
3029 - " test ! -d node_modules || npm prune"
3130 - " test ! -d node_modules || npm rebuild"
Original file line number Diff line number Diff line change 1515install :
1616 - ps : Install-Product node $env:nodejs_version
1717 - 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
1919 - if exist node_modules npm prune
2020 - if exist node_modules npm rebuild
2121 - npm install
Original file line number Diff line number Diff line change 1212 "send" : " 0.15.1"
1313 },
1414 "devDependencies" : {
15- "eslint" : " 3.17.0" ,
16- "eslint-config-standard" : " 7.0.0" ,
15+ "eslint" : " 3.19.0" ,
16+ "eslint-config-standard" : " 10.2.1" ,
17+ "eslint-plugin-import" : " 2.2.0" ,
1718 "eslint-plugin-markdown" : " 1.0.0-beta.4" ,
19+ "eslint-plugin-node" : " 4.2.2" ,
1820 "eslint-plugin-promise" : " 3.5.0" ,
19- "eslint-plugin-standard" : " 2.1 .1" ,
21+ "eslint-plugin-standard" : " 3.0 .1" ,
2022 "istanbul" : " 0.4.5" ,
2123 "mocha" : " 2.5.3" ,
2224 "supertest" : " 1.1.0"
You can’t perform that action at this time.
0 commit comments