Skip to content

Commit

Permalink
feat: Migrate to npm@latest (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwiens authored Jun 6, 2017
1 parent 3e2cef8 commit 14bb0a7
Show file tree
Hide file tree
Showing 10 changed files with 5,219 additions and 4,611 deletions.
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
yarn.lock -diff
package-lock.json -diff
* text=auto
bin/* eol=lf
bin/* eol=lf
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ Thumbs.db
.vscode
*.sublime-project
*.sublime-workspace
yarn-debug.log*
18 changes: 10 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,28 @@ matrix:
fast_finish: true
include:
- os: linux
node_js: '7'
env: WEBPACK_VERSION="2.2.0" JOB_PART=lint
node_js: '8'
env: WEBPACK_VERSION="2.6.0" JOB_PART=lint
- os: linux
node_js: '4.3'
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
env: WEBPACK_VERSION="2.6.0" JOB_PART=test
- os: linux
node_js: '6'
env: WEBPACK_VERSION="2.2.0" JOB_PART=test
env: WEBPACK_VERSION="2.6.0" JOB_PART=test
- os: linux
node_js: '7'
env: WEBPACK_VERSION="2.2.0" JOB_PART=coverage
node_js: '8'
env: WEBPACK_VERSION="2.6.0" JOB_PART=coverage
before_install:
- if [[ `npm -v` != 5* ]]; then npm i -g npm@^5.0.0; fi
- nvm --version
- node --version
- npm --version
before_script:
- |-
if [ "$WEBPACK_VERSION" ]; then
yarn add webpack@^$WEBPACK_VERSION
npm i --no-save webpack@^$WEBPACK_VERSION
fi
script:
- 'yarn run travis:$JOB_PART'
- 'npm run travis:$JOB_PART'
after_success:
- 'bash <(curl -s https://codecov.io/bash)'
4 changes: 3 additions & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
"package"
],
"webpackVersion": "2.6.0",
"minNode": "4.3"
"minNode": "4.3",
"latestNodeLTS": "6",
"latestNode": "8"
}
Loading

0 comments on commit 14bb0a7

Please sign in to comment.