Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including d3plus-dev with all npm packages installed. Try it out:

var d3plusDev = require("d3plus-dev")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

d3plus-dev v0.4.20

A collection of scripts for developing D3plus modules.

d3plus-dev

NPM Release Build Status Dependency Status Gitter

A collection of scripts for developing D3plus modules.

Installing

If you use NPM, run npm install d3plus-dev --save. Otherwise, download the latest release. The released bundle supports AMD, CommonJS, and vanilla environments. You can also load directly from d3plus.org:

<script src="https://d3plus.org/js/d3plus-dev.v0.4.full.min.js"></script>

API Reference

Scripts

d3plus-build <>

This script will compile 2 builds, one with all dependencies includes (full) and one with only the core code. Next, each of those builds is minified using uglifyjs. Finally, all those builds, along with the LICENSE and README, are compressed into a .zip file.

This is a script accessible from the node environment.


d3plus-dev <>

Initializes the development server, which will open a connection on localhost:4000 and continuously watch the ./src directory for file changes. When a change is detected, it will rebundle the full javascript build and refresh any open web browsers.

This is a script accessible from the node environment.


d3plus-docs <>

Generates the READEME.md documentation based on the JSDoc comments in the codebase. This script will overwrite README.md, but will not do any interaction with Github (commit, push, etc).

This is a script accessible from the node environment.


d3plus-env <>

This script will create all of the repository files shared across d3plus modules, including: ignore files, travis-ci configuration, LICENSE, and github templates. Additionally, this will also standardize the issue labels available on Github.

This is a script accessible from the node environment.


d3plus-examples <>

Parses any markdown files in the ./example directory and transforms them into an HTML file usable on the web and takes a screenshot to be used as a thumbnail.

This is a script accessible from the node environment.


d3plus-locale <>

This script will scan every locally installed d3plus module and construct language JSON for each supported localization.

This is a script accessible from the node environment. Todo

  • [ ] Potentially move this script to d3plus-common?

d3plus-release <>

If the version number in the package.json has been bumped, this script will compile the release, publish it to NPM, update all documentation and examples, and tag and publish release notes on Github.

This is a script accessible from the node environment.


d3plus-test <>

Based on the .eslintrc file provided by the d3plus-env script, all source files will be linted and then passed to any browser/unit tests that have been written.

This is a script accessible from the node environment.


Documentation generated on Fri, 29 Sep 2017 20:51:49 GMT

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free