Files
web_sport/packages/validation/package.json
T

47 lines
1.1 KiB
JSON

{
"name": "@sport/validation",
"version": "0.0.0",
"private": true,
"description": "Zod schemas shared by the API (request validation) and the frontends (form validation).",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch --preserveWatchOutput",
"clean": "rm -rf dist .turbo *.tsbuildinfo",
"lint": "eslint src",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "jest --passWithNoTests"
},
"dependencies": {
"@sport/types": "workspace:*",
"zod": "catalog:"
},
"devDependencies": {
"@sport/config": "workspace:*",
"@sport/eslint-config": "workspace:*",
"@types/jest": "^30.0.0",
"eslint": "catalog:",
"jest": "^30.4.2",
"ts-jest": "^29.4.12",
"typescript": "catalog:"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"roots": [
"<rootDir>/src"
],
"testRegex": ".*\\.spec\\.ts$"
}
}