Back to Lightweight Charts

_PLUGINNAME_ - Lightweight Charts™ Plugin

packages/create-lwc-plugin/template-common/README.md

5.2.0727 B
Original Source

PLUGINNAME - Lightweight Charts™ Plugin

Description of the Plugin.

  • Developed for Lightweight Charts version: v5.0.0

Running Locally

shell
npm install
npm run dev

Visit localhost:5173 in the browser.

Compiling

shell
npm run compile

Check the output in the dist folder.

Publishing To NPM

You can configure the contents of the package's package.json within the compile.mjs script.

Once you have compiled the plugin (see above section) then you can publish the package to NPM with these commands:

shell
cd dist
npm publish

Hint: append --dry-run to the end of the publish command to see the results of the publish command without actually uploading the package to NPM.