Skip to content
This repository has been archived by the owner on Jul 20, 2020. It is now read-only.

Ledgy/ledgy-pricing

Repository files navigation

Ledgy Pricing

Our LedgyPricing React component used in ledgy-app and ledgy.com repos.

Setup

npm install

Development

One can run webpack dev sever which will open an instance on http://localhost:3001 with:

npm start

After making your changes, make sure there are no lint errors:

npm run lint

Component API

The LedgyPricing component accepts the following optional parameters (as of v1.5.0):

 startupButton: Node,
 scaleupButton: Node,
 enterpriseButton: Node,
 highlightScaleup: boolean = false,
 highlightEnterprise: boolean = false,
 highlightFeature: string = '',

Release new version

After all changes are committed to master, remember to bump up the package.json version and publish it to npm.

The helper utility npm run prepublish will copy the transpiled code to the dist folder.

Finally, npm publish will publish the package to our Ledgy npm account.

Last step is to update ledgy-app and ledgy.com to use the latest ledgy-pricing version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published