1.0.0-nastya.4 • Published 2 years ago
ng-react-components v1.0.0-nastya.4
NG React components
Quick local start
npm ci
- installs a package and any packages that it depends on in node_modules (package-lock.json is not updated)
npm run storybook
- Starts Storybook in development mode
- open http://localhost:6006/
- The page will reload if you make edits.
- You will also see any lint errors in the console.
Building
npm install
- installs a package and any packages that it depends on in node_modules (package-lock.json is updated)
npm run build
- Builds the app distribution using rollup to the
dist
folder.
Testing with local app
Setup link
Setup link in library
cd ~/ng-react-components
npm link
Setup link in app which uses library
cd ~/ng-backoffice-fe
npm link ng-react-components
Delete link
- when testing is finished, remove the link
cd ~/ng-backoffice-fe
npm uninstall --no-save ng-react-components && npm install
cd ~/ng-react-components
npm uninstall # Delete global symlink
1.0.0-nastya.4
2 years ago
1.0.0
2 years ago