2021-06-22 19:49:19 +08:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2021-07-25 22:36:22 +08:00
|
|
|
"version": "0.1.0",
|
2021-06-22 19:49:19 +08:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"repository": "https://github.com/logto-io/schemas",
|
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": [
|
|
|
|
"lib"
|
|
|
|
],
|
2021-07-25 22:36:22 +08:00
|
|
|
"private": true,
|
2021-06-22 19:49:19 +08:00
|
|
|
"scripts": {
|
2021-08-10 15:29:32 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2021-08-30 22:26:58 +08:00
|
|
|
"precommit": "lint-staged",
|
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",
|
2021-07-29 17:46:28 +08:00
|
|
|
"build": "pnpm generate && rm -rf lib/ && tsc --p tsconfig.build.json",
|
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",
|
2021-07-29 17:46:28 +08:00
|
|
|
"prepack": "pnpm build"
|
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-05-17 10:42:15 +00:00
|
|
|
"@silverhand/eslint-config": "^0.14.0",
|
2022-04-14 14:48:56 +08:00
|
|
|
"@silverhand/essentials": "^1.1.6",
|
2022-05-17 11:04:12 +00:00
|
|
|
"@silverhand/ts-config": "^0.14.0",
|
2021-07-03 19:13:05 +08:00
|
|
|
"@types/lodash.uniq": "^4.5.6",
|
2022-04-22 09:43:31 +00:00
|
|
|
"@types/node": "16",
|
2021-06-23 21:23:17 +08:00
|
|
|
"@types/pluralize": "^0.0.29",
|
|
|
|
"camelcase": "^6.2.0",
|
2022-02-28 15:21:48 +08:00
|
|
|
"eslint": "^8.10.0",
|
2022-04-22 16:46:39 +00:00
|
|
|
"lint-staged": "^12.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",
|
2021-07-11 18:06:03 +08:00
|
|
|
"prettier": "^2.3.2",
|
2021-06-23 00:07:51 +08:00
|
|
|
"ts-node": "^10.0.0",
|
2022-03-11 16:30:22 +08:00
|
|
|
"typescript": "^4.6.2"
|
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"
|
|
|
|
}
|
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-04-24 15:05:38 +08:00
|
|
|
"@logto/connector-types": "^0.1.0",
|
2021-09-03 16:54:10 +08:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2022-05-18 12:12:51 +08:00
|
|
|
"@logto/shared": "^0.1.0",
|
2022-03-31 14:19:12 +08:00
|
|
|
"zod": "^3.14.3"
|
2021-08-11 23:07:39 +08:00
|
|
|
}
|
2021-06-22 19:49:19 +08:00
|
|
|
}
|