Simple boilerplate to kickstart your new PostCSS plugin with TypeScript, also include AVA to test and generate a code coverage report.
Clone the boilerplate and create your own git repo.
git clone git@githubcom:ezavile/postcss-typescript-kickstartgit
Install the dependencies.
To compile TypeScript files.
npm run compile
To compile TypeScript files and watch for changes.
npm run compile:watch
Lint the source, then run the unit tests.
Continuously run the unit tests as you make changes to the source and test files themselves.
npm run test:watch
Lint the source.
npm run lint
Generate a code coverage report. Anything less than 100% coverage will throw an error.
npm run report-coverage
Inspired by postcss-font-pack to create the structure of the project.
- ⇄ Pull requests and ★ Stars are always welcome.
- For bugs and feature requests, please create an issue.
- Pull requests must be accompanied by passing automated tests (