1.0.0 • Published 3 years ago

reactcustomlib-acra v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

Getting Started with Storybook and publishing NPM pakage

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm run storybook

Runs the app in the development mode.\ Open http://localhost:6006 to view it in the browser.

The page will reload if you make edits.\ You will also see any lint errors in the console.

npm run build-lib

Builds the app as npm package to the dist folder.\ It correctly bundles React in production mode and optimizes the build for the best performance as npm package.

See the section about deployment for more information.

npm run build-storybook

Builds the app for production deployment to the storybook-static 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.

npm pack

This packs the app for using it as npm package to the tarball zip file in root directory .\

Make sure the main and module properties of package.json are pointing dist/index.js and dist/index.es.js

It correctly bundles all components.

The build is minified and the filenames include the hashes.\

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify