logicsrc/packages/openerrand/package.json
Anthony Ettinger ef35139f04
OpenABTest 0.2-draft: goal conversions (#239)
* OpenABTest 0.2-draft: goal conversions

0.1 conversions are purchases with a price, so button, onboarding and
landing-page experiments had nothing conformant to report. 0.2 adds a goal
conversion: metrics.conversion "unique-participants-with-goal" with
metrics.goal, metrics.profit "none", and conversion events carrying exactly
one of price or goal (optional observed value). Backward compatible: every
0.1 document stays valid; goal forms require "0.2-draft". The reference
implementation is w3bs.org/ab-testing.

@logicsrc/schemas and @logicsrc/validators 0.5.0, @logicsrc/sdk 0.4.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* contract: accept any 0.x draft status (OpenABTest is 0.2)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 04:58:40 -07:00

49 lines
1.1 KiB
JSON

{
"name": "@logicsrc/openerrand",
"version": "0.1.0",
"description": "Reference runner for the OpenErrand standard: reads an errand file and drives headless Chrome through a website that has no API, stopping at every step that belongs to a person.",
"license": "MIT",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./commands": "./dist/commands.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/profullstack/logicsrc.git",
"directory": "packages/openerrand"
},
"homepage": "https://logicsrc.com/docs/openerrand",
"keywords": [
"logicsrc",
"openerrand",
"errand",
"browser-automation",
"chrome",
"cdp",
"standards",
"cli"
],
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"engines": {
"node": ">=22"
},
"scripts": {
"build": "tsc -p tsconfig.json",
"test": "vitest run src"
},
"dependencies": {
"@logicsrc/validators": "^0.5.0",
"commander": "^14.0.2"
},
"devDependencies": {
"vitest": "^4.0.8"
}
}