mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
e5dc687ee8
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
86 lines
2.4 KiB
JSON
86 lines
2.4 KiB
JSON
{
|
|
"name": "@logto/schemas",
|
|
"version": "1.0.0-beta.16",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"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 generate && rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
|
"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:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"test": "pnpm build:test && pnpm test:only",
|
|
"test:ci": "pnpm test:only"
|
|
},
|
|
"engines": {
|
|
"node": "^16.13.0 || ^18.12.0"
|
|
},
|
|
"devDependencies": {
|
|
"@silverhand/eslint-config": "1.3.0",
|
|
"@silverhand/essentials": "2.1.0",
|
|
"@silverhand/ts-config": "1.2.1",
|
|
"@types/jest": "^29.1.2",
|
|
"@types/node": "^16.0.0",
|
|
"@types/pluralize": "^0.0.29",
|
|
"camelcase": "^7.0.0",
|
|
"eslint": "^8.21.0",
|
|
"jest": "^29.1.2",
|
|
"lint-staged": "^13.0.0",
|
|
"pluralize": "^8.0.0",
|
|
"prettier": "^2.8.1",
|
|
"slonik": "^30.0.0",
|
|
"typescript": "^4.9.4"
|
|
},
|
|
"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:*",
|
|
"@logto/core-kit": "workspace:*",
|
|
"@logto/language-kit": "workspace:*",
|
|
"@logto/phrases": "workspace:*",
|
|
"@logto/phrases-ui": "workspace:*",
|
|
"@withtyped/server": "^0.3.1",
|
|
"zod": "^3.20.2"
|
|
}
|
|
}
|