https://github.com/fujia-cli/library-rollup-template
A template for JavaScript library which build on rollup and TypeScript.
https://github.com/fujia-cli/library-rollup-template
Last synced: over 1 year ago
JSON representation
A template for JavaScript library which build on rollup and TypeScript.
- Host: GitHub
- URL: https://github.com/fujia-cli/library-rollup-template
- Owner: fujia-cli
- License: mit
- Created: 2021-12-18T08:00:28.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-01T07:29:40.000Z (almost 4 years ago)
- Last Synced: 2025-01-23T16:14:14.334Z (over 1 year ago)
- Language: TypeScript
- Size: 17.6 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
@fujia/library-rollup-template
A template for building modern JavaScript library of build with rollup and TypeScript.
## Introduction
To build a modern javascript library quickly with the template. In the template, we added some engineered configurations and best practices.
## Getting Started
Using the following command and select the template to init a project:
```sh
# Step1. run the following command. if not, you can run the command "npm i -g @fujia/cli-core" to install it globally.
stage init
# Step2. selected "default" option
# Step3. selected "library" option
# Step4. selected "library" option
# Step5. input the project name and version.
# Step6. selected "library-rollup" option
```
All above actions have done, stage will finish the rest works.
## References
1. @fujia/cli-core: https://github.com/fujia-cli/stage .
2. eslint - https://eslint.org/
3. .editorconfig - https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options?view=vs-2022