diff --git a/packages/manatea/package.json b/packages/manatea/package.json index bcf5829..d1b696d 100644 --- a/packages/manatea/package.json +++ b/packages/manatea/package.json @@ -5,8 +5,17 @@ "source": "src/index.ts", "umd:main": "dist/manatea.umd.js", "main": "dist/manatea.js", - "module": "dist/manatea.m.js", + "module": "dist/manatea.mjs", "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/manatea.modern.mjs", + "browser": "./dist/manatea.modern.mjs", + "require": "./dist/manatea.js" + }, + "./package.json": "./package.json" + }, "license": "MIT", "author": "Ayc0", "repository": "git@github.com:Ayc0/Manatea.git", diff --git a/packages/react-manatea/package.json b/packages/react-manatea/package.json index d6c0fdd..0764cbb 100644 --- a/packages/react-manatea/package.json +++ b/packages/react-manatea/package.json @@ -5,8 +5,17 @@ "source": "src/index.ts", "umd:main": "dist/react-manatea.umd.js", "main": "dist/react-manatea.js", - "module": "dist/react-manatea.m.js", - "typings": "dist/index.d.ts", + "module": "dist/react-manatea.mjs", + "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/react-manatea.modern.mjs", + "browser": "./dist/react-manatea.modern.mjs", + "require": "./dist/react-manatea.js" + }, + "./package.json": "./package.json" + }, "license": "MIT", "author": "Ayc0", "repository": "git@github.com:Ayc0/Manatea.git",