{"repo":"jokester/typescript-boilerplate","free":true,"listed":false,"github":"https://github.com/jokester/typescript-boilerplate","clone":"git clone https://github.com/jokester/typescript-boilerplate.git","description":"Start writing stuff in TypeScript without bothered by configurations","language":"TypeScript","stars":34,"topics":["typescript","nodejs","hacktoberfest","hono","nextjs","preact","react","template","trpc","vite"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"typescript-boilerplate TypeScript templates I use to immediately start doing something, with opinionated configuration. How To Use If you need monorepo: start with the whole repo , duplicate or remove variant subpackages as needed else: start with a package subdirectory, or download ejected zip / tar.xz from Github releases. Variants nextjs , for a frontend + server monolith Based on create-next-app template. Plugins: - A hand-roll alternative to next-compose-plugins - next-bundle-analyzer Libraries: - trpc for typed API - tailwindcss - No CSS or UI libraries. User can freely bring own UI libraries. - util libraries: clsx foxact lodash-es @jokester/ts-commonutil Not configured for serverless or SSG, I don't use Next.js for them. preact-spa , for frontend-only SPA based on create-vite template Libraries: - tailwindcss - react-helmet - preact-router If you need to host built assets with path rewriting, check hono-worker variant, or serve-handler (example). hono , for node.js or edge servers - based on hono - Capable of hosting SPA created by preact-spa empty , an empty npm package - Can be used for any purpose, a new library or CLI or else. Conventions shared by all variants All the variants contains a similar set of configurations and npm scripts: - tsconfig.json - jest / ts-jest for testing - gts prettier eslint for linting and formatting - npm dev - npm typecheck / npm typecheck:watch - npm lint / npm lint:fix - npm test / npm test:watch / npm test:coverage - npm build / npm","default_branch":null,"files":null,"tree":[],"storefront":"/r/jokester","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jokester/typescript-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}