-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.43 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.43 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
{
"name": "context-compression-engine",
"version": "1.0.0",
"description": "Lossless context compression engine for LLMs",
"type": "module",
"engines": {
"node": ">=18"
},
"scripts": {
"build": "tsc",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"bench": "npx tsx bench/run.ts",
"bench:llm": "npx tsx bench/run.ts --llm",
"bench:save": "npx tsx bench/run.ts --save",
"bench:check": "npx tsx bench/run.ts --check",
"test:e2e": "npm run build && npm pack && npm run test:e2e:lint && npm run test:e2e:smoke; EXIT=$?; npm run test:e2e:cleanup; exit $EXIT",
"test:e2e:lint": "publint ./context-compression-engine-*.tgz --strict && attw ./context-compression-engine-*.tgz --ignore-rules cjs-resolves-to-esm",
"test:e2e:smoke": "cd e2e && npm install ../context-compression-engine-*.tgz && npm test",
"test:e2e:cleanup": "rm -f context-compression-engine-*.tgz && rm -rf e2e/node_modules && rm -f e2e/package-lock.json",
"test:e2e:published": "cd e2e && npm install context-compression-engine && npm test",
"prepublishOnly": "npm test && tsc",
"demo:build": "node demo/build.mjs",
"demo": "npm run demo:build && npx serve demo"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"license": "AGPL-3.0-only",
"keywords": [
"llm",
"context",
"compression",
"tokens",
"summarization",
"chat",
"messages",
"context-window",
"token-budget",
"deduplication"
],
"author": "Lisa Welsch <lisa@tastehub.io> (https://www.lisawelsch.com)",
"repository": {
"type": "git",
"url": "git+https://github.com/SimplyLiz/ContextCompressionEngine.git"
},
"homepage": "https://github.com/SimplyLiz/ContextCompressionEngine#readme",
"bugs": {
"url": "https://github.com/SimplyLiz/ContextCompressionEngine/issues"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@eslint/js": "^10.0.1",
"@vitest/coverage-v8": "^4.0.18",
"esbuild": "^0.27.3",
"eslint": "^10.0.2",
"openai": "^6.25.0",
"prettier": "^3.8.1",
"publint": "^0.3.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"vitest": "^4.0.18"
}
}