2021-06-22 06:49:19 -05:00
|
|
|
{
|
|
|
|
"name": "@logto/schemas",
|
2021-07-25 09:36:22 -05:00
|
|
|
"version": "0.1.0",
|
2021-06-22 06:49:19 -05:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"repository": "https://github.com/logto-io/schemas",
|
|
|
|
"author": "Logto",
|
2021-08-11 09:12:36 -05:00
|
|
|
"license": "MPL-2.0",
|
2021-06-27 12:16:28 -05:00
|
|
|
"files": [
|
|
|
|
"lib"
|
|
|
|
],
|
2021-07-25 09:36:22 -05:00
|
|
|
"private": true,
|
2021-06-22 06:49:19 -05:00
|
|
|
"scripts": {
|
2021-08-10 02:29:32 -05:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2021-08-30 09:26:58 -05:00
|
|
|
"precommit": "lint-staged",
|
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",
|
2021-07-29 04:46:28 -05:00
|
|
|
"build": "pnpm generate && rm -rf lib/ && tsc --p tsconfig.build.json",
|
2021-08-20 05:16:00 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-04-06 01:06:34 -05:00
|
|
|
"lint:report": "pnpm lint -- --format json --output-file report.json",
|
2021-07-29 04:46:28 -05:00
|
|
|
"prepack": "pnpm build"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-07-29 04:46:28 -05:00
|
|
|
"node": ">=14.15.0"
|
2021-06-22 06:49:19 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-03-31 00:55:54 -05:00
|
|
|
"@silverhand/eslint-config": "^0.10.2",
|
2022-04-14 01:48:56 -05:00
|
|
|
"@silverhand/essentials": "^1.1.6",
|
2022-03-31 00:55:54 -05:00
|
|
|
"@silverhand/ts-config": "^0.10.2",
|
2021-07-03 06:13:05 -05:00
|
|
|
"@types/lodash.uniq": "^4.5.6",
|
2022-04-22 04:43:31 -05:00
|
|
|
"@types/node": "16",
|
2021-06-23 08:23:17 -05:00
|
|
|
"@types/pluralize": "^0.0.29",
|
|
|
|
"camelcase": "^6.2.0",
|
2022-02-28 02:21:48 -05:00
|
|
|
"eslint": "^8.10.0",
|
2021-08-30 09:26:58 -05:00
|
|
|
"lint-staged": "^11.1.1",
|
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",
|
2021-07-11 05:06:03 -05:00
|
|
|
"prettier": "^2.3.2",
|
2021-06-22 11:07:51 -05:00
|
|
|
"ts-node": "^10.0.0",
|
2022-03-11 03:30:22 -05:00
|
|
|
"typescript": "^4.6.2"
|
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"
|
|
|
|
}
|
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": {
|
2021-09-03 03:54:10 -05:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2022-03-31 01:19:12 -05:00
|
|
|
"zod": "^3.14.3"
|
2021-08-11 10:07:39 -05:00
|
|
|
}
|
2021-06-22 06:49:19 -05:00
|
|
|
}
|