-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.53 KB
/
Copy pathpackage.json
File metadata and controls
97 lines (97 loc) · 3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@trevonistrevon/pi-loop",
"version": "0.7.1",
"description": "A pi extension for cron/event-based agent re-wake loops and background process monitoring.",
"author": "trevonistrevon",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/trvon/pi-loop.git"
},
"engines": {
"node": ">=22.19.0"
},
"keywords": [
"pi-package",
"pi",
"pi-extension",
"loop",
"cron",
"monitor",
"scheduler"
],
"files": [
"dist/",
"docs/USAGE_GUIDE.md",
"docs/WORKFLOW_HARNESS_TESTING.md",
"docs/BACKLOG_PROMPT_TESTING.md",
"docs/PROFILING_AND_FUZZING.md",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./api": {
"types": "./dist/api.d.ts",
"import": "./dist/api.js",
"default": "./dist/api.js"
},
"./package.json": "./package.json"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": "*",
"@earendil-works/pi-tui": "*",
"typebox": "*"
},
"overrides": {
"postcss": "^8.5.18"
},
"scripts": {
"clean": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\"",
"build": "npm run clean && tsc",
"audit:production": "npm audit --omit=dev --audit-level=moderate",
"prepublishOnly": "npm run audit:production && npm run lint && npm run typecheck && npm run test && npm run build && npm run test:package",
"test:package": "node scripts/package-smoke.mjs",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"test:e2e": "npm run test:e2e:reminder && npm run test:e2e:workflow && npm run test:e2e:backlog",
"test:e2e:reminder": "bash test/e2e/reminder-injection.sh",
"test:e2e:workflow": "npm run build && node test/e2e/workflow-linked-tasks.mjs",
"test:e2e:backlog": "npm run build && node test/e2e/backlog-action-first.mjs",
"test:property": "TZ=UTC vitest run test/property --maxWorkers=1 --no-file-parallelism --passWithNoTests",
"test:fuzz": "FC_NUM_RUNS=10000 npm run test:property",
"bench": "TZ=UTC vitest bench --run --maxWorkers=1 --no-file-parallelism --passWithNoTests",
"bench:baseline": "node -e \"require('node:fs').mkdirSync('.artifacts/benchmarks',{recursive:true})\" && npm run bench -- --outputJson .artifacts/benchmarks/baseline.json",
"bench:compare": "npm run bench -- --compare .artifacts/benchmarks/baseline.json",
"profile:core": "node -e \"const fs=require('node:fs');fs.mkdirSync('.artifacts/profiles',{recursive:true});fs.rmSync('.artifacts/profiles/core.cpuprofile',{force:true})\" && TZ=UTC node --import tsx --cpu-prof --cpu-prof-interval=1000 --cpu-prof-dir=.artifacts/profiles --cpu-prof-name=core.cpuprofile benchmarks/profile-core.ts",
"hooks:install": "git config core.hooksPath .githooks",
"typecheck": "npm run typecheck:prod && tsc -p tsconfig.dev.json",
"typecheck:prod": "tsc --noEmit",
"lint": "biome check src/ test/ benchmarks/",
"lint:fix": "biome check --fix src/ test/ benchmarks/"
},
"devDependencies": {
"@biomejs/biome": "^2.4.13",
"@earendil-works/pi-coding-agent": "0.83.0",
"@earendil-works/pi-tui": "0.83.0",
"@types/node": "^25.0.0",
"@vitest/coverage-v8": "^4.1.8",
"fast-check": "^4.9.0",
"tsx": "^4.23.1",
"typebox": "1.3.7",
"typescript": "^6.0.0",
"vitest": "^4.1.5"
},
"pi": {
"extensions": [
"./dist/index.js"
]
}
}