diff --git a/.npmrc b/.npmrc index 45daf7b5..808af113 100644 --- a/.npmrc +++ b/.npmrc @@ -2,6 +2,3 @@ package-lock=true prefer-offline=true save-exact=true engine-strict=true -engines={ - "pnpm": ">=8.6.6" -} \ No newline at end of file diff --git a/package.json b/package.json index 1acbd7d1..1c1a09f2 100644 --- a/package.json +++ b/package.json @@ -3,13 +3,17 @@ "private": false, "version": "4.1.4", "type": "module", + "engines": { + "node": ">=16.0.0", + "pnpm": ">=8.0.0" + }, "scripts": { "dev": "vite", - "build": "vue-tsc --noEmit && vite build --mode production", + "build": "eslint src && vue-tsc --noEmit && vite build --mode production", "preview": "vite preview", - "test": "vue-tsc --noEmit && vite build --mode test", - "dev-build": "vue-tsc --noEmit && vite build --mode development", - "report": "vue-tsc --noEmit && vite build --mode report", + "test": "eslint src && vue-tsc --noEmit && vite build --mode test", + "dev-build": "eslint src && vue-tsc --noEmit && vite build --mode development", + "report": "eslint src && vue-tsc --noEmit && vite build --mode report", "prepare": "husky install" }, "lint-staged": {