diff --git a/package.json b/package.json index e1767bf..4551d5a 100644 --- a/package.json +++ b/package.json @@ -1,19 +1,26 @@ { "name": "gen-doctests", "private": false, - "version": "0.2.0", + "version": "0.2.1", "type": "module", "bin": "dist/index.js", "scripts": { "test": "vitest --run --reporter=tree", "build": "tsc -b && node .config/build.js", - "prepublishOnly": "pnpm test && pnpm fmt && pnpm build", + "prepublishOnly": "pnpm build", "fmt": "prettier --write .", "lint": "eslint .", "preview": "vite preview" }, "exports": { - ".": "./dist/index.js" + ".": { + "default": "./dist/index.js", + "types": "./dist/index.d.ts" + }, + "./config": { + "default": "./dist/config.js", + "types": "./dist/config.d.ts" + } }, "devDependencies": { "@eslint/js": "^10.0.1",