Diploma
This project was bootstrapped with Create React App.
node.js
:18.*
yarn
:1.22.*
- install
node
,yarn
- run
yarn install
on repository root - run parallel:
yarn run watch:storybook
yarn run watch
Just merge the changes into the main
branch.
- run
yarn install --frozen-lockfile
on repository root. - run
yarn run build
When the build is complete, serve the files from the /build
directory using nginx as regular static files.
In the project directory, you can run:
Run husky.
See the documentation for the husky
package for details.
Run prettier.
See the documentation for the prettier
package for details.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Build storybook stories as static website.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Runs the storybook in the development mode.
Open http://localhost:6006 to view it in the browser.
The page will reload if you make edits.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Run TypeScript typecheck.
Run eslint.
Corrects the problems that eslint found.
Storybook test runner turns all of your stories into executable tests. These tests run in a live browser and can be executed via the command line or your CI server.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.