0.0.9 • Published 9 years ago
generator-cartodb v0.0.9
This is a yeoman generator that will quickly set up the perfect dev environment to make maps and visualizations with CartoDB APIs and client-side library.

First, install yo, then the yo CartoDB generator :
npm i -g yo generator-cartodbRun the CartoDB generator:
yo cartodbAnswer the few questions asked by the CLI, then tada ! You get a lightweight but complete dev environment (see below). Then, you can run the local web server :
npm startFeatures :
- a simple local web server
- files watch + live reload
- js linting (eslint)
- one of the starting templates
- optional: a gist created for you
- optional: es6 to es5 (babel)
- optional: postCSS (for now only has autoprefixer)
npm is used as the task runner (see scripts section in package.json)
Filenames are optimized to appear in a nice order on gists/bl.ocks

Todo :
- add more postCss plugins
- automatic thumbnail generation for bl.ocks?