diff --git a/package.json b/package.json index 09225de..d890863 100644 --- a/package.json +++ b/package.json @@ -2,16 +2,16 @@ "name": "@govtechsg/oa-verify", "version": "0.0.0-development", "description": "", - "type": "commonjs", - "source": "src/index.ts", "main": "dist/index.js", "unpkg": "dist/index.umd.js", "module": "dist/index.module.js", + "types": "dist/types/index.d.ts", "exports": { "require": "./dist/index.js", - "default": "./dist/index.modern.js" + "import": "./dist/index.modern.mjs", + "default": "./dist/index.modern.mjs", + "types": "./dist/types/index.d.ts" }, - "types": "dist/types/index.d.ts", "scripts": { "build": "npm run clean && microbundle --tsconfig tsconfig.prod.json", "clean": "rm -rf dist/",