yarn start - Start the application
yarn build - Output a production ready application in the dist folder
yarn test - Start Jest tests
yarn storybook - Run storybook on port 6006
yarn build-storybook - Output a static Storybook in the storybook-static directory
yarn test-storybook - Run storybook tests
yarn lint - Run linting using ES-Lint
yarn format - Format files using Prettier
yarn e2e - Run end-to-end tests using Cypress
yarn cypress:open - Open Cypress
yarn cypress:run - Run Cypress
yarn audit - Check for known vulnerabilities
Check out the Storybook hosted on Chromatic,
or locally after running yarn storybook
.
ng n toolbox --routing --style scss
ng g m core
ng g m shared
ng g c home
ng g c core/nav-bar
ng add @angular/material
ng add @briebug/jest
yarn add -D jest jest-preset-angular @types/jest @angular-builders/jest @types/jest
yarn remove karma karma-chrome-launcher karma-coverage-istanbul-reporter karma-jasmine karma-jasmine-html-reporter @types/jasmine
ng add @cypress/schematic
ng add @angular-eslint/schematics
yarn add -D eslint-plugin-unused-imports prettier prettier-eslint eslint-plugin-prettier eslint-config-prettier
npx storybook init
yarn add -D @storybook/addon-a11y @storybook/test-runner
yarn add -D chromatic
yarn add yarn-audit-fix