@shirtiny/mira
Version:
76 lines (51 loc) • 1.06 kB
Markdown
> A starter template for typescript library.
```shell
yarn
yarn build
make version
make publish
yarn start
```
This is a template for typescript library base on esbuild. This template includes followings:
- TypeScript
- Esbuild
- Makefile
- Dev server
- Env
- Prettier
- Eslint
- Jest
- Sass/scss & Autoprefixer
- Github action
Create your repository by clicking 'Use this template' top of the page.
```js
// .sh.js
module.exports = {
// your lib global name
globalName: "tsLibTemplate",
// devServer option
devServer: {
host: "localhost",
port: 2021,
proxy: {
"^/api": {
target: "http://192.168.6.111:9780",
pathRewrite: { "^/api": "" },
},
},
},
};
```
[](https://github.com/raulanatol/template-ts-package)
The MIT License (MIT)