Skip to content

Commit

Permalink
Update dependencies to enable Greenkeeper 🌴 (thangngoc89#54)
Browse files Browse the repository at this point in the history
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* Reorganize to fix build

* Update yarn.lock for package dependencies

* Update build for Greenkeeper

* Reorder node testing array for greenkeeper
  • Loading branch information
greenkeeper[bot] authored and thangngoc89 committed Dec 29, 2017
1 parent 193f6cd commit 2850888
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 146 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 1,8 @@
language: node_js
sudo: false
node_js:
- 4
- 5
- 6
- 4
cache:
directories:
- $HOME/.npm
Expand All @@ -13,14 12,19 @@ cache:
before_install:
- npm install -g npm
- npm install -g yarn --cache-min 999999999
- yarn global add greenkeeper-lockfile@1

install:
- yarn install

before_script: greenkeeper-lockfile-update

script:
- npm run babelify
- npm run example:react:build

after_script: greenkeeper-lockfile-upload

before_deploy:
- git config --global user.name "Khoa Nguyen"
- git config --global user.email "[email protected]"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 1,6 @@
# react-howler

[![Greenkeeper badge](https://badges.greenkeeper.io/thangngoc89/react-howler.svg)](https://greenkeeper.io/)
A React.js wrapper for howler.js (audio player).

ReactHowler has no UI, you have to provide your own UI.
Expand Down
16 changes: 8 additions & 8 deletions bin/deploy-gh-pages.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 3,14 @@
const ghpages = require('gh-pages')
const path = require('path')

const callback = function (err) {
if (err) {
console.log(err)
return
}
console.log('Finish')
}

console.log('Start deployment process.')

console.log('Clean up temp folder')
Expand All @@ -13,11 21,3 @@ ghpages.publish(path.join(__dirname, '../examples/react/build'), {
repo: 'https://' process.env.GH_TOKEN '@github.com/thangngoc89/react-howler.git',
silent: true
}, callback)

var callback = function (err) {
if (err) {
console.log(err)
return
}
console.log('Finish')
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 51,11 @@
"babel-core": "^6.17.0",
"babel-preset-es2015": "^6.16.0",
"babel-preset-stage-2": "^6.17.0",
"eslint-plugin-react": "^6.9.0",
"gh-pages": "^0.12.0",
"eslint-plugin-react": "^7.5.1",
"gh-pages": "^1.1.0",
"react": "^15.0.0 || ^16.0.0",
"react-dom": "^15.0.0 || ^16.0.0",
"rimraf": "^2.5.1",
"standard": "^8.6.0"
"standard": "^10.0.3"
}
}
Loading

0 comments on commit 2850888

Please sign in to comment.