diff --git a/package-lock.json b/package-lock.json index 0905cebf..be5e570a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,9 @@ "typescript": "^4.7.4", "vite": "^4.3.8" }, + "engines": { + "node": ">=18" + }, "peerDependencies": { "three": ">=0.128.0" } diff --git a/package.json b/package.json index 90fb4c29..35fbc0a2 100644 --- a/package.json +++ b/package.json @@ -53,5 +53,8 @@ "scripts": { "build": "rimraf dist && vite build && tsc --emitDeclarationOnly && copyfiles -u 1 \"src/**/*.d.ts\" dist && copyfiles package.json README.md LICENSE dist && json -I -f dist/package.json -e \"this.private=undefined;this.type=\\\"module\\\";\"", "lint": "tsc --noEmit" + }, + "engines": { + "node": ">=18" } }