Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.
/ primer-module-build Public archive

Scripts to build primer SCSS modules into CSS and stats

License

Notifications You must be signed in to change notification settings

primer/primer-module-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scripts to build primer SCSS modules into CSS and stats

Resources

License

Stars

Watchers

Forks

Packages

No packages published