1.4.0 • Published 3 years ago
create-tiny-sb v1.4.0
create-tiny-sb
Bootstrap your osu storyboard with tiny-osbjs and some prebuilt components.
With npm:
npm create tiny-sbWith yarn:
yarn create tiny-sbWith pnpm:
pnpm create tiny-sbThen follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold your project with the TypeScript template, run:
# npm 6.x
npm create tiny-sb my-storyboard --template ts
# npm 7+, extra double-dash is needed:
npm create tiny-sb my-storyboard -- --template ts
# yarn
yarn create tiny-sb my-storyboard --template ts
# pnpm
pnpm create tiny-sb my-storyboard --template tsThere are 2 template presets: js and ts
You can use . for the project name to scaffold in the current directory.
FAQ
- Why does it say that
node-devis not recognized blah blah?
Install node-dev as global dependency.
npm i -g node-devor
yarn add -g node-devor
pnpm add -g node-dev- I want to use prebuilt components but it keeps yelling something not found!
Just install it lol.
- Why don't you include them by default?
Because you may not want to use prebuilt components, so including them will just take away your precious disk space.
- Something something canvas error.
Install node-gyp.
If you ran into any issues or need help, contact Nanachi#1381 on discord.