64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
|
"name": "@techniker-me/pcast-api",
|
|
"version": "2025.1.5",
|
|
"type": "module",
|
|
"scripts": {
|
|
"ci-build": "bun run build",
|
|
"test": "bun test",
|
|
"test:watch": "bun test --watch",
|
|
"test:coverage": "bun test --coverage",
|
|
"preformat": "bun install",
|
|
"format": "prettier --write ./",
|
|
"prelint:fix": "bun format",
|
|
"lint": "eslint src/**/*.ts",
|
|
"lint:fix": "eslint src/**/*.ts --fix",
|
|
"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 --emitDeclarationOnly --outDir dist/types",
|
|
"build:node:dev": "bun build src/index.ts --outdir dist/node --target node --format esm --development",
|
|
"build:browser:dev": "bun build src/index.ts --outdir dist/browser --target browser --format esm --development",
|
|
"build:types:dev": "tsc --emitDeclarationOnly --outDir dist/types",
|
|
"prebuild:dev": "bun run clean",
|
|
"build:dev": "bun run build:node:dev;bun run build:browser:dev;bun run build:types:dev",
|
|
"prebuild": "bun run clean",
|
|
"build": "bun run build:node && bun run build:browser && bun run build:types",
|
|
"clean": "rm -rf dist",
|
|
"prepublish": "bash scripts/pre-publish.sh"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "9.33.0",
|
|
"@types/bun": "latest",
|
|
"@types/node": "24.3.0",
|
|
"chai": "5.3.1",
|
|
"chai-as-promised": "8.0.1",
|
|
"eslint": "9.33.0",
|
|
"globals": "16.3.0",
|
|
"jiti": "2.5.1",
|
|
"mocha": "11.7.1",
|
|
"prettier": "3.6.2",
|
|
"typescript": "5.9.2",
|
|
"typescript-eslint": "8.40.0"
|
|
},
|
|
"dependencies": {
|
|
"phenix-edge-auth": "1.2.7"
|
|
},
|
|
"module": "dist/node/index.js",
|
|
"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/"
|
|
]
|
|
}
|