Created
July 8, 2018 07:39
-
-
Save makarovas/0793048e06a15795961d00b3ed5f50c6 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
The commands are similar to NPM’s: | |
• Install all packages: npm install or yarn | |
• Install a certain package: npm install --save <package> or yarn add <package> | |
• Start the development server: npm start or yarn start | |
• Run the tests: npm test or yarn test | |
• Install something globally: yarn global add <package> or npm install -g <package> | |
yarn global add create-react-app | |
create: | |
create-react-app project-name-folder | |
cd project-name-folder | |
rm src/App.* src/index.css src/logo.svg | |
yarn start | |
build: | |
npm run build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment