Created
December 9, 2015 13:11
-
-
Save SudoPlz/25c42cabb22910378298 to your computer and use it in GitHub Desktop.
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
"scripts": { | |
"debugMode":"parallelshell 'npm run webpack-node' 'npm run webpack-server-browser'", | |
"start": "parallelshell 'npm run webpack-node' 'npm run webpack-server-browser' 'npm run nodemon'", | |
"nodemon":"sleep 16;nodemon bin/serverEntryPoint.js", | |
"webpack-server-browser":"./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config ./webpack.browser.config.js --hot --port 8081", | |
"webpack-node":"./node_modules/webpack/bin/webpack.js --config ./webpack.node.config.js --progress --watch", | |
"lint":"eslint app/ -c .eslintrc", | |
"moveJs":"cp node_modules/marty-clipboard/dist/marty-clipboard.js dist/javascripts/", | |
"moveCss":"cp node_modules/react-bootstrap-modal/lib/styles/rbm-complete.css app/styles/" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing this. This saved my hours.
I also created two webpack files. And the server one did build successfully. But It's giving errors when trying to run.
I created file
bin/main.js
via webpack. Now when i'm doingnode start bin/main.js
, it's throwing weird errorAny Idea why its looking for main.js in root folder instead of
bin
folder ? I searched everywhere, I havn't required this anywhere.