React default app
This is default app for React
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:4200 to view it in the browser.
npm run dev
// "storybook": "start-storybook -p 6006 -s ./src",
"build-storybook": "build-storybook"
Runs the app in the development mode with mock api.
Open http://localhost:4200 to view it in the browser. Mock API runs on port 9000 http://localhost:9000/api
npm start:types
Runs the app in the development mode with type check.
npm run start:prod
Runs the app in the production mode.
Open http://localhost:80808 to view it in the browser.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
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!
npm run build:noSourceMap
Builds the app for production without source maps.
npm run build:dev
Builds the app in development mode.
npm run i18nextParser
Builds json for localization.
Open (https://github.com/i18next/i18next-parser) for more information.
npm run analyze
Analyze the bundle size of the production build.
Open (https://github.com/webpack-contrib/webpack-bundle-analyzer) for more information.