aetna
v1.0.3
Published
Front-end style guide and pattern library for Pressbooks.
Downloads
256
Readme
Aetna
Front-end SCSS component library for Pressbooks.
Usage
- Install via npm:
npm install aetna --save
. - Import into your project's Sass files:
@import "~aetna/assets/styles/aetna.scss";
Development and testing
Use Conventional Commits. This helps generate a CHANGELOG automatically.
Sass goes in assets/styles
.
Components are documented using Fractal. Fractal source goes in src
.
Run Stylelint on your Sass: npm run lint
Run a test build to ensure that your Sass compiles without issue: npm run build
Releasing
- Run
npm run production
to generate an updated stylesheet for the component library which is published at https://aetna.pressbooks.org. - Commit the changes using the
chore
scope in your commit message:git commit -am "chore(build): build stylesheet
- Push this change to GitHub.
- Inspect the automatically generated release pull request.
- If it looks good, you can merge it which will tag a new version and create a new GitHub release.
- Pull the latest changes into your local environment, then run
npm publish
.