Scripts to build primer SCSS modules into CSS and stats


Keywords
primer, build, css, postcss, node-sass
License
MIT
Install
npm install primer-module-build@1.0.9-rc.0

Documentation

Primer Module Build Script

NPM version Build Status

Scripts to build primer SCSS modules into CSS and stats

Install

This repository is distributed with npm. After installing npm, you can install primer-module-build with this command.

$ npm install --save primer-module-build

Documentation & Usage

The script is CLI based. What it does is compiles the scss then runs it throught postcss. Placing the output in the build/build.css file. Then it compiles some stats on the module and places it in the build/index.js file.

$ primer-module-build index.scss

The best way to set this up for automation is to place primer-module-build path/to/file.scss in the "prepublish" npm script.

License

MIT © GitHub