{ "name": "@logto/schemas", "version": "1.22.0", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", "files": [ "lib", "alterations", "alterations-js", "tables" ], "main": "./lib/index.js", "exports": { ".": "./lib/index.js", "./lib/*": "./lib/*", "./models": "./lib/models/index.js", "./package.json": "./package.json" }, "publishConfig": { "access": "public" }, "scripts": { "precommit": "lint-staged", "version": "./update-next.sh && git add alterations/", "generate": "./generate.sh", "build:alterations": "rm -rf alterations-js && tsc -p tsconfig.build.alterations.json", "build": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.build.json && pnpm build:alterations", "build:test": "pnpm build", "dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint --format json --output-file report.json", "prepublishOnly": "! ls alterations/next-*", "prepack": "pnpm build", "test": "vitest src", "test:ci": "pnpm run test --silent --coverage" }, "engines": { "node": "^20.9.0" }, "devDependencies": { "@silverhand/eslint-config": "6.0.1", "@silverhand/essentials": "^2.9.1", "@silverhand/slonik": "31.0.0-beta.2", "@silverhand/ts-config": "6.0.0", "@types/inquirer": "^9.0.0", "@types/node": "^20.9.5", "@types/pluralize": "^0.0.33", "@vitest/coverage-v8": "^2.1.8", "camelcase": "^8.0.0", "chalk": "^5.3.0", "eslint": "^8.56.0", "lint-staged": "^15.0.0", "pluralize": "^8.0.0", "prettier": "^3.0.0", "roarr": "^7.11.0", "typescript": "^5.5.3", "vitest": "^2.1.8" }, "eslintConfig": { "extends": "@silverhand", "rules": { "@typescript-eslint/ban-types": "off" }, "ignorePatterns": [ "src/db-entries/" ], "overrides": [ { "files": [ "alterations/*.ts" ], "rules": { "unicorn/filename-case": "off" } } ] }, "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { "@logto/connector-kit": "workspace:^4.1.0", "@logto/core-kit": "workspace:^2.5.0", "@logto/language-kit": "workspace:^1.1.0", "@logto/phrases": "workspace:^1.15.0", "@logto/phrases-experience": "workspace:^1.9.0", "@logto/shared": "workspace:^3.1.2", "@withtyped/server": "^0.14.0", "nanoid": "^5.0.1" }, "peerDependencies": { "zod": "^3.23.8" } }