payment-gateway-frontend-lib
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

Payment gateway component lib

Development:

  • Storybook:
    • Storybook gives you an easy way to see and use your components while working on them in your library project, without having to build an unnecessary testing page just to display them.

      npm run storybook # runs the host Storybook application locally for quick and easy testing

Now, anytime you make a change to your library or the stories, the storybook will live-reload your local dev server so you can iterate on your component in real-time.

Scripts:

  • npm run build : builds the library to dist
  • npm run lint : runs eslint.
  • npm run storybook : runs the host Storybook application locally for quick and easy testing

Publishing to npm:

publish to GitHub Packages registry:

  • you need to have this in your ~/.npmrc
registry=https://registry.npmjs.org/
@YOUR_GITHUB_USERNAME:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=YOUR_AUTH_TOKEN

and run:

npm publish

Package Sidebar

Install

npm i payment-gateway-frontend-lib

Weekly Downloads

3

Version

0.1.3

License

MIT

Unpacked Size

11.2 kB

Total Files

15

Last publish

Collaborators

  • nutnicharocket