diff --git a/package.json b/package.json index ebc77d0..c662224 100644 --- a/package.json +++ b/package.json @@ -3,16 +3,14 @@ "version": "1.0.0", "packageManager": "yarn@3.6.1", "source": "src/index.ts", - "type": "module", + "main": "dist/index.js", + "umd:main": "dist/index.umd.js", + "module": "dist/index.mjs", "exports": { - ".": { - "require": "./dist/index.cjs", - "default": "./dist/index.modern.js" - } + "types": "./dist/index.d.ts", + "require": "./dist/index.js", + "default": "./dist/index.modern.mjs" }, - "main": "./dist/index.cjs", - "module": "./dist/index.module.js", - "unpkg": "./dist/index.umd.js", "types": "dist/index.d.ts", "scripts": { "test": "jest",