chore: package exports

This commit is contained in:
Supan Adit Pratama 2024-10-29 10:15:16 +07:00
parent cfc30c1030
commit 89bf884eec

View File

@ -5,9 +5,16 @@
"author": "Supan Adit Pratama", "author": "Supan Adit Pratama",
"license": "MIT", "license": "MIT",
"publishConfig": { "publishConfig": {
"directory": "packages",
"access": "public" "access": "public"
}, },
"exports": {
".": {
"import": "./plugins/index.js",
"require": "./plugins/index.js",
"types": "./plugins/index.d.ts"
},
"./package.json": "./package.json"
},
"scripts": { "scripts": {
"build": "nest build", "build": "nest build",
"build:lib:skeleton": "tsc -p libs/skeleton/tsconfig.lib.json", "build:lib:skeleton": "tsc -p libs/skeleton/tsconfig.lib.json",
@ -85,4 +92,4 @@
"^@autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1" "^@autocrud/prisma(|/.*)$": "<rootDir>/libs/prisma/src/$1"
} }
} }
} }