Skip to content

Boilerplate for D3 projects with Javascript ES6 (Babel), ESLint, Gulp, Bower

License

Notifications You must be signed in to change notification settings

Packet-Clearing-House/d3-es6-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependency Status devDependency Status

D3 ES6 Project Boilerplate

Boilerplate for D3 projects with Javascript ES6.

Boilerplate Features

  • Automates building and actions using Gulp
  • Manages Browser Javascript using Bower
  • Transpiles ES6+ automagically using Babel and uses sourcemap to better debug code.
  • Local dev server with BrowserSync
  • Compress assets for production with Uglify
  • Lints your code using ESLint (Airbnb code style)
  • Get environment development or production with the JS variable ENV
  • Use Bower to get vendors Javascript libraries and combine them (here D3)

Requirements

  • NodeJs, type npm -v on your terminal to check if you have it.
  • Gulp npm install -g gulp
  • Bower npm install -g bower

Getting Started

  1. Run npm install to install dependencies
  2. Run bower install to download Browser Javacript libraries
  3. Run gulp to start the local dev environment on http://localhost:5000
  4. To have production ready files, run: gulp dist. All built files are located in the folder /build/
  5. Enjoy 🍻

Contributing

If you like this/find it useful/find a bug please open an issue and, better yet, submit a Pull Request!

Any and all help appreciated, thanks!

About

Boilerplate for D3 projects with Javascript ES6 (Babel), ESLint, Gulp, Bower

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published