generated from blueplum/typescript-template
chore: fix exports
This commit is contained in:
+10
-3
@@ -1,19 +1,26 @@
|
|||||||
{
|
{
|
||||||
"name": "gen-doctests",
|
"name": "gen-doctests",
|
||||||
"private": false,
|
"private": false,
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": "dist/index.js",
|
"bin": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "vitest --run --reporter=tree",
|
"test": "vitest --run --reporter=tree",
|
||||||
"build": "tsc -b && node .config/build.js",
|
"build": "tsc -b && node .config/build.js",
|
||||||
"prepublishOnly": "pnpm test && pnpm fmt && pnpm build",
|
"prepublishOnly": "pnpm build",
|
||||||
"fmt": "prettier --write .",
|
"fmt": "prettier --write .",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
"exports": {
|
"exports": {
|
||||||
".": "./dist/index.js"
|
".": {
|
||||||
|
"default": "./dist/index.js",
|
||||||
|
"types": "./dist/index.d.ts"
|
||||||
|
},
|
||||||
|
"./config": {
|
||||||
|
"default": "./dist/config.js",
|
||||||
|
"types": "./dist/config.d.ts"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@eslint/js": "^10.0.1",
|
"@eslint/js": "^10.0.1",
|
||||||
|
|||||||
Reference in New Issue
Block a user