Skip to content

Commit

Permalink
💥 add exports field to package.json
Browse files Browse the repository at this point in the history
and tweak supported node versions.
  • Loading branch information
mysticatea committed May 14, 2021
1 parent fd5354f commit 5361c33
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,21 @@
"version": "2.1.0",
"description": "Utilities for ESLint plugins.",
"engines": {
"node": ">=10"
"node": "^10.0.0 || ^12.0.0 || >= 14.0.0"
},
"sideEffects": false,
"main": "index",
"module": "index.mjs",
"files": [
"index.*"
],
"exports": {
".": {
"import": "./index.mjs",
"require": "./index.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"eslint-visitor-keys": "^2.0.0"
},
Expand Down

0 comments on commit 5361c33

Please sign in to comment.