Skip to content

Commit

Permalink
Add .babelrc & Move to babel 6
Browse files Browse the repository at this point in the history
  • Loading branch information
arkist committed Jan 20, 2016
1 parent c901e43 commit ae8ca4d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .babelrc
@@ -0,0 +1,3 @@
{
"presets": ["es2015", "react", "stage-0"],
}
13 changes: 8 additions & 5 deletions package.json
Expand Up @@ -8,7 +8,7 @@
"url": "git+ssh://git@github.com/Rezonans/redux-async-connect.git"
},
"scripts": {
"build": "babel ./modules --stage 0 --loose all -d lib --ignore '__tests__'",
"build": "babel ./modules -d lib --ignore '__tests__'",
"lint": "eslint modules",
"start": "babel-node example/server.js",
"test": "npm run lint && karma start",
Expand All @@ -33,10 +33,13 @@
"react-redux": "4.0.x"
},
"devDependencies": {
"babel": "^5.8.34",
"babel-core": "^5.8.34",
"babel-eslint": "^3.1.23",
"babel-loader": "^5.4.0",
"babel-cli": "^6.4.5",
"babel-core": "^6.4.5",
"babel-eslint": "^5.0.0-beta6",
"babel-loader": "^6.2.1",
"babel-preset-es2015": "^6.3.13",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.3.13",
"eslint": "1.4.1",
"eslint-config-rackt": "1.0.0",
"eslint-plugin-react": "3.3.2",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -26,7 +26,7 @@ module.exports = {

module: {
loaders: [
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel?stage=0&loose=all' }
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel' }
]
},

Expand Down

0 comments on commit ae8ca4d

Please sign in to comment.