Did you know ... | Search Documentation: |
Pack logicmoo_workspace -- node_modules/c3/CONTRIBUTING.md |
Before filing an issue, please search the queue to make sure it hasn't already been reported.
If a bug, please include the following —
git clone https://github.com/c3js/c3.git cd c3
npm install -g grunt-cli npm install
The first npm
command sets up the popular Grunt build tool. You might need to run this command with sudo
if you're on Linux or Mac OS X, or in an Administrator command prompt on Windows. The second npm
command fetches the remaining build dependencies.
npm run build
npm run dist
Now you'll find the built files in c3.js
, c3.min.js
, c3.css
& c3.min.css
.
npm run test
This command will automatically run the specification suite and report its results.
If you want to see specs running live in browser (e.g., for debugging), simply open `http://localhost:9876/` in your browser when phantomjs starts.
First you need ruby and [bundler][] to build the documentation site.
Note: Currently the site doesn't build with ruby 2.5.x, so you need ruby 2.4.4 or below. ([rbenv][] is useful for switching between ruby versions.)
$ gem install bundler
Then you need to install bundler dependencies.
$ bundle install
Then hit the following command to build the site.
$ npm run watch:docs
Then access `http://0.0.0.0:4567`.
Add something about PRs here, indicate that PRs should not bump the version number & the build output files (c3.js
, c3.min.js
, c3.css
& c3.min.css
) should be excluded
[bundler]: https://bundler.io [rbenv]: https://github.com/rbenv/rbenv