Last active
May 11, 2016 20:49
-
-
Save dmds1993/7eea089c113202fc135c to your computer and use it in GitHub Desktop.
Config para primeiros passos com React
This file contains hidden or 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
| npm --version | |
| node --version | |
| git init | |
| npm init | |
| npm i -S -E babel-cli | |
| npm i -S -E babel-cli babel-preset-es2015 babel-preset-react | |
| index.html | |
| npm run watch | |
| node_modules/.bin/babel src | |
| node_modules/.bin/babel src -o compiled.js | |
| rm compiled.js | |
| node_modules/.bin/babel src -w -o compiled.js -s | |
| rm compiled.js* | |
| rm npm-debug.log | |
| node_modules/.bin/babel src -w -o build/compiled.js -s | |
| mkdir build | |
| node_modules/.bin/babel src -w -o build/compiled.js -s | |
| npm run watch | |
| npm install eslint-config-visto-web | |
| npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment