-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
149 lines (149 loc) · 6.61 KB
/
Copy pathpackage.json
File metadata and controls
149 lines (149 loc) · 6.61 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
{
"name": "ata-validator",
"version": "1.6.2",
"description": "JSON Schema validation with first-class TypeScript and zero runtime cost. AOT compile to per-schema ESM modules with zero validator dependency. Generic Validator<T> for TypeBox/Zod/Valibot composition. Optional runtime API. Standard Schema V1 compatible.",
"main": "index.js",
"module": "index.mjs",
"types": "index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"browser": {
"import": "./index.browser.mjs",
"require": "./index.js"
},
"import": "./index.mjs",
"require": "./index.js"
},
"./compat": {
"types": "./compat.d.ts",
"import": "./compat.mjs",
"require": "./compat.js"
},
"./build": {
"types": "./build.d.ts",
"import": "./build.mjs",
"require": "./build.js"
},
"./t": {
"types": "./t.d.ts",
"import": "./t.mjs",
"require": "./t.js"
},
"./package.json": "./package.json"
},
"sideEffects": false,
"bin": {
"ata": "bin/ata.js"
},
"browser": {
"./lib/native-load.js": "./lib/native-load.browser.js"
},
"scripts": {
"prepublishOnly": "node scripts/regen-safe-regex-source.js && node tests/test_pack_purity.js && ATA_ALLOW_DOC_PLACEHOLDERS=1 node scripts/check-doc-coverage.js && node tests/test_error_codes_lock.js && node tests/test_safe_regex_source_sync.js && node tests/test_version_sync.js",
"release:check": "node scripts/regen-safe-regex-source.js && node tests/test_pack_purity.js && node scripts/check-doc-coverage.js && node tests/test_error_codes_lock.js && node tests/test_safe_regex_source_sync.js && node tests/test_version_sync.js",
"build": "cmake-js build --target ata",
"rebuild": "cmake-js rebuild --target ata",
"test": "node test.js && node tests/test_removed_aot_methods.js && node tests/test_no_native.js && node tests/test_no_eval.js && node tests/test_property_dependencies.js && node tests/test_v1_dialect.js && node tests/test_buffer_path_parity.js && node tests/test_pure_js_unsupported.js && node tests/test_native_load_order.js && node tests/test_pack_purity.js && node tests/test_make_native_package.js && node tests/test_browser_nofs.js && node tests/test_browser_imports_guard.js && node tests/test_version_sync.js && node tests/test_safe_regex_source_sync.js && node tests/test_t_builder.js && node tests/test_async_refine.js && node tests/test_safe_regex.js && node tests/test_safe_regex_integration.js && node tests/test_aot_build.js && node tests/test_aot_differential.js && node tests/test_aot_cli_build.js && node tests/test_aot_cli_smoke.js && node tests/test_bundle_standalone.js && node tests/test_standalone_anyof.js && node tests/test_standalone_formats.js && node tests/test_aot_additional_props_errors.js && node tests/test_id_anchor_refs.js && node tests/test_engine_routing.js && node tests/test_format_engine_parity.js && node tests/test_defs_pointer_alias.js && node tests/test_cross_doc_root_ref.js && node tests/test_no_input_mutation.js && node tests/test_typed_validator_runner.js && node tests/test_define_schema.js && node tests/test_error_codes_lock.js && node tests/test_error_code_lookup.js && node tests/test_error_order.js && node tests/test_nullable.js && node tests/test_validate_and_parse.js && node tests/test_validate_data.js && node tests/test_enrich_error.js && node tests/test_enrich_received.js && node tests/test_rich_errors_optout.js && node tests/test_error_messages.js && node tests/test_source_positions.js && node tests/fuzz_positions.js && node tests/test_data_positions.js && node tests/test_render_shared.js && node tests/test_renderers.js && node tests/test_runtime_error_dx.js && node tests/test_aot_error_dx.js && node tests/test_abort_early.js && node tests/test_branch_collapse.js && node tests/test_suggestions.js && node tests/test_cli_validate.js && node tests/test_cli_version.js && node benchmark/bench_aot_size.mjs",
"bench:size": "node benchmark/bench_aot_size.mjs",
"test:suite": "node tests/run_suite.js && node tests/run_suite.js draft7 && node tests/run_suite.js v1",
"test:compat": "node tests/test_compat.js",
"test:standard-schema": "node tests/test_standard_schema.js",
"test:browser": "node tests/test_browser.js",
"test:ts": "node tests/test_ts_gen.js",
"test:ts-corpus": "node tests/test_ts_corpus.js",
"test:ts-differential": "node tests/test_ts_differential.js",
"test:typed": "node tests/test_typed_validator_runner.js",
"bench": "node benchmark/bench_large.js",
"fuzz": "node tests/fuzz_differential.js",
"fuzz:long": "FUZZ_ITERATIONS=100000 node tests/fuzz_differential.js",
"test:aot": "node tests/test_aot_build.js",
"test:aot-differential": "node tests/test_aot_differential.js",
"test:aot-cli": "node tests/test_aot_cli_build.js",
"test:json-suite": "node tests/run_json_test_suite.js",
"bench:aot-vs-ajv": "node benchmark/bench_aot_vs_ajv.mjs"
},
"keywords": [
"json",
"json-schema",
"schema",
"validator",
"validation",
"fast",
"native",
"simdjson",
"napi",
"ajv",
"ajv-alternative",
"standard-schema",
"fastify"
],
"author": "Mert Can Altin <mertgold60@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ata-core/ata-validator.git"
},
"bugs": {
"url": "https://github.com/ata-core/ata-validator/issues"
},
"homepage": "https://ata-validator.com",
"engines": {
"node": ">=20.0.0"
},
"files": [
"index.js",
"index.mjs",
"index.browser.mjs",
"index.d.ts",
"lib/",
"compat.js",
"compat.mjs",
"compat.d.ts",
"build.js",
"build.mjs",
"build.d.ts",
"t.js",
"t.mjs",
"t.d.ts",
"bin/",
"README.md",
"CHANGELOG.md",
"LICENSE"
],
"optionalDependencies": {
"@ata-validator/native-darwin-arm64": "1.6.2",
"@ata-validator/native-linux-x64-gnu": "1.6.2",
"@ata-validator/native-linux-arm64-gnu": "1.6.2",
"@ata-validator/native-linux-x64-musl": "1.6.2",
"@ata-validator/native-linux-arm64-musl": "1.6.2",
"@ata-validator/native-win32-x64": "1.6.2"
},
"peerDependencies": {
"yaml": "^2.0.0"
},
"peerDependenciesMeta": {
"yaml": {
"optional": true
}
},
"devDependencies": {
"@sinclair/typebox": "^0.34.49",
"@types/node": "^25.8.0",
"cmake-js": "^8.0.0",
"esbuild": "^0.28.0",
"jsonc-parser": "^3.3.1",
"mitata": "^1.0.34",
"node-addon-api": "^8.7.0",
"node-api-headers": "^1.8.0",
"typebox": "^1.1.7",
"typescript": "^6.0.3",
"valibot": "^1.3.1",
"zod": "^4.3.6"
},
"binary": {
"napi_versions": [
10
]
}
}