aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/package.json b/package.json
index 78c89e0..f6479b0 100644
--- a/package.json
+++ b/package.json
@@ -10,6 +10,7 @@
"typings": "index.d.ts",
"exports": {
"types": "./index.d.ts",
+ "module": "./dist/mitt.mjs",
"import": "./dist/mitt.mjs",
"require": "./dist/mitt.js",
"default": "./dist/mitt.mjs"
@@ -57,7 +58,7 @@
"prettier": {
"singleQuote": true,
"trailingComma": "none"
- },
+ },
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
@@ -79,6 +80,6 @@
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"ts-node": "^10.9.1",
- "typescript": "^5.1.5"
+ "typescript": "^4.9.5"
}
}