Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
babelrc added to npmignore
* unpkg field added
* `.babelrc` added to `.npmignore`
* Switched to `transform-es2015-modules-commonjs` from
`add-module-exports`
  • Loading branch information
Scott Prue committed Jul 2, 2017
commit d60f04f4bb179cf06b589017a04801708d523d0b
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"presets": ["es2015", "react"],
"plugins": [
"add-module-exports",
"lodash",
"transform-object-rest-spread",
"transform-object-assign",
Expand All @@ -12,7 +11,8 @@
"comments": false
},
"commonjs": {
"comments": false
"comments": false,
"plugins": ["transform-es2015-modules-commonjs"]
},
"test": {
"plugins": ["transform-decorators-legacy"]
Expand Down
12 changes: 11 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"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/**",
Expand Down Expand Up @@ -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",
Expand Down