mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "@logto/schemas",
|
|
"version": "0.1.0",
|
|
"main": "lib/index.js",
|
|
"repository": "https://github.com/logto-io/schemas",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"files": [
|
|
"lib"
|
|
],
|
|
"private": true,
|
|
"scripts": {
|
|
"preinstall": "npx only-allow pnpm",
|
|
"precommit": "lint-staged",
|
|
"generate": "rm -rf src/db-entries && ts-node src/gen/index.ts && eslint \"src/db-entries/**\" --fix",
|
|
"build": "pnpm generate && rm -rf lib/ && tsc --p tsconfig.build.json",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"prepack": "pnpm build"
|
|
},
|
|
"engines": {
|
|
"node": "^16.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@silverhand/eslint-config": "^0.10.2",
|
|
"@silverhand/essentials": "^1.1.6",
|
|
"@silverhand/ts-config": "^0.10.2",
|
|
"@types/lodash.uniq": "^4.5.6",
|
|
"@types/node": "16",
|
|
"@types/pluralize": "^0.0.29",
|
|
"camelcase": "^6.2.0",
|
|
"eslint": "^8.10.0",
|
|
"lint-staged": "^12.0.0",
|
|
"lodash.uniq": "^4.5.0",
|
|
"pluralize": "^8.0.0",
|
|
"prettier": "^2.3.2",
|
|
"ts-node": "^10.0.0",
|
|
"typescript": "^4.6.2"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand",
|
|
"rules": {
|
|
"@typescript-eslint/ban-types": "off"
|
|
}
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc",
|
|
"dependencies": {
|
|
"@logto/connector-types": "^0.1.0",
|
|
"@logto/phrases": "^0.1.0",
|
|
"zod": "^3.14.3"
|
|
}
|
|
}
|