0.1.6 • Published 9 months ago
create-spin v0.1.6
create-spin
Scaffolding for Spin projects
With NPM:
npm create spin@latest
With Yarn:
yarn create spin
create-spin
automatically runs in interactive mode, but you can also specify your project name and template with command line arguments.
# npm 6.x
npm create spin@latest my-spin-project --template minimal
# npm 7+, extra double-dash is needed:
npm create spin@latest my-spin-project -- --template minimal
# yarn
yarn create spin my-spin-project --template minimal
Check out the full list of example templates, available on GitHub.
You can also use any GitHub repo as a template:
npm create spin@latest my-spin-project -- --template @bytel/spin-angular
CLI Flags
May be provided in place of prompts
Name | Description |
---|---|
--template <name> | Specify your template. |
--install / --no-install | Install dependencies (or not). |
--git / --no-git | Initialize git repo (or not). |
--yes (-y ) | Skip all prompt by accepting defaults. |
--no (-n ) | Skip all prompt by declining defaults. |
--dry-run | Walk through steps without executing. |
--skip-houston | Skip Houston animation. |
--typescript <option> | TypeScript option: strict / strictest / relaxed . |