mirror of
https://github.com/logto-io/logto.git
synced 2024-12-23 20:33:16 -05:00
77 lines
2.2 KiB
JSON
77 lines
2.2 KiB
JSON
{
|
|
"name": "@logto/schemas",
|
|
"version": "1.0.0-beta.14",
|
|
"main": "lib/index.js",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"files": [
|
|
"lib",
|
|
"alterations",
|
|
"alterations-js",
|
|
"tables"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"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-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.13.0 || ^18.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
"@silverhand/essentials": "^1.3.0",
|
|
"@silverhand/jest-config": "1.2.2",
|
|
"@silverhand/ts-config": "1.2.1",
|
|
"@types/jest": "^29.1.2",
|
|
"@types/lodash.uniq": "^4.5.6",
|
|
"@types/node": "^16.0.0",
|
|
"@types/pluralize": "^0.0.29",
|
|
"camelcase": "^6.2.0",
|
|
"eslint": "^8.21.0",
|
|
"jest": "^29.1.2",
|
|
"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.20",
|
|
"@logto/core-kit": "1.0.0-beta.20",
|
|
"@logto/language-kit": "1.0.0-beta.20",
|
|
"@logto/phrases": "workspace:^",
|
|
"@logto/phrases-ui": "workspace:^",
|
|
"zod": "^3.19.1"
|
|
}
|
|
}
|