- Bump stale v0.1.0 install pins to v0.3.0; lead mail docs with Mailpit (homelab default) instead of Mailtrap; document new modules. - Add a `release` CI job that runs on `vX.Y.Z` tag push: re-verifies build/test, checks tag == package.json version and that CHANGELOG.md documents it, then creates a Gitea release via the API with an npm-pack tarball attached. Needs a one-time GITEA_TOKEN repo secret. - Remove the standalone dashboards/playkit-overview.json — superseded by a generated `live-playkit` board in ansible deploy/observability, which is now wired to a real Pushgateway.
84 lines
1.9 KiB
JSON
84 lines
1.9 KiB
JSON
{
|
|
"name": "@levkin/playkit",
|
|
"version": "0.3.0",
|
|
"description": "Shared Playwright + API test kit — browser helpers, API client, logging, performance, Grafana/Prometheus metrics",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"main": "./dist/index.cjs",
|
|
"module": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs"
|
|
},
|
|
"./browser": {
|
|
"types": "./dist/browser/index.d.ts",
|
|
"import": "./dist/browser/index.js",
|
|
"require": "./dist/browser/index.cjs"
|
|
},
|
|
"./api": {
|
|
"types": "./dist/api/index.d.ts",
|
|
"import": "./dist/api/index.js",
|
|
"require": "./dist/api/index.cjs"
|
|
},
|
|
"./mail": {
|
|
"types": "./dist/mail/index.d.ts",
|
|
"import": "./dist/mail/index.js",
|
|
"require": "./dist/mail/index.cjs"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md",
|
|
"ROADMAP.md",
|
|
"LICENSE"
|
|
],
|
|
"scripts": {
|
|
"build": "tsup",
|
|
"prepare": "npm run build",
|
|
"clean": "rm -rf dist",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"lint": "tsc --noEmit",
|
|
"prepublishOnly": "npm run build",
|
|
"example:api": "tsx examples/api/health.example.ts"
|
|
},
|
|
"dependencies": {
|
|
"zod": "^3.24.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@playwright/test": ">=1.40.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@playwright/test": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@playwright/test": "^1.52.0",
|
|
"@types/node": "^22.15.0",
|
|
"tsup": "^8.4.0",
|
|
"tsx": "^4.19.0",
|
|
"typescript": "^5.8.0",
|
|
"vitest": "^3.1.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.levkin.ca/ilia/playkit.git"
|
|
},
|
|
"keywords": [
|
|
"playwright",
|
|
"e2e",
|
|
"api-testing",
|
|
"observability",
|
|
"grafana",
|
|
"prometheus"
|
|
]
|
|
}
|