We will be using Node.js. Please see .nvmrc
to find current node.js version we are using.
New JavaScript features (ES2015) are "enabled" for for all modern browsers with Babel.
- yarn CLI docs
- Useful commands:
yarn install
(install local dependencies - based onpackage.json
andyarn.lock
files)yarn add <package-name>
yarn <script-name>
(eg.yarn start
,yarn prettier
, see"scripts"
section inpackage.json
)yarn run
- Search for packages:
- React docs
- frontend app is created using create-react-app
ssh [email protected]
- frontend code:
cd ~/code/cviceni/frontend