https://github.com/spencer17x/typescript-rollup-starter
Quickly generate typescript-rollup-starter template
https://github.com/spencer17x/typescript-rollup-starter
cli coveralls jest library rollup template typescript
Last synced: 3 months ago
JSON representation
Quickly generate typescript-rollup-starter template
- Host: GitHub
- URL: https://github.com/spencer17x/typescript-rollup-starter
- Owner: spencer17x
- License: mit
- Created: 2021-06-10T12:06:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T12:17:15.000Z (over 4 years ago)
- Last Synced: 2025-11-12T22:32:05.831Z (8 months ago)
- Topics: cli, coveralls, jest, library, rollup, template, typescript
- Language: TypeScript
- Homepage:
- Size: 295 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-en.md
- License: LICENSE
Awesome Lists containing this project
README
[中文文档](./README.md)
# typescript-rollup-starter
reference: https://github.com/alexjoverm/typescript-library-starter
A starter project that makes it very easy to create a TypeScript library.
# Usage
```shell
git clone https://github.com/Spencer17x/typescript-rollup-starter.git YOURFOLDERNAME
cd YOURFOLDERNAME
# Run npm install and write down your library name when asked. that's all!
npm install
```
Start coding! package.json and entry files are already set up for you, so don't worry about linking to your main file, typings, etc. Just keep those files with the same name.
# Build Environment
* prod: production environment(no console、no sourcemap)
* test: test environment
* dev: development environment