2021-06-22 19:49:19 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2024-07-06 09:07:56 +08:00
|
|
|
"version": "1.18.0",
|
2022-04-25 11:26:41 +08:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
2021-08-11 22:12:36 +08:00
|
|
|
"license": "MPL-2.0",
|
2022-11-21 11:24:02 +08:00
|
|
|
"type": "module",
|
2021-06-28 01:16:28 +08:00
|
|
|
"files": [
|
2022-09-23 15:02:35 +08:00
|
|
|
"lib",
|
2022-10-19 15:15:24 +08:00
|
|
|
"alterations",
|
2022-10-19 15:38:56 +08:00
|
|
|
"alterations-js",
|
2022-10-19 15:15:24 +08:00
|
|
|
"tables"
|
2021-06-28 01:16:28 +08:00
|
|
|
],
|
2022-12-20 10:25:47 +08:00
|
|
|
"main": "./lib/index.js",
|
2022-12-20 00:01:40 +08:00
|
|
|
"exports": {
|
2022-12-20 10:25:47 +08:00
|
|
|
".": "./lib/index.js",
|
|
|
|
"./lib/*": "./lib/*",
|
|
|
|
"./models": "./lib/models/index.js",
|
2022-12-20 00:01:40 +08:00
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2022-10-19 15:10:50 +08:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2021-06-22 19:49:19 +08:00
|
|
|
"scripts": {
|
2021-08-30 22:26:58 +08:00
|
|
|
"precommit": "lint-staged",
|
2022-09-27 14:43:17 +08:00
|
|
|
"version": "./update-next.sh && git add alterations/",
|
2022-12-12 21:15:09 +08:00
|
|
|
"generate": "./generate.sh",
|
2022-10-18 15:40:36 +08:00
|
|
|
"build:alterations": "rm -rf alterations-js && tsc -p tsconfig.build.alterations.json",
|
2022-09-26 16:38:27 +08:00
|
|
|
"build": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.build.json && pnpm build:alterations",
|
2024-03-28 14:49:15 +08:00
|
|
|
"build:test": "pnpm build",
|
2022-08-22 14:58:39 +08:00
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
2021-08-20 18:16:00 +08:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-05 18:26:30 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2023-01-07 21:14:17 +08:00
|
|
|
"prepublishOnly": "! ls alterations/next-*",
|
2022-08-10 14:10:19 +08:00
|
|
|
"prepack": "pnpm build",
|
2024-03-28 14:49:15 +08:00
|
|
|
"test": "vitest src",
|
|
|
|
"test:ci": "pnpm run test --silent --coverage"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-12-11 09:10:53 +08:00
|
|
|
"node": "^20.9.0"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-04-18 12:26:37 +00:00
|
|
|
"@silverhand/eslint-config": "6.0.1",
|
2024-05-17 16:02:05 +08:00
|
|
|
"@silverhand/essentials": "^2.9.1",
|
2024-03-28 14:49:15 +08:00
|
|
|
"@silverhand/slonik": "31.0.0-beta.2",
|
2024-04-18 12:26:37 +00:00
|
|
|
"@silverhand/ts-config": "6.0.0",
|
2023-02-12 18:43:02 +08:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2023-12-11 09:10:53 +08:00
|
|
|
"@types/node": "^20.9.5",
|
2023-11-16 11:19:54 +08:00
|
|
|
"@types/pluralize": "^0.0.33",
|
2024-07-14 14:58:09 +00:00
|
|
|
"@vitest/coverage-v8": "^2.0.0",
|
2023-08-10 07:22:48 +00:00
|
|
|
"camelcase": "^8.0.0",
|
2024-07-12 20:53:42 +08:00
|
|
|
"chalk": "^5.3.0",
|
2024-04-18 12:26:37 +00:00
|
|
|
"eslint": "^8.56.0",
|
2023-10-26 09:55:47 +08:00
|
|
|
"lint-staged": "^15.0.0",
|
2021-06-23 21:23:17 +08:00
|
|
|
"pluralize": "^8.0.0",
|
2023-07-08 01:17:21 +08:00
|
|
|
"prettier": "^3.0.0",
|
2023-01-19 20:27:01 +08:00
|
|
|
"roarr": "^7.11.0",
|
2024-07-20 22:04:56 +08:00
|
|
|
"typescript": "^5.5.3",
|
2024-07-14 14:58:09 +00:00
|
|
|
"vitest": "^2.0.0"
|
2021-06-28 01:16:28 +08:00
|
|
|
},
|
2021-07-25 21:58:27 +08:00
|
|
|
"eslintConfig": {
|
2022-02-28 15:21:48 +08:00
|
|
|
"extends": "@silverhand",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/ban-types": "off"
|
2022-09-27 14:43:17 +08:00
|
|
|
},
|
2022-12-20 00:01:40 +08:00
|
|
|
"ignorePatterns": [
|
|
|
|
"src/db-entries/"
|
|
|
|
],
|
2022-09-27 14:43:17 +08:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"alterations/*.ts"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"unicorn/filename-case": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2021-07-25 21:58:27 +08:00
|
|
|
},
|
2021-09-16 16:54:32 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
2021-08-11 23:07:39 +08:00
|
|
|
"dependencies": {
|
2024-07-06 09:07:56 +08:00
|
|
|
"@logto/connector-kit": "workspace:^4.0.0",
|
2024-05-31 23:48:43 +08:00
|
|
|
"@logto/core-kit": "workspace:^2.5.0",
|
2024-02-08 13:18:42 +08:00
|
|
|
"@logto/language-kit": "workspace:^1.1.0",
|
2024-07-06 09:07:56 +08:00
|
|
|
"@logto/phrases": "workspace:^1.12.0",
|
|
|
|
"@logto/phrases-experience": "workspace:^1.7.0",
|
2024-05-14 20:27:55 +08:00
|
|
|
"@logto/shared": "workspace:^3.1.1",
|
2024-05-26 20:00:34 +08:00
|
|
|
"@withtyped/server": "^0.13.6",
|
|
|
|
"nanoid": "^5.0.1"
|
2023-06-19 10:21:13 +08:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2024-07-12 20:56:01 +08:00
|
|
|
"zod": "^3.23.8"
|
2021-08-11 23:07:39 +08:00
|
|
|
}
|
2021-06-22 19:49:19 +08:00
|
|
|
}
|