Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

generator-cartodb

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-cartodb

CartoDB Generator for Yeoman

latest
Source
npmnpm
Version
0.0.9
Version published
Maintainers
1
Created
Source

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-cartodb

Run the CartoDB generator:

yo cartodb

Answer 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 start

Features :

  • 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?

Keywords

yeoman-generator

FAQs

Package last updated on 15 Aug 2016

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