Skip to content

Commit 87eb3a4

Browse files
authored
Version v2.0.0 Alpha 6 (prescottprue#180)
* `.babelrc` added to `.npmignore` (attempt to fix prescottprue#175 and prescottprue#176) * unpkg field added to package file * Switched to `transform-es2015-modules-commonjs` from `add-module-exports`
1 parent 5363444 commit 87eb3a4

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

.babelrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"presets": ["es2015", "react"],
33
"plugins": [
4-
"add-module-exports",
54
"lodash",
65
"transform-object-rest-spread",
76
"transform-object-assign",
@@ -12,7 +11,8 @@
1211
"comments": false
1312
},
1413
"commonjs": {
15-
"comments": false
14+
"comments": false,
15+
"plugins": ["transform-es2015-modules-commonjs"]
1616
},
1717
"test": {
1818
"plugins": ["transform-decorators-legacy"]

.npmignore

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
docs
22
bin
3-
tests
43
examples
4+
tests
55
coverage
6+
.istanbul.yml
67
_book
8+
.babelrc
9+
SUMMARY.md
10+
webpack.config.js
11+
.eslintignore
12+
.eslintrc
13+
book.json
14+
CNAME
15+
.github
16+
yarn.lock

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
22
"name": "react-redux-firebase",
3-
"version": "2.0.0-alpha.5",
3+
"version": "2.0.0-alpha.6",
44
"description": "Redux integration for Firebase. Comes with a Higher Order Component for use with React.",
55
"main": "lib/index.js",
66
"module": "es/index.js",
77
"jsnext:main": "es/index.js",
88
"typings": "./index.d.ts",
9+
"unpkg": "dist/react-redux-firebase.min.js",
910
"scripts": {
1011
"clean": "rimraf dist",
1112
"lint": "eslint src/** tests/**",
@@ -69,10 +70,10 @@
6970
"babel-core": "^6.24.0",
7071
"babel-eslint": "^7.2.1",
7172
"babel-loader": "^6.4.1",
72-
"babel-plugin-add-module-exports": "^0.2.1",
7373
"babel-plugin-lodash": "^3.2.11",
7474
"babel-plugin-transform-class-properties": "^6.23.0",
7575
"babel-plugin-transform-decorators-legacy": "^1.3.4",
76+
"babel-plugin-transform-es2015-modules-commonjs": "^6.24.1",
7677
"babel-plugin-transform-object-assign": "^6.22.0",
7778
"babel-plugin-transform-object-rest-spread": "^6.23.0",
7879
"babel-plugin-transform-runtime": "^6.23.0",

0 commit comments

Comments
 (0)