UNPKG

@ty-ras-extras/backend-zod

Version:

Bundle of TyRAS Extras libraries suitable to use in backends which use `zod` as data validation library.

97 lines 3.49 kB
{ "name": "@ty-ras-extras/backend-zod", "version": "2.0.0", "author": { "name": "Stanislav Muhametsin", "email": "346799+stazz@users.noreply.github.com", "url": "https://github.com/stazz" }, "license": "MIT", "description": "Bundle of TyRAS Extras libraries suitable to use in backends which use `zod` as data validation library.", "keywords": [ "backend", "http", "node", "server", "data", "validation", "zod", "openapi", "metadata", "runtime" ], "repository": { "type": "git", "url": "https://github.com/ty-ras/packaging" }, "files": [ "./src", "./dist-ts", "./dist-esm", "./dist-cjs", "README.md", "LICENSE.txt" ], "type": "module", "main": "./dist-cjs/index.js", "module": "./dist-esm/index.js", "types": "./dist-ts/index.d.ts", "exports": { ".": { "types": "./dist-ts/index.d.ts", "import": "./dist-esm/index.js", "require": "./dist-cjs/index.js" } }, "dependencies": { "@ty-ras-extras/cache": "^2.0.0", "@ty-ras-extras/config-zod": "^2.0.0", "@ty-ras-extras/main": "^2.0.0", "@ty-ras-extras/resource-pool": "^2.0.0", "@ty-ras-extras/typed-sql-zod": "^2.0.0" }, "peerDependencies": { "zod": "^3.20.6" }, "devDependencies": { "@babel/core": "7.21.5", "@babel/eslint-parser": "7.21.3", "@types/node": "18.16.3", "@typescript-eslint/eslint-plugin": "5.59.2", "@typescript-eslint/parser": "5.59.2", "eslint": "8.39.0", "eslint-plugin-jsdoc": "43.1.1", "eslint-plugin-path-import-extension": "0.9.0", "eslint-plugin-type-only-import": "0.9.0", "eslint-config-prettier": "8.8.0", "eslint-plugin-prettier": "4.2.1", "eslint-plugin-sonarjs": "0.19.0", "madge": "6.1.0", "prettier": "2.8.8", "typescript": "5.0.4", "zod": "^3.20.6" }, "scripts": { "build:run": "yarn run lint && yarn run tsc", "build:ci": "yarn run clear-build-artifacts && yarn run compile-d-ts-files && yarn run tsc --outDir ./dist-esm && yarn run tsc --module CommonJS --outDir ./dist-cjs && yarn run remove-empty-js-files && yarn run generate-stub-package-json-for-cjs && yarn run format-output-files", "clear-build-artifacts": "rm -rf dist dist-ts dist-cjs dist-esm build", "compile-d-ts-files": "yarn run tsc --removeComments false --emitDeclarationOnly --declaration --declarationDir ./dist-ts && yarn run tsc:plain --project tsconfig.out.json", "format-output-files": "yarn run format-output-files-ts && yarn run format-output-files-js", "format-output-files-ts": "eslint --no-eslintrc --config '.eslintrc.out-ts.cjs' --fix --fix-type layout './dist-ts/**/*.ts'", "format-output-files-js": "eslint --no-eslintrc --config '.eslintrc.out.cjs' --fix 'dist-cjs/**/*js' 'dist-esm/**/*js'", "generate-stub-package-json-for-cjs": "../scripts/generate-stub-package-json.cjs", "lint": "yarn run lint:eslint && yarn run lint:circular", "lint:circular": "madge --circular --no-color --no-spinner --extensions ts --warning ./src", "lint:eslint": "eslint ./src --ext .ts,.tsx", "remove-empty-js-files": "../scripts/remove-empty-js-files.cjs", "tsc": "tsc --project tsconfig.build.json", "tsc:plain": "tsc", "test:coverage": "echo No own code to test.", "test:run": "echo No own code to test." }, "resolutions": { "detective-typescript": "11.1.0", "dependency-tree": "10.0.9", "precinct": "11.0.5" } }