This repository demonstrates a simple setup using:
- VS Code
- TypeScript
- ESLint
- Prettier
- Yarn
- Plug'n'Play (PnP)
- editor SDKs
- Vitest
Clone the repository and navigate to the directory.
git clone https://github.com/qwell/happy-ts.gitNavigate to the repo directory.
cd happy-tsInstall dependencies using Yarn.
yarn installlint: Run ESLint to check for code quality issues.
yarn lintformat: Run Prettier to format the code.
yarn formatclean: Clean up generated artifacts (like thedist/directory).
yarn cleanbuild: Compile TypeScript files and output in thedist/directory.
yarn buildstart: Execute the compileddist/index.js.
yarn starttest: Execute tests with Vitest.
yarn testIf you'd like to contribute, pull requests and issues are always appreciated.
- Add Yarn workspaces/monorepo support (written, not yet committed).