- Node.js 20.x or later
First install the project dependencies:
corepack enable npm
npm install
To create a release build, type:
npm run build
The build artifacts are found in dist/
. For Windows, the installer will be called Neanes Setup [version].exe
. The raw files can be found in dist/win_unpacked
.
To run the development server, type:
npm run dev
This will launch the application in development mode. As changes are made to the source code, the app will reload automatically.
The Vue Devtools extension is available in development mode.
To enable it, add the following to .env.local
and/or .env.web.local
:
VITE_ENABLE_DEV_TOOLS=true
Any change that updates package.json
must include the corresponding update to package-lock.json
after running npm install
.
To check that the code is linted, type:
npm run lint
To automatically fix any lint issues, type:
npm run lint:fix
To run tests before committing, type:
npm test
When using Visual Studio Code, install the following extension:
To test localization support, add the following to .env.local
and/or .env.web.local
:
VITE_PSEUDOLOCALIZATION=true
This enables pseudolocalization for all localized strings.