This recipe includes:
- Bundling ES modules with rollup.js.
- JavaScript unit testing with Jest.
- A css setup using the itcss architecture, transformed with PostCSS.
- Clone this repo, download the zip file or use
degit:npx degit vicompany/rollup-itcss. - In the root of the project run
npm ciornpm i. - The main entry points are:
To start the watchers and a http-server.
npm run devThis will test and lint the source code and create the production builds.
npm run buildThese scripts are configured in the package.json.