Skip to content

Commit

Permalink
Fix issue with dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
gibbok committed Jul 5, 2016
1 parent 83cc3d8 commit 79990d4
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ColorPickerPalette is a React reusable color picker palette written in ES6.
---

### Great! So how do I use it?
- Add this dependecy in your package.json: `"dependencies": { "react-color-picker-palette": "^1.0.5" }`.
- Add this dependecy in your package.json: `"dependencies": { "react-color-picker-palette": "^1.0.6" }`.
- Add a reference to ColorPickerPalette.js in your React application: `import ColorPickerPalette from '.node_modules/react-color-picker-palette/ColorPickerPalette.jsx`.
- Initiate the color picker in your `render()` function: `<ColorPickerPalette id='yourPicker'/>`.

Expand Down
12 changes: 3 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
const gulp = require('gulp');
const connect = require('gulp-connect');
const open = require('open');
const jscs = require('gulp-jscs');
const jshint = require('gulp-jshint');
const stylish = require('gulp-jscs-stylish');
const gulpJsdoc2md = require('gulp-jsdoc-to-markdown')
const rename = require('gulp-rename');
const concat = require('gulp-concat');
const gutil = require('gulp-util');
const uglify = require('gulp-uglify');
const fs = require('fs');
const stylish = require('gulp-jscs-stylish');
const open = require('open');

/**
* Open examples in the browser.
Expand All @@ -33,4 +27,4 @@ gulp.task('checkcode', function () {
/**
* Default action.
*/
gulp.task('default', ['compress'], function () { });
gulp.task('default', ['examples'], function () { });
84 changes: 45 additions & 39 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,47 @@
{
"name": "react-color-picker-palette",
"version": "1.0.5",
"description": "ColorPickerPalette is a React reusable color picker palette written in ES6.",
"main": "ColorPickerPalette.jsx",
"keywords": [
"javascript",
"react",
"color",
"picker",
"palette",
"color picker",
"color picker palette"
],
"repository": {
"type" : "git",
"url" : "https://github.com/gibbok/react-color-picker-palette.git"
},
"author": "GibboK",
"license": "MIT",
"scripts": {
"start": "webpack-dev-server --hot"
},
"dependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.10.1",
"babel-core": "^6.9.1",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"gulp": "^3.9.1",
"gulp-jshint": "^2.0.0",
"gulp-util": "^3.0.7",
"jshint-stylish": "^2.1.0",
"open": "^0.0.5",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
}
"name": "react-color-picker-palette",
"version": "1.0.6",
"description": "ColorPickerPalette is a React reusable color picker palette written in ES6.",
"main": "ColorPickerPalette.jsx",
"keywords": [
"javascript",
"react",
"color",
"picker",
"palette",
"color picker",
"color picker palette"
],
"repository": {
"type": "git",
"url": "https://github.com/gibbok/react-color-picker-palette.git"
},
"author": "GibboK",
"license": "MIT",
"scripts": {
"start": "webpack-dev-server --hot"
},
"dependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.10.1",
"babel-core": "^6.9.1",
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.5.0",
"gulp": "^3.9.1",
"gulp-jscs": "4.0.0",
"gulp-jshint": "^2.0.1",
"gulp-util": "^3.0.7",
"gulp-jscs-stylish": "^1.3.0",
"jshint-stylish": "^2.1.0",
"open": "^0.0.5",
"react": "^15.1.0",
"react-dom": "^15.1.0",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
},
"devDependencies": {
"gulp-jshint": "^2.0.1",
"jshint": "^2.9.2"
}
}

0 comments on commit 79990d4

Please sign in to comment.