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.
yarn install
yarn serve
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
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
MIT © Jorge Aznar