- init project
yarn init
echo "node_modules" >> .gitignore
git init
- Add dependencies
# add runtime dependencies
yarn add react react-dom prop-types axios
# add dev dependencies
yarn add itg-react-scripts eslint-config-adorable --dev
- add start script to
package.json
"scripts": {
"start": "itg-react-scripts start"
}
- add eslint config to
package.json
"eslintConfig": {
"extends": [ "adorable" ]
}
- create
public/index.html
file - create
src/
files - run
yarn start