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",
"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(|/.*)$": "<rootDir>/libs/prisma/src/$1"
}
}
}
}