0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/schemas/package.json

73 lines
2.1 KiB
JSON

{
"name": "@logto/schemas",
"version": "1.0.0-beta.10",
"main": "lib/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"files": [
"lib",
"alterations"
],
"private": true,
"scripts": {
"precommit": "lint-staged",
"version": "./update-next.sh && git add alterations/",
"generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
"build:alterations": "rm -rf alterations/*.d.ts alterations/*.js && tsc -p tsconfig.build.alterations.json",
"build": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.build.json && pnpm build:alterations",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"prepack": "pnpm build",
"test": "jest",
"test:ci": "jest"
},
"engines": {
"node": "^16.0.0"
},
"devDependencies": {
"@silverhand/eslint-config": "1.0.0",
"@silverhand/essentials": "^1.2.1",
"@silverhand/jest-config": "1.0.0",
"@silverhand/ts-config": "1.0.0",
"@types/jest": "^28.0.0",
"@types/lodash.uniq": "^4.5.6",
"@types/node": "16",
"@types/pluralize": "^0.0.29",
"camelcase": "^6.2.0",
"eslint": "^8.21.0",
"jest": "^28.1.3",
"lint-staged": "^13.0.0",
"lodash.uniq": "^4.5.0",
"pluralize": "^8.0.0",
"prettier": "^2.7.1",
"slonik": "^30.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"eslintConfig": {
"extends": "@silverhand",
"rules": {
"@typescript-eslint/ban-types": "off"
},
"overrides": [
{
"files": [
"alterations/*.ts"
],
"rules": {
"unicorn/filename-case": "off"
}
}
]
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@logto/connector-kit": "^1.0.0-beta.13",
"@logto/core-kit": "^1.0.0-beta.13",
"@logto/language-kit": "^1.0.0-beta.16",
"@logto/phrases": "^1.0.0-beta.10",
"@logto/phrases-ui": "^1.0.0-beta.10",
"zod": "^3.18.0"
}
}