UNPKG

rescript-schema

Version:

🧬 The fastest parser in the entire JavaScript ecosystem with a focus on small bundle size and top-notch DX

100 lines • 2.59 kB
{ "name": "rescript-schema", "version": "9.3.0-rescript12.0", "private": false, "description": "🧬 The fastest parser in the entire JavaScript ecosystem with a focus on small bundle size and top-notch DX", "keywords": [ "ReScript", "Schema", "Parser", "Serializer", "JSON", "Encode", "Decode", "Validation", "Contract", "TypeScript", "Zod", "Valibot", "Ajv", "rescript-struct" ], "homepage": "https://github.com/DZakh/rescript-schema#readme", "bugs": { "url": "https://github.com/DZakh/rescript-schema/issues" }, "repository": { "type": "git", "url": "git+https://github.com/DZakh/rescript-schema.git" }, "license": "MIT", "author": "Dmitry Zakharov <dzakh.dev@gmail.com>", "type": "commonjs", "main": "./src/S.js", "module": "./src/S.mjs", "types": "./src/S.d.ts", "files": [ "src/S_Core.res", "src/S_Core.res.js", "src/S_Core.res.mjs", "src/S.res", "src/S.resi", "src/S.res.js", "src/S.res.mjs", "src/S.js", "src/S.mjs", "src/S.d.ts", "RescriptSchema.gen.d.ts", "rescript.json" ], "scripts": { "benchmark": "node ./packages/tests/src/benchmark/Benchmark.res.mjs", "benchmark:comparison": "node ./packages/tests/src/benchmark/comparison.js", "coverage": "c8 --reporter=lcov npm test", "build": "node ./packages/prepack/src/Prepack.res.mjs", "ppx:install": "node ./packages/rescript-schema-ppx/install.cjs", "res": "rescript -w", "res:build": "rescript build", "test:res": "cd ./packages/tests && rescript clean && rescript -w", "test": "ava", "lint:stdlib": "rescript-stdlib-vendorer lint --project-path=packages/tests --ignore-path=src/ppx/Ppx_Primitive_test.res" }, "ava": { "extensions": { "ts": "module", "mjs": true }, "files": [ "packages/tests/src/**/*_test.res.mjs", "packages/tests/src/**/*_test.ts" ], "nodeArguments": [ "--no-warnings", "--import=tsimp" ] }, "devDependencies": { "@dzakh/rescript-ava": "2.3.0", "ava": "5.2.0", "benchmark": "2.1.4", "c8": "7.12.0", "rescript": "12.0.0-alpha.8", "rescript-stdlib-vendorer": "1.1.0", "rescript-schema": "link:", "ts-expect": "1.3.0", "tsimp": "2.0.12", "typescript": "4.9.3", "valibot": "0.42.1", "zod": "3.24.1", "arktype": "2.0.4" }, "peerDependencies": { "rescript": "^12.0.0-alpha.8" }, "peerDependenciesMeta": { "rescript": { "optional": true } }, "packageManager": "pnpm@9.0.5" }