Browse Source

chore: adds the "engines.node" option

e22m4u 1 year ago
parent
commit
b747f96972
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package.json

+ 3 - 0
package.json

@@ -9,6 +9,9 @@
     "import": "./src/index.js",
     "import": "./src/index.js",
     "require": "./dist/cjs/index.cjs"
     "require": "./dist/cjs/index.cjs"
   },
   },
+  "engines": {
+    "node": ">=12"
+  },
   "scripts": {
   "scripts": {
     "lint": "tsc && eslint .",
     "lint": "tsc && eslint .",
     "lint:fix": "tsc && eslint . --fix",
     "lint:fix": "tsc && eslint . --fix",