0.1.0 • Published 7 years ago
generator-flama-d3 v0.1.0
Flama - D3 Project Generator
This is a Yeoman generator for the d3.js. It has the minimum skeleton necessary to start with d3.js
This generator includes:
- index.html - with svg
- js/index.js - for the code
- css/style.css - for styling
- gulpfile.js - currently only has browser-sync
- package.json - d3 is installed via npm
- .gitignore - ignore node_modules for git
Getting Started
Installing Yeoman?
This generator requires yeoman, it can be installed from npm:
$ npm install -g yo
Yeoman Generators
To install generator-flama-d3 from npm, run:
$ npm install -g generator-flama-d3
Generating an empty d3 project
Navigate into a folder where you want your presentation
$ yo generator-flama-d3 project-name
Running
This generator uses browser-sync.`.
In order to run live preview with browser-sync, just run:
$ npm start
0.1.0
7 years ago