2021-06-22 19:49:19 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2022-11-30 17:11:09 +08:00
|
|
|
"version": "1.0.0-beta.16",
|
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",
|
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-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",
|
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": {
|
2022-11-06 00:29:28 +08:00
|
|
|
"node": "^16.13.0 || ^18.12.0"
|
2021-06-22 19:49:19 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-10-21 02:17:09 +00:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
2022-10-10 16:28:20 +08:00
|
|
|
"@silverhand/essentials": "^1.3.0",
|
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",
|
2022-11-22 14:15:56 +00:00
|
|
|
"camelcase": "^7.0.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-12-12 21:15:09 +08:00
|
|
|
"typescript": "^4.9.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
|
|
|
},
|
2022-12-15 12:02:51 +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": {
|
2022-12-14 13:23:59 +08:00
|
|
|
"@logto/connector-kit": "workspace:*",
|
|
|
|
"@logto/core-kit": "workspace:*",
|
|
|
|
"@logto/language-kit": "workspace:*",
|
2022-12-07 21:39:32 +08:00
|
|
|
"@logto/phrases": "workspace:*",
|
|
|
|
"@logto/phrases-ui": "workspace:*",
|
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
|
|
|
}
|