Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
/ base-rollup-d3 Public archive

πŸš€ Starter kit: rollup + d3 + postcss

Notifications You must be signed in to change notification settings

jorgeatgu/base-rollup-d3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ROLLUP BASE D3

Starter kit for data-viz projects with d3/js/postcss.
The starter kit is ready to work with a reduced version of d3 based on importing only the necessary modules.

Getting Started

yarn install
yarn serve

Plugins

Linters: eslint[ JavaScript ] & Stylelint[ CSS ]
Minifiy: teser[ JavaScript ] & CSSnano[ CSS ]
Server: Browsersync
Lint-staged: lint CSS files with Stylelint and JS files with Eslint before push to repository

Script to init

Bash script to create a structure like this:

β”œβ”€ src/              
β”‚  β”œβ”€ css/           
β”‚  β”œβ”€ img/           
β”‚  └─ js/            
β”‚
β”œβ”€ css/              
β”œβ”€ js/               
β”œβ”€ img/              
β”œβ”€ .gitignore        
β”œβ”€ .eslintrc        
β”œβ”€ .stylelintrc      
β”œβ”€ index.html        
β”œβ”€ rollup.config.js       
└─ package.json      

License

MIT Β© Jorge Aznar

About

πŸš€ Starter kit: rollup + d3 + postcss

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published