update version to 2025.0.2, enhance build scripts, add type exports, and improve reporting interfaces
This commit is contained in:
28
package.json
28
package.json
@@ -1,13 +1,20 @@
|
||||
{
|
||||
"name": "@techniker-me/pcast-api",
|
||||
"version": "2025.0.1",
|
||||
"version": "2025.0.2",
|
||||
"module": "src/index.ts",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"clean": "bash scripts/clean.sh",
|
||||
"ci-build": "bun run build:node && bun run build:browser",
|
||||
"format": "prettier --write ./",
|
||||
"test": "bun test",
|
||||
"test:watch": "bun test --watch",
|
||||
"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:browser": "bun build src/index.ts --outdir dist/browser --target browser --format esm --minify --production",
|
||||
"build:types": "tsc --outDir dist/types",
|
||||
"prepublishOnly": "bun run build",
|
||||
"clean": "rm -rf dist"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest",
|
||||
@@ -19,10 +26,19 @@
|
||||
"peerDependencies": {
|
||||
"typescript": "^5"
|
||||
},
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/types/index.d.ts",
|
||||
"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"
|
||||
"@types/node": "24.3.0",
|
||||
"phenix-edge-auth": "1.2.7"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user