2021-06-22 06:49:19 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2022-11-30 04:11:09 -05:00
|
|
|
"version": "1.0.0-beta.16",
|
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",
|
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": {
|
2022-11-05 11:29:28 -05:00
|
|
|
"node": "^16.13.0 || ^18.12.0"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-10-20 21:17:09 -05:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
2022-12-25 00:52:55 -05:00
|
|
|
"@silverhand/essentials": "2.0.0",
|
2022-10-13 22:46:33 -05:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
2022-10-14 01:57:27 -05:00
|
|
|
"@types/jest": "^29.1.2",
|
2022-10-13 01:39:09 -05:00
|
|
|
"@types/node": "^16.0.0",
|
2021-06-23 08:23:17 -05:00
|
|
|
"@types/pluralize": "^0.0.29",
|
2022-11-22 09:15:56 -05:00
|
|
|
"camelcase": "^7.0.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-10-14 01:57:27 -05:00
|
|
|
"jest": "^29.1.2",
|
2022-06-02 00:19:09 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2021-06-23 08:23:17 -05:00
|
|
|
"pluralize": "^8.0.0",
|
2022-12-22 03:52:39 -05:00
|
|
|
"prettier": "^2.8.1",
|
2022-09-23 02:02:35 -05:00
|
|
|
"slonik": "^30.0.0",
|
2022-12-12 08:15:09 -05:00
|
|
|
"typescript": "^4.9.4"
|
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": {
|
2022-12-14 00:23:59 -05:00
|
|
|
"@logto/connector-kit": "workspace:*",
|
|
|
|
"@logto/core-kit": "workspace:*",
|
|
|
|
"@logto/language-kit": "workspace:*",
|
2022-12-07 08:39:32 -05:00
|
|
|
"@logto/phrases": "workspace:*",
|
|
|
|
"@logto/phrases-ui": "workspace:*",
|
2022-12-20 00:02:40 -05:00
|
|
|
"@withtyped/server": "^0.3.1",
|
2022-12-14 00:23:59 -05:00
|
|
|
"zod": "^3.20.2"
|
2021-08-11 10:07:39 -05:00
|
|
|
}
|
2021-06-22 06:49:19 -05:00
|
|
|
}
|