Solid Boilerplate
npm.
-
(Optional) Install the VS Code extensions listed in
.vscode/extensions.json -
Use
yarnto install dependencies -
Use
yarn devto start development server
- ⬇️
yarn- install dependencies - 🧑💻
yarn dev- start local development server - 🖥
yarn preview- start local production server
- 🔨
yarn build- build for production & output todist/with Vite
- 🧪
yarn test- run unit tests & generate coverage report incoverage/
- 🧹
yarn lint- lint files insrc/ - 🧼
yarn lint:fix- lint files insrc/& fix automatically
coverage/- Unit test coveragedist/- Code outputpublic/- Static filessrc/- Project source code__test__/- Unit test filesassets/- assetscomponents/- UI componentspages/- PagesApp.tsx- Parent componentglobal.d.ts- Global TypeScript type declarationsindex.tsx- Solid entry point
index.html- App HTML entry point
Additionally,
Todo Tree is great for seeing an overview of the TODO's & NOTE's in the project.
Linting is provided by ESLint with a custom configuration & the following plugins:
- typescript-eslint
- eslint-plugin-import
- eslint-plugin-prettier
- eslint-plugin-regexp
- eslint-plugin-vitest
- eslint-plugin-solid