You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yarn start - Will start the webpack dev server for development.
yarn build - Will bundle the production dist in the dist folder.
yarn coverage - Will run the tests and open the generated coverage report.
yarn test - Will run all the tests.
yarn test --watch or (npm test -- --watch) - Will run tests in watch mode.
yarn test -u or (npm test -- -u) - Will update the jest snapshots.
Notes
We will use yarn as our package manager for the frontend. (We do not want to manage both package-lock.json and yarn.lock). So please DO NOT do npm install.
Source maps are included in development mode only.
Webpack bundle analyzer starts at http://127.0.0.1:8888 in development mode - You can view how much size a module adds to the bundle by going here. Whenever you do yarn install do open this link to see what is the cost of adding that module.