2021-06-22 06:49:19 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2022-10-19 03:28:21 -05:00
|
|
|
"version": "1.0.0-beta.12",
|
2021-06-22 06:49:19 -05:00
|
|
|
"main": "lib/index.js",
|
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",
|
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-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/",
|
2021-09-03 03:54:10 -05:00
|
|
|
"generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
|
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-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-10-06 04:34:21 -05:00
|
|
|
"test": "jest",
|
|
|
|
"test:ci": "jest"
|
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-10-10 03:28:20 -05:00
|
|
|
"@silverhand/essentials": "^1.3.0",
|
2022-10-14 00:59:40 -05:00
|
|
|
"@silverhand/jest-config": "1.2.2",
|
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",
|
2021-07-03 06:13:05 -05:00
|
|
|
"@types/lodash.uniq": "^4.5.6",
|
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",
|
|
|
|
"camelcase": "^6.2.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-07-03 06:13:05 -05:00
|
|
|
"lodash.uniq": "^4.5.0",
|
2021-06-23 08:23:17 -05:00
|
|
|
"pluralize": "^8.0.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"prettier": "^2.7.1",
|
2022-09-23 02:02:35 -05:00
|
|
|
"slonik": "^30.0.0",
|
2022-07-20 02:57:50 -05:00
|
|
|
"ts-node": "^10.9.1",
|
2022-08-05 00:58:31 -05:00
|
|
|
"typescript": "^4.7.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
|
|
|
},
|
|
|
|
"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-10-23 23:26:11 -05:00
|
|
|
"@logto/connector-kit": "1.0.0-beta.20",
|
2022-10-23 23:51:24 -05:00
|
|
|
"@logto/core-kit": "1.0.0-beta.20",
|
2022-10-23 23:26:11 -05:00
|
|
|
"@logto/language-kit": "1.0.0-beta.20",
|
2022-10-21 00:59:08 -05:00
|
|
|
"@logto/phrases": "workspace:^",
|
|
|
|
"@logto/phrases-ui": "workspace:^",
|
2022-10-23 23:26:11 -05:00
|
|
|
"zod": "^3.19.1"
|
2021-08-11 10:07:39 -05:00
|
|
|
}
|
2021-06-22 06:49:19 -05:00
|
|
|
}
|