diff --git a/package.json b/package.json index 348b3d8..4b86f4f 100644 --- a/package.json +++ b/package.json @@ -5,9 +5,16 @@ "author": "Supan Adit Pratama", "license": "MIT", "publishConfig": { - "directory": "packages", "access": "public" }, + "exports": { + ".": { + "import": "./plugins/index.js", + "require": "./plugins/index.js", + "types": "./plugins/index.d.ts" + }, + "./package.json": "./package.json" + }, "scripts": { "build": "nest build", "build:lib:skeleton": "tsc -p libs/skeleton/tsconfig.lib.json", @@ -85,4 +92,4 @@ "^@autocrud/prisma(|/.*)$": "/libs/prisma/src/$1" } } -} +} \ No newline at end of file