yarn dev
- run the app with hot reloading of changesyarn build
- bundle appyarn start
- run app from the bundle that was built
./deploy
If you get a hydration error locally, make sure the addblocker and darkmode are turned off. If they alter local HTML it can cause an issue where the code thinks the local and client versions of the HTML don't match.
yarn dev
– start dev serverbuild
– bundle application for productionexport
– exports static website toout
folderanalyze
– analyzes application bundle with @next/bundle-analyzer
typecheck
– checks TypeScript typeslint
– runs ESLintprettier:check
– checks files with Prettierjest
– runs jest testsjest:watch
– starts jest watchtest
– runsjest
,prettier:check
,lint
andtypecheck
scripts
storybook
– starts storybook dev serverstorybook:build
– build production storybook bundle tostorybook-static
prettier:write
– formats all files with Prettier