https://github.com/xd-tayde/rollup-typescript-startkit
the simple rollup-typescript startkit aims to develop the javascript lib.
https://github.com/xd-tayde/rollup-typescript-startkit
rollup rollup-example rollup-startkit rollup-typescript typescript
Last synced: 7 months ago
JSON representation
the simple rollup-typescript startkit aims to develop the javascript lib.
- Host: GitHub
- URL: https://github.com/xd-tayde/rollup-typescript-startkit
- Owner: xd-tayde
- License: mit
- Created: 2019-04-29T07:52:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T20:37:48.000Z (over 3 years ago)
- Last Synced: 2025-06-29T21:03:52.444Z (11 months ago)
- Topics: rollup, rollup-example, rollup-startkit, rollup-typescript, typescript
- Language: JavaScript
- Size: 2.02 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# rollup-typescript-startkit
## 简介:
一款基于 rollup 与 typescript 的轻量级脚手架,专注于 JavaScript 库的开发,能够满足开发库时所需要的各项功能;
包含功能:
- rollup | tree-shaking
- typescript
- hot-reload
- example / debug
- sass
## 安装
此处使用一个简单易用的项目初始化工具: just-cli
```js
// 命令行:
sudo npm i just-cli -g
// 添加配置
just add -n rollup-startkit -g https://github.com/xd-tayde/rollup-typescript-startkit.git
// 之后就可以通过 init 快速创建项目
just init rollup-startkit myProject
```
## 开发姿势:
- `package.json` 中修改对应的包名称
- `npm run dev`: 开发环境
- `npm run publish`: 打包编译