2021-06-22 19:49:19 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2022-09-28 14:30:24 +00:00
|
|
|
"version": "1.0.0-beta.10",
|
2021-06-22 19:49:19 +08:00
|
|
|
"main": "lib/index.js",
|
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",
|
2021-06-28 01:16:28 +08:00
|
|
|
"files": [
|
2022-09-23 15:02:35 +08:00
|
|
|
"lib",
|
2022-09-26 16:38:27 +08:00
|
|
|
"alterations"
|
2021-06-28 01:16:28 +08:00
|
|
|
],
|
2021-07-25 22:36:22 +08:00
|
|
|
"private": true,
|
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/",
|
2021-09-03 16:54:10 +08:00
|
|
|
"generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
|
2022-09-26 16:38:27 +08:00
|
|
|
"build:alterations": "rm -rf alterations/*.d.ts alterations/*.js && tsc -p tsconfig.build.alterations.json",
|
|
|
|
"build": "pnpm generate && rm -rf lib/ && tsc -p tsconfig.build.json && pnpm build:alterations",
|
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",
|
2022-08-10 14:10:19 +08:00
|
|
|
"prepack": "pnpm build",
|
2022-10-06 17:34:21 +08:00
|
|
|
"test": "jest",
|
|
|
|
"test:ci": "jest"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-04-24 09:50:59 +08:00
|
|
|
"node": "^16.0.0"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-10-14 11:46:33 +08:00
|
|
|
"@silverhand/eslint-config": "1.2.0",
|
2022-10-10 16:28:20 +08:00
|
|
|
"@silverhand/essentials": "^1.3.0",
|
2022-10-14 05:59:40 +00:00
|
|
|
"@silverhand/jest-config": "1.2.2",
|
2022-10-14 11:46:33 +08:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
2022-10-14 14:57:27 +08:00
|
|
|
"@types/jest": "^29.1.2",
|
2021-07-03 19:13:05 +08:00
|
|
|
"@types/lodash.uniq": "^4.5.6",
|
2022-10-13 14:39:09 +08:00
|
|
|
"@types/node": "^16.0.0",
|
2021-06-23 21:23:17 +08:00
|
|
|
"@types/pluralize": "^0.0.29",
|
|
|
|
"camelcase": "^6.2.0",
|
2022-08-05 13:58:31 +08:00
|
|
|
"eslint": "^8.21.0",
|
2022-10-14 14:57:27 +08:00
|
|
|
"jest": "^29.1.2",
|
2022-06-02 13:19:09 +08:00
|
|
|
"lint-staged": "^13.0.0",
|
2021-07-03 19:13:05 +08:00
|
|
|
"lodash.uniq": "^4.5.0",
|
2021-06-23 21:23:17 +08:00
|
|
|
"pluralize": "^8.0.0",
|
2022-08-05 13:58:31 +08:00
|
|
|
"prettier": "^2.7.1",
|
2022-09-23 15:02:35 +08:00
|
|
|
"slonik": "^30.0.0",
|
2022-07-20 15:57:50 +08:00
|
|
|
"ts-node": "^10.9.1",
|
2022-08-05 13:58:31 +08:00
|
|
|
"typescript": "^4.7.4"
|
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
|
|
|
},
|
|
|
|
"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": {
|
2022-10-12 15:42:33 +08:00
|
|
|
"@logto/connector-kit": "1.0.0-beta.18",
|
|
|
|
"@logto/core-kit": "1.0.0-beta.18",
|
2022-09-29 15:28:58 +08:00
|
|
|
"@logto/language-kit": "^1.0.0-beta.16",
|
2022-10-13 22:50:16 +08:00
|
|
|
"@logto/phrases": "^1.0.0-beta.10",
|
|
|
|
"@logto/phrases-ui": "^1.0.0-beta.10",
|
2022-09-16 19:25:43 +08:00
|
|
|
"zod": "^3.18.0"
|
2021-08-11 23:07:39 +08:00
|
|
|
}
|
2021-06-22 19:49:19 +08:00
|
|
|
}
|