Development

In the following chapter are the Scripts that you can use.

Install dependencies

npm install

Install project dependencies listed in the package.json file.

Generate type stubs

npm run dev:prepare

Generates type stub files, typically relevant when using TypeScript.

Develop with the playground

npm run dev

Starts the development environment with the playground for testing and development.

Build the playground

npm run dev:build

Builds a production version of the playground for deployment.

Run ESLint:

npm run lint

Run Vitest

npm run test
npm run test:watch

Runs tests using Vitest, a testing framework for Vue.js applications. The first command runs test once, and the second watches for file changes and runs tests automatically.

Release new version

npm run release

Releases a new version, updating version numbers, creating Git tags and publishing code on npm.