bili-typescript
v0.1.0
Published
Use TypeScript in Bili.
Readme
bili-typescript
Install
You should have bili installed first.
$ npm install -g bili bili-typescriptUsage
$ bili --js-compiler typescriptOptions
// bili.config.js
module.exports = {
jsCompiler: 'typescript',
typescript: {
tsconfig: true, // whether to ignore tsconfig.json
include, exclude
}
}Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
