create-sveltex
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

create-sveltex

create-sveltex is a Node.js package intended to be run with pnpm dlx, bunx, npx, or yarn dlx to create a new SvelTeX project. It should not be used to add SvelTeX to an existing project.

Creating a project

pnpm dlx create-sveltex # If using PNPM
bunx     create-sveltex # If using Bun
npx      create-sveltex # If using NPM
yarn dlx create-sveltex # If using Yarn

...and follow the prompts.

Supported tools

Always included:

Pick one:

Optional:

  • Prettier, for code formatting.
  • ESLint, for linting.
  • Playwright, for end-to-end testing.
  • Vitest, for unit testing.
  • TailwindCSS, for utility-first CSS.
  • Husky, for Git hooks. Includes lint-staged pre-commit git hook.
  • Commitlint, for commit message linting. Adds a commit-msg git hook if Husky is also selected.
  • .vscode folder with some helpful workspace settings.

Acknowledgments

create-sveltex is inspired by create-svelte, from which it borrows some code for the template files.

create-sveltex is powered by Plop, a great tool for code generation which uses Inquirer.js for prompts and Handlebars for templating.

Package Sidebar

Install

npm i create-sveltex

Homepage

sveltex.dev

Weekly Downloads

5

Version

0.1.3

License

MIT

Unpacked Size

49.3 kB

Total Files

36

Last publish

Collaborators

  • nvl