Skip to content

Commit

Permalink
Upgrade color-convert (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored and kurkle committed Jun 26, 2019
1 parent 290007f commit c661e33
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
sudo: false
language: node_js
node_js:
- 4
- lts/*

script:
- gulp build
Expand Down
6 changes: 1 addition & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@ var streamify = require('gulp-streamify');
var browserify = require('browserify');
var source = require('vinyl-source-stream');

gulp.task('default', ['build', 'watch']);

// Build
gulp.task('build', buildTask);

// Watch
gulp.task('watch', watchTask);
gulp.task('default', gulp.parallel('build', 'watch'));

function buildTask() {
return browserify('./index.js', {debug: true})
Expand Down
26 changes: 17 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,17 @@
"license": "MIT",
"repository": "chartjs/chartjs-color",
"xo": {
"envs": ["browser", "node"],
"envs": [
"browser",
"node"
],
"rules": {
"one-var": [2, { "initialized": "never" }],
"one-var": [
2,
{
"initialized": "never"
}
],
"linebreak-style": 0,
"no-cond-assign": 0,
"new-cap": 0
Expand All @@ -33,17 +41,17 @@
"test": "mocha"
},
"dependencies": {
"color-convert": "^0.5.3",
"color-convert": "^1.9.3",
"chartjs-color-string": "^0.6.0"
},
"devDependencies": {
"browserify": "^10.1.3",
"gulp": "^3.8.11",
"gulp-rename": "^1.2.2",
"gulp-uglify": "^1.2.0",
"browserify": "^16.2.3",
"gulp": "^4.0.0",
"gulp-rename": "^1.4.0",
"gulp-uglify": "^3.0.2",
"gulp-streamify": "^1.0.2",
"mocha": "^2.2.5",
"vinyl-source-stream": "^1.1.0",
"mocha": "^6.0.2",
"vinyl-source-stream": "^2.0.0",
"xo": "^0.12.1"
}
}

0 comments on commit c661e33

Please sign in to comment.