2021-06-22 19:49:19 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2023-08-30 16:16:55 +08:00
|
|
|
"version": "1.8.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",
|
2022-12-12 21:52:17 +08:00
|
|
|
"build:test": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
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",
|
2022-12-11 20:07:21 +08:00
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
2022-12-15 01:50:29 +08:00
|
|
|
"test:ci": "pnpm test:only"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-01-07 20:42:10 +08:00
|
|
|
"node": "^18.12.0"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-07-08 01:17:21 +08:00
|
|
|
"@silverhand/eslint-config": "4.0.1",
|
2023-09-03 02:11:22 +08:00
|
|
|
"@silverhand/essentials": "^2.8.4",
|
2023-07-08 01:17:21 +08:00
|
|
|
"@silverhand/ts-config": "4.0.0",
|
2023-02-12 18:43:02 +08:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2023-03-07 14:54:57 +08:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-01-07 20:42:10 +08:00
|
|
|
"@types/node": "^18.11.18",
|
2021-06-23 21:23:17 +08:00
|
|
|
"@types/pluralize": "^0.0.29",
|
2023-08-10 07:22:48 +00:00
|
|
|
"camelcase": "^8.0.0",
|
2023-02-21 11:45:06 +08:00
|
|
|
"chalk": "^5.0.0",
|
2023-07-08 01:17:21 +08:00
|
|
|
"eslint": "^8.44.0",
|
2023-03-07 14:54:57 +08:00
|
|
|
"jest": "^29.5.0",
|
2023-08-24 14:01:38 +08:00
|
|
|
"lint-staged": "^14.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",
|
2022-09-23 15:02:35 +08:00
|
|
|
"slonik": "^30.0.0",
|
2023-01-19 20:27:01 +08:00
|
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
2023-03-21 19:37:51 +08:00
|
|
|
"typescript": "^5.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": {
|
2023-04-18 21:13:31 +08:00
|
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
2023-06-28 18:57:43 +08:00
|
|
|
"@logto/core-kit": "workspace:^2.0.1",
|
2023-04-17 18:10:14 +08:00
|
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
2023-06-28 18:57:43 +08:00
|
|
|
"@logto/phrases": "workspace:^1.4.1",
|
2023-09-15 10:29:41 +08:00
|
|
|
"@logto/phrases-experience": "workspace:^1.2.0",
|
2023-04-18 21:13:31 +08:00
|
|
|
"@logto/shared": "workspace:^2.0.0",
|
2023-08-14 17:32:19 +08:00
|
|
|
"@withtyped/server": "^0.12.9"
|
2023-06-19 10:21:13 +08:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-12-14 13:23:59 +08:00
|
|
|
"zod": "^3.20.2"
|
2021-08-11 23:07:39 +08:00
|
|
|
}
|
2021-06-22 19:49:19 +08:00
|
|
|
}
|