Created
June 22, 2017 19:47
-
-
Save adampatterson/8b7453b89c7b605d178c10908c8567a4 to your computer and use it in GitHub Desktop.
Using Mix to build React, Includes Object Spread
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"plugins": [ | |
"transform-object-rest-spread", | |
"transform-class-properties", | |
"transform-react-constant-elements", | |
"transform-decorators-legacy" | |
], | |
"presets": [ | |
["es2015", {"modules": false}], | |
"react" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devDependencies": { | |
"babel-plugin-transform-class-properties": "^6.24.1", | |
"babel-plugin-transform-decorators-legacy": "^1.3.4", | |
"babel-plugin-transform-object-rest-spread": "^6.23.0", | |
"babel-plugin-transform-react-constant-elements": "^6.23.0", | |
"babel-preset-latest": "^6.24.1", | |
"babel-preset-react": "^6.24.1", | |
"babel-preset-stage-0": "^6.24.1", | |
"cross-env": "^3.2.3", | |
"laravel-mix": "^1.0" | |
}, | |
"dependencies": { | |
"jquery": "^2.1.4", | |
"laravel-elixir": "^4.0.0", | |
"lodash": "^4.13.1", | |
"minify": "^2.0.3", | |
"node-notifier": "^4.4.0", | |
"numeral": "^1.5.3", | |
"react": "^15.1.0", | |
"react-dom": "^15.1.0", | |
"react-onclickoutside": "~4.9.0", | |
"react-redux": "~4.4.1", | |
"react-slider": "^0.6.1", | |
"redux": "~3.4.0", | |
"redux-thunk": "~1.0.3", | |
"requirejs-babel": "0.0.8" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment