UNPKG

@toomuchdesign/ajv-type-provider-json-schema-to-ts

Version:
59 lines (58 loc) 1.75 kB
{ "name": "@toomuchdesign/ajv-type-provider-json-schema-to-ts", "version": "0.3.0", "description": "An ajv type provider based on json-schema-to-ts", "main": "./dist/index.js", "types": "./dist/index.d.ts", "sideEffects": false, "private": false, "files": [ "dist" ], "scripts": { "build": "rimraf ./dist && tsc -p tsconfig.build.json", "test": "vitest --config ./vitest.config.mts --dir ./src", "tag": "node ./scripts/tag.js", "preversion": "npm run prepare", "version": "git add package.json", "postversion": "git push && git push --tags", "prepare": "npx simple-git-hooks && npm run source:check && npm run test -- --watch=false && npm run build", "prettier:check": "prettier . --check", "prettier:fix": "npm run prettier:check -- --write", "type:check": "tsc --noEmit", "source:check": "npm run prettier:check && npm run type:check", "source:fix": "npm run prettier:fix" }, "keywords": [ "ajv", "json-schema", "json-schema-to-ts", "type provider" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/toomuchdesign/ajv-type-provider-json-schema-to-ts.git" }, "author": "Andrea Carraro <me@andreacarraro.it>", "license": "ISC", "devDependencies": { "@changesets/cli": "^2.27.1", "@tsconfig/node18": "^18.2.3", "@vitest/coverage-v8": "^1.4.0", "prettier": "^3.2.5", "rimraf": "^5.0.5", "simple-git-hooks": "^2.11.0", "typescript": "^5.4.3", "vitest": "^1.3.0" }, "peerDependencies": { "ajv": "^8.0.0", "json-schema-to-ts": "^3.0.0" }, "simple-git-hooks": { "pre-commit": "npm run source:check && npm test -- --run" } }