0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/packages/schemas/package.json
2022-01-27 19:26:34 +08:00

47 lines
1.2 KiB
JSON

{
"name": "@logto/schemas",
"version": "0.1.0",
"main": "lib/index.js",
"repository": "https://github.com/logto-io/schemas",
"author": "Logto",
"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",
"prepack": "pnpm build"
},
"engines": {
"node": ">=14.15.0"
},
"devDependencies": {
"@silverhand/eslint-config": "^0.6.1",
"@silverhand/essentials": "^1.1.0",
"@silverhand/ts-config": "^0.4.0",
"@types/lodash.uniq": "^4.5.6",
"@types/node": "14",
"@types/pluralize": "^0.0.29",
"camelcase": "^6.2.0",
"eslint": "^8.1.0",
"lint-staged": "^11.1.1",
"lodash.uniq": "^4.5.0",
"pluralize": "^8.0.0",
"prettier": "^2.3.2",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
},
"eslintConfig": {
"extends": "@silverhand"
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@logto/phrases": "^0.1.0",
"zod": "^3.8.1"
}
}