0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/packages/shared/package.json
2023-01-06 22:24:39 +08:00

62 lines
1.6 KiB
JSON

{
"name": "@logto/shared",
"version": "1.0.0-beta.18",
"main": "lib/index.js",
"author": "Silverhand Inc. <contact@silverhand.io>",
"license": "MPL-2.0",
"type": "module",
"files": [
"lib"
],
"exports": {
".": {
"import": "./lib/index.js"
},
"./esm": {
"import": "./lib/esm/index.js"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"precommit": "lint-staged",
"build": "rm -rf lib/ && tsc -p tsconfig.build.json",
"build:test": "rm -rf lib/ && tsc -p tsconfig.test.json --sourcemap",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
"lint": "eslint --ext .ts src",
"lint:report": "pnpm lint --format json --output-file report.json",
"prepack": "pnpm build",
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "pnpm build:test && pnpm test:only",
"test:ci": "pnpm test:only"
},
"devDependencies": {
"@silverhand/eslint-config": "1.3.0",
"@silverhand/ts-config": "1.2.1",
"@types/jest": "^29.1.2",
"@types/node": "^18.11.18",
"eslint": "^8.21.0",
"jest": "^29.1.2",
"lint-staged": "^13.0.0",
"prettier": "^2.8.1",
"typescript": "^4.9.4"
},
"engines": {
"node": "^18.12.0"
},
"eslintConfig": {
"extends": "@silverhand",
"rules": {
"@typescript-eslint/ban-types": "off"
}
},
"prettier": "@silverhand/eslint-config/.prettierrc",
"dependencies": {
"@logto/schemas": "workspace:*",
"@silverhand/essentials": "2.1.0",
"find-up": "^6.3.0",
"nanoid": "^4.0.0",
"slonik": "^30.0.0"
}
}