@fujia/library-rollup-template

1.0.0 • Public • Published

@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:

# 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

Package Sidebar

Install

npm i @fujia/library-rollup-template

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

17.7 kB

Total Files

26

Last publish

Collaborators

  • sunnyfu