-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.81 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.81 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
{
"$schema": "https://json.schemastore.org/package.json",
"name": "spank-n-save",
"version": "0.1.0",
"license": "MIT",
"packageManager": "npm@10.9.8",
"description": "OpenCode plugin for detecting token overconsumption and producing ranked, reviewable optimization patches.",
"type": "module",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"schemas",
"README.md",
"CHANGELOG.md",
"SECURITY.md"
],
"scripts": {
"build": "tsup src/index.ts --format esm --dts --clean --sourcemap",
"typecheck": "tsc --noEmit",
"test": "node --experimental-strip-types --test test/*.test.ts",
"test:coverage": "node --experimental-strip-types --experimental-test-coverage --test test/*.test.ts",
"check": "npm run typecheck && npm test",
"install:local": "node scripts/install-local.mjs",
"benchmark:fixtures": "node --experimental-strip-types benchmark/generate-detector-fixtures.ts",
"benchmark:detectors": "node --experimental-strip-types benchmark/detector-accuracy.ts",
"benchmark:detectors:human": "node --experimental-strip-types benchmark/human-detector-evaluation.ts",
"benchmark:performance": "node --expose-gc --experimental-strip-types benchmark/performance.ts",
"benchmark:privacy": "node --experimental-strip-types benchmark/privacy.ts",
"benchmark:calibration:corpus": "node --experimental-strip-types benchmark/generate-calibration-corpus.ts",
"benchmark:calibration:collect": "node --experimental-strip-types benchmark/collect-token-counts.ts",
"benchmark:calibration:analyze": "node --experimental-strip-types benchmark/token-calibration.ts",
"benchmark:paired:run": "node --experimental-strip-types benchmark/paired/run.ts",
"benchmark:paired:summarize": "node --experimental-strip-types benchmark/paired/summarize.ts",
"benchmark:publish": "node --experimental-strip-types benchmark/publish-results.ts",
"benchmark:local": "npm run benchmark:fixtures && npm run benchmark:detectors && npm run benchmark:performance && npm run benchmark:privacy"
},
"keywords": [
"opencode",
"plugin",
"tokens",
"context-window",
"llm-observability",
"cost-optimization"
],
"author": "MerverliPy",
"repository": {
"type": "git",
"url": "git+https://github.com/MerverliPy/SpankNSave.git"
},
"bugs": {
"url": "https://github.com/MerverliPy/SpankNSave/issues"
},
"homepage": "https://github.com/MerverliPy/SpankNSave#readme",
"engines": {
"node": ">=22"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.17.4 <2"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.17.4",
"@types/node": "^25.9.3",
"tsup": "^8.5.0",
"typescript": "^6.0.3"
},
"overrides": {
"esbuild": "0.28.1"
}
}