/postcss-typescript-kickstart

Simple boilerplate to kick start your new PostCSS plugin with TypeScript

Primary LanguageTypeScriptMIT LicenseMIT

postcss-typescript-kickstart

Travis Codecov npm MIT License

Simple boilerplate to kickstart your new PostCSS plugin with TypeScript, also include AVA to test and generate a code coverage report.

Usage

Clone the boilerplate and create your own git repo.

git clone git@github.com:ezavile/postcss-typescript-kickstart.git

Install the dependencies.

npm/yarn install

Scripts

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.

npm test

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

Thanks

Inspired by postcss-font-pack to create the structure of the project.

Contributing

  • ⇄ 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 (npm test).

MIT License