2021-06-22 06:49:19 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2023-03-22 01:58:19 -05:00
|
|
|
"version": "1.0.1",
|
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-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.0"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-02-16 10:49:03 -05:00
|
|
|
"@silverhand/eslint-config": "2.0.1",
|
2023-03-18 00:02:51 -05:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2023-02-17 00:41:05 -05:00
|
|
|
"@silverhand/ts-config": "2.0.3",
|
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-01-07 07:42:10 -05:00
|
|
|
"@types/node": "^18.11.18",
|
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",
|
2023-02-20 22:45:06 -05:00
|
|
|
"chalk": "^5.0.0",
|
2023-02-16 10:49:03 -05:00
|
|
|
"eslint": "^8.34.0",
|
2023-03-07 01:54:57 -05:00
|
|
|
"jest": "^29.5.0",
|
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",
|
2023-02-16 10:49:03 -05:00
|
|
|
"prettier": "^2.8.2",
|
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-03-21 06:37:51 -05:00
|
|
|
"typescript": "^5.0.0"
|
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-03-21 06:33:08 -05:00
|
|
|
"@logto/connector-kit": "workspace:^",
|
|
|
|
"@logto/core-kit": "workspace:^",
|
|
|
|
"@logto/language-kit": "workspace:^",
|
|
|
|
"@logto/phrases": "workspace:^",
|
|
|
|
"@logto/phrases-ui": "workspace:^",
|
2023-03-11 02:21:57 -05:00
|
|
|
"@withtyped/server": "^0.8.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
|
|
|
}
|