{
	"name": "@orkestrel/contract",
	"version": "0.0.13",
	"description": "Zero-dependency contract toolkit — type guards, combinators, parsers, and a shape DSL that compiles one contract shape into all six of schema, is, parse, audit, explain, and generate. The foundation package of the @orkestrel line.",
	"keywords": [
		"contract",
		"json-schema",
		"parsers",
		"type-guards",
		"typescript",
		"validation",
		"zero-dependency"
	],
	"homepage": "https://github.com/orkestrel/contract#readme",
	"bugs": "https://github.com/orkestrel/contract/issues",
	"license": "MIT",
	"repository": {
		"type": "git",
		"url": "git+https://github.com/orkestrel/contract.git"
	},
	"files": [
		"dist/src",
		"README.md"
	],
	"type": "module",
	"sideEffects": false,
	"main": "./dist/src/core/index.cjs",
	"module": "./dist/src/core/index.js",
	"types": "./dist/src/core/index.d.ts",
	"exports": {
		".": {
			"import": {
				"types": "./dist/src/core/index.d.ts",
				"default": "./dist/src/core/index.js"
			},
			"require": {
				"types": "./dist/src/core/index.d.cts",
				"default": "./dist/src/core/index.cjs"
			}
		},
		"./package.json": "./package.json"
	},
	"publishConfig": {
		"access": "public"
	},
	"scripts": {
		"clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
		"copy": "node -e \"const fs=require('node:fs'),p=require('node:path'),a=process.argv[1],b=process.argv[2];fs.mkdirSync(p.dirname(b),{recursive:true});fs.cpSync(a,b,{force:true});console.log('Copied: '+a+' to '+b)\"",
		"scaffold": "scaffold",
		"lint": "oxlint --config .oxlintrc.json --fix --deny-warnings .",
		"check": "tsc --noEmit --project tsconfig.json && npm run check:src",
		"check:src": "npm run check:src:core",
		"check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
		"format": "oxfmt --config .oxfmtrc.json --write .",
		"format:check": "oxfmt --config .oxfmtrc.json --check .",
		"lint:check": "oxlint --config .oxlintrc.json --deny-warnings .",
		"test": "npm run test:src && npm run test:policy && npm run test:config && npm run test:guides",
		"test:src": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
		"test:src:core": "vitest run --config vite.config.ts --no-cache --reporter=dot --project src:core",
		"test:policy": "vitest run --config vite.config.ts --no-cache --reporter=dot --project policy",
		"test:config": "vitest run --config vite.config.ts --no-cache --reporter=dot --project config",
		"test:guides": "vitest run --config vite.config.ts --reporter=dot --project guides",
		"build": "npm run clean && npm run build:src",
		"build:src": "npm run build:src:core",
		"build:src:core": "vite build --config configs/src/vite.core.config.ts && npm run copy dist/src/core/index.d.ts dist/src/core/index.d.cts",
		"prepack": "npm run build",
		"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test"
	},
	"devDependencies": {
		"@microsoft/api-extractor": "^7.58.13",
		"@orkestrel/guide": "^0.0.12",
		"@orkestrel/probe": "^0.0.1",
		"@orkestrel/scaffold": "^0.0.46",
		"@orkestrel/test": "^0.0.7",
		"@types/node": "^26.2.0",
		"oxfmt": "^0.64.0",
		"oxlint": "^1.79.0",
		"typescript": "^6.0.3",
		"vite": "^8.2.2",
		"vite-plugin-dts": "^5.0.3",
		"vitest": "^4.1.11"
	},
	"engines": {
		"node": ">=22.12.0"
	}
}
