Package Exports
- atomic-design-button
- atomic-design-button/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (atomic-design-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Atomic Button
React button based in Atomic Design.
Steps
- Create component - PrimaryButton.
- Modify Index.ts exporting that new component.
- Modify Package.json adding: name, version, description, main, types, files and scripts:build.
- Modify tsconfig.json (just copy file content)
- Run following commands: Install:
npm installBuild:
npm run buildLogin to npmjs.com:
npm loginPublish package:
npm publish --access public- Check the version and code tab in your library page: https://www.npmjs.com/
Install
npm install atomic-design-button