Files
context-extractor/automation-js/package.json
T
ilia d26d1aaa4e
CI / automation-js (vitest + real Chromium) (pull_request) Successful in 1m15s
CI / Lint + tests (pull_request) Successful in 10m42s
Unify product version at 1.4.0, add ruff gate, drop stale GitHub workflow
- One version (1.4.0) across extension/manifest.json, automation/pyproject.toml,
  automation-js/package.json (+lockfile); README documents the bump-together policy
- Delete .github/workflows/ci.yml (behind the Gitea copy; CI runs on Gitea Actions)
- CURSOR_PROMPT.md: replace personal paths with <path-to-context-extractor>
- Add ruff (E4,E7,E9,F,I, line-length 120) to automation/ dev extras, Makefile lint,
  and the Gitea CI Lint + tests job as a hard gate
2026-07-26 15:47:37 -04:00

55 lines
1.3 KiB
JSON

{
"name": "context-extractor",
"version": "1.4.0",
"description": "Capture console/network/errors and extract AI-ready markdown from a Playwright (Node) page — JS/TS twin of the automation/ Python package, sharing the same extension/core/*.js.",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup && npm run copy-js",
"copy-js": "mkdir -p dist/js && cp -L src/js/dom.js src/js/prompt.js dist/js/",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest"
},
"peerDependencies": {
"playwright-core": ">=1.40.0"
},
"devDependencies": {
"@types/node": "^22.15.0",
"playwright": "^1.55.0",
"playwright-core": "^1.55.0",
"tsup": "^8.4.0",
"typescript": "^5.8.0",
"vitest": "^3.1.0"
},
"engines": {
"node": ">=20"
},
"repository": {
"type": "git",
"url": "https://git.levkin.ca/ilia/context-extractor.git"
},
"keywords": [
"playwright",
"camoufox",
"scraping",
"llm",
"markdown",
"browser-extension"
]
}