Skip to content

Commit af74622

Browse files
authored
Merge pull request #55 from mauricekleine/master
Move Babel plugins and presets to the NPM scripts and delete .babelrc
2 parents f1632e4 + 1ab3173 commit af74622

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.babelrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"description": "Use Firebase with React and Redux in ES6 ",
55
"main": "build/index.js",
66
"scripts": {
7-
"build": "babel source --out-dir build",
8-
"build-dev": "babel source --out-dir build --watch --source-maps inline",
7+
"build": "babel --plugins transform-decorators-legacy,lodash --presets es2015,stage-1,react source --out-dir build",
8+
"build-dev": "babel --plugins transform-decorators-legacy,lodash --presets es2015,stage-1,react source --out-dir build --watch --source-maps inline",
99
"watch": "npm run build -- --watch",
1010
"clean": "rimraf build",
1111
"prepublish": "npm run clean && npm run build",

0 commit comments

Comments
 (0)