postcss-typescript-kickstart

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i postcss-typescript-kickstart

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ezavile