2021-06-22 06:49:19 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2023-12-06 03:13:56 -05:00
|
|
|
"version": "1.12.0",
|
2022-04-24 22:26:41 -05:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
2021-08-11 09:12:36 -05:00
|
|
|
"license": "MPL-2.0",
|
2022-11-20 22:24:02 -05:00
|
|
|
"type": "module",
|
2021-06-27 12:16:28 -05:00
|
|
|
"files": [
|
2022-09-23 02:02:35 -05:00
|
|
|
"lib",
|
2022-10-19 02:15:24 -05:00
|
|
|
"alterations",
|
2022-10-19 02:38:56 -05:00
|
|
|
"alterations-js",
|
2022-10-19 02:15:24 -05:00
|
|
|
"tables"
|
2021-06-27 12:16:28 -05:00
|
|
|
],
|
2022-12-19 21:25:47 -05:00
|
|
|
"main": "./lib/index.js",
|
2022-12-19 11:01:40 -05:00
|
|
|
"exports": {
|
2022-12-19 21:25:47 -05:00
|
|
|
".": "./lib/index.js",
|
|
|
|
"./lib/*": "./lib/*",
|
|
|
|
"./models": "./lib/models/index.js",
|
2022-12-19 11:01:40 -05:00
|
|
|
"./package.json": "./package.json"
|
|
|
|
},
|
2022-10-19 02:10:50 -05:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2021-06-22 06:49:19 -05:00
|
|
|
"scripts": {
|
2021-08-30 09:26:58 -05:00
|
|
|
"precommit": "lint-staged",
|
2022-09-27 01:43:17 -05:00
|
|
|
"version": "./update-next.sh && git add alterations/",
|
2022-12-12 08:15:09 -05:00
|
|
|
"generate": "./generate.sh",
|
2022-10-18 02:40:36 -05:00
|
|
|
"build:alterations": "rm -rf alterations-js && tsc -p tsconfig.build.alterations.json",
|
2022-09-26 03:38:27 -05:00
|
|
|
"build": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.build.json && pnpm build:alterations",
|
2022-12-12 08:52:17 -05:00
|
|
|
"build:test": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
|
2022-08-22 01:58:39 -05:00
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
2021-08-20 05:16:00 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-05 05:26:30 -05:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2023-01-07 08:14:17 -05:00
|
|
|
"prepublishOnly": "! ls alterations/next-*",
|
2022-08-10 01:10:19 -05:00
|
|
|
"prepack": "pnpm build",
|
2022-12-11 07:07:21 -05:00
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
2022-12-14 12:50:29 -05:00
|
|
|
"test:ci": "pnpm test:only"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2023-12-10 20:10:53 -05:00
|
|
|
"node": "^20.9.0"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-12-22 02:16:49 -05:00
|
|
|
"@silverhand/eslint-config": "5.0.0",
|
2024-01-29 06:39:27 -05:00
|
|
|
"@silverhand/essentials": "^2.8.8",
|
2023-12-22 02:16:49 -05:00
|
|
|
"@silverhand/ts-config": "5.0.0",
|
2023-02-12 05:43:02 -05:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2023-03-07 01:54:57 -05:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-12-10 20:10:53 -05:00
|
|
|
"@types/node": "^20.9.5",
|
2023-11-15 22:19:54 -05:00
|
|
|
"@types/pluralize": "^0.0.33",
|
2023-08-10 02:22:48 -05:00
|
|
|
"camelcase": "^8.0.0",
|
2023-02-20 22:45:06 -05:00
|
|
|
"chalk": "^5.0.0",
|
2023-07-07 12:17:21 -05:00
|
|
|
"eslint": "^8.44.0",
|
2023-12-22 02:16:49 -05:00
|
|
|
"jest": "^29.7.0",
|
2023-10-25 20:55:47 -05:00
|
|
|
"lint-staged": "^15.0.0",
|
2021-06-23 08:23:17 -05:00
|
|
|
"pluralize": "^8.0.0",
|
2023-07-07 12:17:21 -05:00
|
|
|
"prettier": "^3.0.0",
|
2023-01-19 07:27:01 -05:00
|
|
|
"roarr": "^7.11.0",
|
2022-09-23 02:02:35 -05:00
|
|
|
"slonik": "^30.0.0",
|
2023-01-19 07:27:01 -05:00
|
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
2023-12-22 02:16:49 -05:00
|
|
|
"typescript": "^5.3.3"
|
2021-06-27 12:16:28 -05:00
|
|
|
},
|
2021-07-25 08:58:27 -05:00
|
|
|
"eslintConfig": {
|
2022-02-28 02:21:48 -05:00
|
|
|
"extends": "@silverhand",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/ban-types": "off"
|
2022-09-27 01:43:17 -05:00
|
|
|
},
|
2022-12-19 11:01:40 -05:00
|
|
|
"ignorePatterns": [
|
|
|
|
"src/db-entries/"
|
|
|
|
],
|
2022-09-27 01:43:17 -05:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"alterations/*.ts"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"unicorn/filename-case": "off"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2021-07-25 08:58:27 -05:00
|
|
|
},
|
2021-09-16 03:54:32 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
2021-08-11 10:07:39 -05:00
|
|
|
"dependencies": {
|
2023-11-03 00:14:52 -05:00
|
|
|
"@logto/connector-kit": "workspace:^2.0.0",
|
2023-12-06 03:13:56 -05:00
|
|
|
"@logto/core-kit": "workspace:^2.2.1",
|
2023-04-17 05:10:14 -05:00
|
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
2023-12-06 03:13:56 -05:00
|
|
|
"@logto/phrases": "workspace:^1.8.0",
|
|
|
|
"@logto/phrases-experience": "workspace:^1.5.0",
|
2023-10-07 00:39:33 -05:00
|
|
|
"@logto/shared": "workspace:^3.0.0",
|
2023-08-14 04:32:19 -05:00
|
|
|
"@withtyped/server": "^0.12.9"
|
2023-06-18 21:21:13 -05:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2023-11-06 22:38:54 -05:00
|
|
|
"zod": "^3.22.4"
|
2021-08-11 10:07:39 -05:00
|
|
|
}
|
2021-06-22 06:49:19 -05:00
|
|
|
}
|