A template for building modern JavaScript library of build with rollup and TypeScript.
To build a modern javascript library quickly with the template. In the template, we added some engineered configurations and best practices.
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.
-
@fujia/cli-core: https://github.com/fujia-cli/stage .
-
eslint - https://eslint.org/
-
.editorconfig - https://docs.microsoft.com/en-us/visualstudio/ide/create-portable-custom-editor-options?view=vs-2022