79 lines
1.9 KiB
JSON
79 lines
1.9 KiB
JSON
{
|
|
"name": "valibot",
|
|
"description": "The modular and type safe schema library for validating structural data",
|
|
"version": "1.2.0",
|
|
"license": "MIT",
|
|
"author": "Fabian Hiller",
|
|
"homepage": "https://valibot.dev",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/open-circle/valibot"
|
|
},
|
|
"keywords": [
|
|
"modular",
|
|
"typescript",
|
|
"schema",
|
|
"validation",
|
|
"parsing",
|
|
"bundle-size",
|
|
"type-safe",
|
|
"runtime"
|
|
],
|
|
"type": "module",
|
|
"main": "./dist/index.mjs",
|
|
"types": "./dist/index.d.mts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/index.d.mts",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/index.d.cts",
|
|
"default": "./dist/index.cjs"
|
|
}
|
|
}
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.1",
|
|
"@vitest/coverage-v8": "^4.0.13",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jsdoc": "^61.4.0",
|
|
"eslint-plugin-redos-detector": "^3.1.1",
|
|
"eslint-plugin-regexp": "^2.10.0",
|
|
"eslint-plugin-security": "^3.0.1",
|
|
"jsdom": "^27.2.0",
|
|
"tsdown": "^0.16.6",
|
|
"tsm": "^2.3.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.47.0",
|
|
"vite": "^7.2.4",
|
|
"vitest": "4.0.13"
|
|
},
|
|
"peerDependencies": {
|
|
"typescript": ">=5"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"typescript": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"scripts": {
|
|
"play": "tsm ./playground.ts",
|
|
"test": "vitest --typecheck",
|
|
"coverage": "vitest run --coverage --isolate",
|
|
"lint": "eslint \"src/**/*.ts*\" && tsc --noEmit && deno check ./src/index.ts",
|
|
"lint.fix": "eslint \"src/**/*.ts*\" --fix",
|
|
"format": "prettier --write ./src",
|
|
"format.check": "prettier --check ./src",
|
|
"build": "tsdown"
|
|
}
|
|
} |