Skip to content

Commit 3176cac

Browse files
authored
fix: add engines field to specify Node version compatibility (#112)
1 parent 0d759fe commit 3176cac

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

package.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"dist"
2424
],
2525
"scripts": {
26-
"build": "rslib build",
27-
"dev": "rslib build --watch",
26+
"build": "rslib",
27+
"dev": "rslib --watch",
2828
"lint": "biome check .",
2929
"lint:write": "biome check . --write",
30-
"prepare": "simple-git-hooks && pnpm run build",
31-
"test": "rstest run",
30+
"prepare": "simple-git-hooks && rslib",
31+
"test": "rstest",
3232
"bump": "npx bumpp"
3333
},
3434
"simple-git-hooks": {
@@ -60,6 +60,9 @@
6060
"simple-git-hooks": "^2.13.1",
6161
"typescript": "^5.9.3"
6262
},
63+
"engines": {
64+
"node": "^20.19.0 || >=22.12.0"
65+
},
6366
"packageManager": "pnpm@10.33.0",
6467
"publishConfig": {
6568
"access": "public",

0 commit comments

Comments
 (0)