1.7.0 • Published 8 months ago

@sky-fly/template v1.7.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

template-sky

An opinionated starter template for vite or rollup with a cli to generate template project.

Usage

First install the package as a global dependency:

npm i @sky-fly/template -g

Then generate a project:

create

Also directly use npx tool to generate a project without globally install it is available:

npx @sky-fly/template init

Can pass one CLI option as the project name, which will be used to decide the folder name where the generated project template will be placed.

create project-name

Can also pass another CLI option as the package name, which will be used to overwrite the default in the project. If not specified, the project name will be used as the package name.

create project-name package-name

Other available CLI options are shown below:

NameDefaultTypeDescription
--template -t-'vite-vue'\|'vite-react'\|'rollup'decide the template the project is intended to use
--package-manager -p-'npm'\|'yarn'\|'pnpm'decide the package manager the project is going to use

Changelog

Changelog

Contribution

Contribution

Contributors

Code of Conduct

Code of Conduct

License

MIT © skyclouds2001

1.7.0

8 months ago