Permalink
Browse files

update packages.

  • Loading branch information...
1 parent c89c257 commit 2a479b11a15a1a198c1d8cc2697f23a26149fff5 KimuraTetsuro committed Jun 2, 2016
Showing with 17 additions and 3 deletions.
  1. +7 −0 .babelrc
  2. +10 −3 package.json
View
@@ -0,0 +1,7 @@
+{
+ "presets": [
+ "react",
+ "es2015",
+ "stage-1"
+ ]
+}
View
@@ -4,7 +4,7 @@
"description": "React component for creating blurred backgrounds.",
"main": "dist/blur.js",
"scripts": {
- "prepublish": "mkdir -p dist && babel src/blur.jsx -u -o dist/blur.js --stage 1 && lessc src/blur.less dist/blur.css",
+ "prepublish": "mkdir -p dist && babel src/blur.jsx -u -o dist/blur.js && lessc src/blur.less dist/blur.css",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
@@ -23,12 +23,19 @@
"author": "javierbyte",
"license": "ISC",
"dependencies": {
- "react-addons-pure-render-mixin": "^0.14.7"
+ "react": "^15.1.0",
+ "react-addons-pure-render-mixin": "^15.1.0",
+ "react-dom": "^15.1.0"
},
"devDependencies": {
+ "babel-cli": "^6.9.0",
"babel-eslint": "^3.1.20",
+ "babel-preset-es2015": "^6.9.0",
+ "babel-preset-react": "^6.5.0",
+ "babel-preset-stage-1": "^6.5.0",
"eslint": "^0.24.0",
"eslint-plugin-babel": "^1.0.0",
- "eslint-plugin-react": "^2.6.4"
+ "eslint-plugin-react": "^2.6.4",
+ "less": "^2.7.1"
}
}

0 comments on commit 2a479b1

Please sign in to comment.