Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

⚛️ Create a new react library project with Vite, React JS, TypeScript, Eslint, Prettier in just 1 second and you don't need to setup anything.

License

Notifications You must be signed in to change notification settings

kothing/vite-react-typescript-library-template

Repository files navigation

Vite typescript react library template⚡

Create a new react library project with Vite, React JS, TypeScript, Eslint, Prettier in just 1 second and you don't need to setup anything.

Netlify Deploy: https://typescript-react-library-template.netlify.app/

Features 📋

Using 📦

  1. Clone Template
git clone https://github.com/kothing/vite-typescript-react-library-template.git
  1. Install Packages
yarn install
  1. Start Project
yarn dev
  1. If you using git, delete the existing folder .git after cloning (open git bash or other terminal)
rm -rf .git

Options ✍️

The starter contains the following scripts:

  • dev - starts dev server
  • build - generates the following bundles: CommonJS (.cjs) ES (.es) UMD (.umd.js) and IIFE (.iife.js). The name of bundle is automatically taked from package.json name property
  • eslint - lint .js, .jsx, .ts, .tsx files with eslint
  • prettier - format .js, .ts, .html and .json files with prettier
  • stylelint - format .css less and .scss files with stylelint
  • prepare - script for setting up husky pre-commit hook

📋 License

Licensed under the MIT License.

About

⚛️ Create a new react library project with Vite, React JS, TypeScript, Eslint, Prettier in just 1 second and you don't need to setup anything.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /