An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          



stage logo


@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