aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJason Miller <[email protected]>2023-07-04 13:27:50 -0400
committerJason Miller <[email protected]>2023-07-04 13:27:50 -0400
commit3f81679127be71dd7ad1b2bbbd5a56df81c96290 (patch)
treeb831d58bea18484e59560ca4af680abbb323991c /package.json
parentbbba04a149f29755be637188a1f480a3ec228807 (diff)
fix TypeScript config
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"
}
}