Create a typescript utility library using Vite

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • ts-library

    Utility library using Vite and TS

  • The code for this series is hosted in Github here.

  • vite

    Next generation frontend tooling. It's fast!

  • import { defineConfig } from 'vite'; import { resolve } from 'path'; // https://vitejs.dev/config/ export default defineConfig({ build: { lib: { entry: resolve(__dirname, 'src/main.ts'), formats: ['es'] } }, resolve: { alias: { src: resolve('src/') } }, });

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • husky

    Git hooks made easy 🐶 woof!

  • To automate that we need some kind of pre-commit hook validation. That's where husky and lint-staged plugins come in handy let's install and set them up.

  • prettier

    Prettier is an opinionated code formatter.

  • I'm going with Prettier to format the code. Formatting helps us to keep our code uniform for every developer.

  • node

    Node.js JavaScript runtime ✨🐢🚀✨

  • Node.js

  • jest

    Delightful JavaScript Testing.

  • We are going to use the most popular unit testing framework Jest for writing our unit tests.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts