diff --git a/.babelrc b/.babelrc index 12e3e717e..50ec21734 100644 --- a/.babelrc +++ b/.babelrc @@ -1,7 +1,6 @@ { "presets": ["es2015", "react"], "plugins": [ - "add-module-exports", "lodash", "transform-object-rest-spread", "transform-object-assign", @@ -12,7 +11,8 @@ "comments": false }, "commonjs": { - "comments": false + "comments": false, + "plugins": ["transform-es2015-modules-commonjs"] }, "test": { "plugins": ["transform-decorators-legacy"] diff --git a/.npmignore b/.npmignore index 2239b0ef6..aa9c4955e 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,16 @@ docs bin -tests examples +tests coverage +.istanbul.yml _book +.babelrc +SUMMARY.md +webpack.config.js +.eslintignore +.eslintrc +book.json +CNAME +.github +yarn.lock diff --git a/package.json b/package.json index 5d96d6252..48a73a039 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,12 @@ { "name": "react-redux-firebase", - "version": "2.0.0-alpha.5", + "version": "2.0.0-alpha.6", "description": "Redux integration for Firebase. Comes with a Higher Order Component for use with React.", "main": "lib/index.js", "module": "es/index.js", "jsnext:main": "es/index.js", "typings": "./index.d.ts", + "unpkg": "dist/react-redux-firebase.min.js", "scripts": { "clean": "rimraf dist", "lint": "eslint src/** tests/**", @@ -69,10 +70,10 @@ "babel-core": "^6.24.0", "babel-eslint": "^7.2.1", "babel-loader": "^6.4.1", - "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-lodash": "^3.2.11", "babel-plugin-transform-class-properties": "^6.23.0", "babel-plugin-transform-decorators-legacy": "^1.3.4", + "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-object-assign": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-runtime": "^6.23.0",