Files
ToolsPCastApi-TS/package.json

48 lines
1.4 KiB
JSON

{
"name": "@techniker-me/pcast-api",
"version": "2025.0.4",
"module": "dist/node/index.js",
"type": "module",
"scripts": {
"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 --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"
}
},
"publishConfig": {
"registry": "https://registry-node.techniker.me"
},
"files": [
"dist"
]
}