Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-d3-plugin

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-d3-plugin

Yeoman generator for D3 v4 plugins

  • 0.3.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by900%
Maintainers
1
Weekly downloads
 
Created
Source

generator-d3-plugin

Yeoman generator for D3 v4 plugins

Getting Started

Install the generator:

npm install -g generator-d3-plugin

Then run the generator:

yo d3-plugin

and follow the prompts.

Details

  • The plugins are build using rollup which is suggested by D3.

  • Unit test cases can be written in tape, tape is added in devDependencies by default.

  • The plugin can be tested using npm test. Only eslint is enabled for the time being.

  • The plugin can be build using npm run prepublish.

  • Local server with live reloading can be achieved by running npm run watch followed by npm start. (You can run it in the reverse order but you have to refresh the browser in that case).

  • The build is created in /build folder.

  • The examples are found in the /example folder. It is recommended that you use this folder to display example of your plugin.

  • Once the live reloading is on, the builds are created only in the example/build folder. Once you are done developing the plugin run npm run prepublish for final build to the /build folder.

Read

Read more about D3 v4 Plugin and reusable chart component for plugins.

Keywords

FAQs

Package last updated on 06 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc