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.git
Navigate to the repo directory.
cd happy-ts
Install dependencies using Yarn.
yarn install
lint
: Run ESLint to check for code quality issues.
yarn lint
format
: Run Prettier to format the code.
yarn format
clean
: Clean up generated artifacts (like thedist/
directory).
yarn clean
build
: Compile TypeScript files and output in thedist/
directory.
yarn build
start
: Execute the compileddist/index.js
.
yarn start
test
: Execute tests with Vitest.
yarn test
If you'd like to contribute, pull requests and issues are always appreciated.
- Add Yarn workspaces/monorepo support (written, not yet committed).