Skip to content

Commit

Permalink
- added CommonJS build,
Browse files Browse the repository at this point in the history
- bumped version
  • Loading branch information
fantua committed Nov 5, 2017
1 parent fee46f6 commit 98bbfc8
Show file tree
Hide file tree
Showing 5 changed files with 1,580 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
["es2015", { "loose": true }],
"es2017"
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,5 @@ typings/
.env

.idea
lib/

23 changes: 19 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
{
"name": "redux-async-catch",
"version": "0.1.0",
"version": "0.2.1",
"description": "Async error catch middleware for Redux",
"main": "index.js",
"main": "lib/index.js",
"files": [
"lib",
"src"
],
"scripts": {
"clean": "rimraf lib",
"build": "babel src --out-dir lib",
"prepublish": "yarn run clean && yarn run build"
},
"repository": {
"type": "git",
"url": "https://github.com/fantua/redux-async-catch.git"
Expand All @@ -16,5 +25,11 @@
],
"homepage": "https://github.com/fantua/redux-async-catch",
"author": "Igor Machuzhak <[email protected]>",
"license": "MIT"
}
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-es2017": "^6.24.1",
"rimraf": "^2.6.2"
}
}
File renamed without changes.
Loading

0 comments on commit 98bbfc8

Please sign in to comment.