Skip to content

Commit 1d39e55

Browse files
author
Rodion
committed
Merge pull request #8 from arkist/master
Babel 6 & prepublish
2 parents c901e43 + ebc95a9 commit 1d39e55

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["es2015", "react", "stage-0"],
3+
}

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"url": "git+ssh://git@github.com/Rezonans/redux-async-connect.git"
99
},
1010
"scripts": {
11-
"build": "babel ./modules --stage 0 --loose all -d lib --ignore '__tests__'",
11+
"build": "babel ./modules -d lib --ignore '__tests__'",
1212
"lint": "eslint modules",
1313
"start": "babel-node example/server.js",
1414
"test": "npm run lint && karma start",
15-
"postinstall": "node ./npm-scripts/postinstall.js"
15+
"prepublish": "node ./npm-scripts/postinstall.js"
1616
},
1717
"keywords": [
1818
"redux",
@@ -33,10 +33,13 @@
3333
"react-redux": "4.0.x"
3434
},
3535
"devDependencies": {
36-
"babel": "^5.8.34",
37-
"babel-core": "^5.8.34",
38-
"babel-eslint": "^3.1.23",
39-
"babel-loader": "^5.4.0",
36+
"babel-cli": "^6.4.5",
37+
"babel-core": "^6.4.5",
38+
"babel-eslint": "^5.0.0-beta6",
39+
"babel-loader": "^6.2.1",
40+
"babel-preset-es2015": "^6.3.13",
41+
"babel-preset-react": "^6.3.13",
42+
"babel-preset-stage-0": "^6.3.13",
4043
"eslint": "1.4.1",
4144
"eslint-config-rackt": "1.0.0",
4245
"eslint-plugin-react": "3.3.2",

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module.exports = {
2626

2727
module: {
2828
loaders: [
29-
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel?stage=0&loose=all' }
29+
{ test: /\.js$/, exclude: /node_modules/, loader: 'babel' }
3030
]
3131
},
3232

0 commit comments

Comments
 (0)