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 ci
ornpm i
. - The main entry points are:
To start the watchers and a http-server.
npm run dev
This will test and lint the source code and create the production builds.
npm run build
These scripts are configured in the package.json
.