- "start": "npm run build && node start.js",
- "serve": "vue-cli-service serve",
- "build": "vue-cli-service build",
- "lint": "vue-cli-service lint",
- "lint:fix": "vue-cli-service lint --fix",
- "test": "vue-cli-service test:unit"
+ "preinstall": "npx --yes only-allow pnpm",
+ "start": "pnpm build && node start.js",
+ "dev": "vite",
+ "serve": "vite preview",
+ "build": "vite build",
+ "clean:dist": "npx rimraf dist",
+ "clean:node_modules": "npx rimraf node_modules",
+ "lint": "eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
+ "lint:fix": "eslint . --cache --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
+ "test": "vitest"