{ "name": "@logto/shared", "version": "2.0.0", "main": "lib/index.js", "author": "Silverhand Inc. ", "license": "MPL-2.0", "type": "module", "files": [ "lib" ], "exports": { ".": { "import": "./lib/index.js", "types": "./lib/index.d.ts" }, "./universal": { "import": "./lib/universal.js", "types": "./lib/universal.d.ts" }, "./esm": { "import": "./lib/esm/index.js", "types": "./lib/esm/index.d.ts" } }, "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": { "@logto/connector-kit": "workspace:^1.1.1", "@silverhand/eslint-config": "3.0.1", "@silverhand/ts-config": "3.0.0", "@types/jest": "^29.4.0", "@types/node": "^18.11.18", "eslint": "^8.34.0", "jest": "^29.5.0", "lint-staged": "^13.0.0", "prettier": "^2.8.2", "typescript": "^5.0.0" }, "engines": { "node": "^18.12.0" }, "eslintConfig": { "extends": "@silverhand", "rules": { "@typescript-eslint/ban-types": "off" } }, "prettier": "@silverhand/eslint-config/.prettierrc", "dependencies": { "@silverhand/essentials": "^2.5.0", "chalk": "^5.0.0", "find-up": "^6.3.0", "nanoid": "^4.0.0", "slonik": "^30.0.0" } }