diff --git a/package.json b/package.json index 3738c7a..d3f4c15 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@techniker-me/pcast-api", - "version": "2025.0.3", - "module": "src/index.ts", + "version": "2025.0.4", + "module": "dist/node/index.js", "type": "module", "scripts": { "format": "prettier --write ./", @@ -10,32 +10,39 @@ "test:coverage": "bun test --coverage", "build": "bun run build:node && bun run build:browser && bun run build:types", "ci-build": "bun run build:node && bun run build:browser && bun run build:types", - "build:node": "bun build src/index.ts --outdir dist/node --target node --format esm --minify --production", - "build:browser": "bun build src/index.ts --outdir dist/browser --target browser --format esm --minify --production", + "build:node": "bun build src/index.ts --outdir dist/node --target node --format esm --production", + "build:browser": "bun build src/index.ts --outdir dist/browser --target browser --format esm --production", "build:types": "tsc --outDir dist/types", "clean": "rm -rf dist" }, "devDependencies": { "@types/bun": "latest", + "@types/node": "24.3.0", "chai": "5.3.1", "chai-as-promised": "8.0.1", "mocha": "11.7.1", "prettier": "3.6.2", "typescript": "5.9.2" }, + "dependencies": { + "phenix-edge-auth": "1.2.7" + }, + "main": "./dist/node/index.js", + "types": "./dist/types/index.d.ts", "exports": { ".": { "types": "./dist/types/index.d.ts", + "browser": "./dist/browser/index.js", + "node": "./dist/node/index.js", "import": "./dist/node/index.js", "default": "./dist/node/index.js" - }, - "./browser": "./dist/browser/index.js" + } }, "publishConfig": { "registry": "https://registry-node.techniker.me" }, - "dependencies": { - "@types/node": "24.3.0", - "phenix-edge-auth": "1.2.7" - } -} + + "files": [ + "dist" + ] +} \ No newline at end of file