-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.42 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 5.42 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "tonl",
"version": "2.5.2",
"description": "Token-Optimized Notation Language - A text-first, LLM-friendly serialization format with enterprise-level security, high-performance caching, comprehensive validation, streaming, and browser support",
"homepage": "https://github.com/tonl-dev/tonl",
"repository": {
"type": "git",
"url": "git+https://github.com/tonl-dev/tonl.git"
},
"bugs": {
"url": "https://github.com/tonl-dev/tonl/issues"
},
"files": [
"dist/**/*.js",
"dist/**/*.d.ts",
"dist/**/*.js.map",
"!dist/**/*.cmd",
"!dist/**/*.ps1",
"docs/",
"README.md",
"LICENSE"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"browser": "./dist/browser/tonl.esm.js",
"import": "./dist/index.js"
},
"./browser": {
"types": "./dist/browser-core.d.ts",
"import": "./dist/browser/tonl.esm.js"
},
"./schema": {
"types": "./dist/schema/index.d.ts",
"import": "./dist/schema/index.js"
},
"./parser": {
"types": "./dist/parser/index.d.ts",
"import": "./dist/parser/index.js"
},
"./stream": {
"types": "./dist/stream/index.d.ts",
"import": "./dist/stream/index.js"
},
"./query": {
"types": "./dist/query/index.d.ts",
"import": "./dist/query/index.js"
},
"./optimization": {
"types": "./dist/optimization/index.d.ts",
"import": "./dist/optimization/index.js"
},
"./navigation": {
"types": "./dist/navigation/index.d.ts",
"import": "./dist/navigation/index.js"
},
"./indexing": {
"types": "./dist/indexing/index.d.ts",
"import": "./dist/indexing/index.js"
},
"./modification": {
"types": "./dist/modification/index.d.ts",
"import": "./dist/modification/index.js"
},
"./repl": {
"types": "./dist/repl/index.d.ts",
"import": "./dist/repl/index.js"
},
"./errors": {
"types": "./dist/errors/index.d.ts",
"import": "./dist/errors/index.js"
},
"./package.json": "./package.json"
},
"main": "dist/index.js",
"type": "module",
"bin": {
"tonl": "dist/cli.js"
},
"scripts": {
"build": "tsc && node fix-imports.js",
"build:browser": "vite build && node scripts/copy-browser-build.js",
"build:all": "npm run build && npm run build:browser",
"test": "npm run build && node --test test/edge-cases.test.ts test/encode_decode_roundtrip.test.ts test/integration.test.ts test/navigation.test.ts test/parser.test.ts test/tonl-document.test.ts test/comprehensive.test.ts test/schema.test.ts test/stream.test.ts test/modification-setter.test.ts test/format.test.ts test/modification-complete.test.ts test/query-evaluator.test.ts test/query-filter.test.ts test/query-path-parser.test.ts test/schema-constraints.test.ts test/file-editor.test.ts test/hash-index.test.ts test/repl.test.ts test/browser.test.ts test/transaction.test.ts test/concurrency.test.ts test/review-fixes.test.ts test/integration/query-integration.test.ts test/integration/full-pipeline.test.ts",
"test:all": "npm run build && node --test test/*.test.ts",
"test:stable": "npm run test",
"test:features": "npm run build && node examples/feature-coverage-test.ts",
"test:examples": "npm run build && npm run examples:core && npm run examples:navigation && npm run examples:schema && npm run examples:query && npm run examples:modification && npm run examples:indexing && npm run examples:streaming",
"examples:core": "node examples/core/01-serialization-basics.ts",
"examples:navigation": "node examples/navigation/01-tree-traversal.ts",
"examples:schema": "node examples/schema/01-validation-demo.ts",
"examples:query": "node examples/query/01-basic-queries.ts && node examples/query/02-filter-expressions.ts",
"examples:modification": "node examples/modification/01-basic-crud.ts && node examples/modification/02-transactions.ts",
"examples:indexing": "node examples/indexing/01-basic-indexing.ts",
"examples:streaming": "node examples/streaming/01-large-files.ts",
"examples:all": "npm run test:examples",
"dev": "tsc --watch",
"bench": "npm run build && node bench/bench-bytes.js",
"bench-tokens": "npm run build && node bench/bench-tokens.js",
"bench-comprehensive": "npm run build && node dist/bench/comprehensive-bench.js",
"bench-query": "npm run build && node dist/bench/query-performance.js",
"link": "npm run build && npm link",
"test:coverage": "npm run build && c8 node --test test/*.test.ts",
"test:coverage:report": "npm run test:coverage -- --reporter=html --reporter=text",
"clean": "rimraf dist"
},
"keywords": [
"serialization",
"format",
"llm",
"compact",
"typescript",
"schema",
"validation",
"token-optimization",
"data-format",
"parser",
"query",
"jsonpath",
"indexing",
"streaming",
"repl",
"data-platform",
"crud",
"diff",
"ai",
"gpt",
"security",
"performance",
"caching",
"regex",
"string-builder",
"enterprise",
"production-ready",
"thread-safe",
"memory-efficient"
],
"author": "Ersin KOÇ",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"devDependencies": {
"@types/node": "^20.19.25",
"c8": "^10.1.3",
"fast-check": "^4.3.0",
"rimraf": "^6.0.1",
"stream-browserify": "^3.0.0",
"terser": "^5.44.0",
"typescript": "^5.0.0",
"vite": "^7.1.12"
}
}