{ "name": "@logto/core", "version": "0.1.0", "description": "The open source identity solution.", "main": "build/index.js", "author": "Logto", "license": "MPL-2.0", "private": true, "scripts": { "preinstall": "npx only-allow pnpm", "precommit": "lint-staged", "copyfiles": "copyfiles -u 1 src/**/*.md build", "build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles", "lint": "eslint --ext .ts src", "lint:report": "pnpm lint -- --format json --output-file report.json", "dev": "rm -rf build/ && pnpm run copyfiles && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./build/index.js\"", "start": "NODE_ENV=production node build/index.js", "test": "jest", "test:coverage": "jest --coverage --silent", "test:report": "codecov -F core" }, "dependencies": { "@logto/phrases": "^0.1.0", "@logto/schemas": "^0.1.0", "@silverhand/essentials": "^1.1.0", "dayjs": "^1.10.5", "decamelize": "^5.0.0", "dotenv": "^10.0.0", "got": "^11.8.2", "i18next": "^20.3.5", "jose": "^3.14.3", "koa": "^2.13.1", "koa-body": "^4.2.0", "koa-logger": "^3.2.1", "koa-mount": "^4.0.0", "koa-proxies": "^0.12.1", "koa-router": "^10.0.0", "koa-static": "^5.0.0", "lodash.pick": "^4.4.0", "module-alias": "^2.2.2", "nanoid": "^3.1.23", "oidc-provider": "^7.10.0", "p-retry": "^4.6.1", "query-string": "^7.0.1", "slonik": "^23.8.3", "slonik-interceptor-preset": "^1.2.10", "snakecase-keys": "^5.1.0", "zod": "^3.14.3" }, "devDependencies": { "@shopify/jest-koa-mocks": "^3.0.8", "@silverhand/eslint-config": "^0.10.2", "@silverhand/ts-config": "^0.10.2", "@types/jest": "^27.0.1", "@types/koa": "^2.13.3", "@types/koa-logger": "^3.1.1", "@types/koa-mount": "^4.0.0", "@types/koa-static": "^4.0.2", "@types/lodash.pick": "^4.4.6", "@types/node": "^16.3.1", "@types/oidc-provider": "^7.8.0", "@types/supertest": "^2.0.11", "copyfiles": "^2.4.1", "eslint": "^8.10.0", "jest": "^27.0.6", "jest-matcher-specific-error": "^1.0.0", "lint-staged": "^11.1.1", "nock": "^13.2.2", "openapi-types": "^9.1.0", "prettier": "^2.3.2", "snake-case": "^3.0.4", "supertest": "^6.2.2", "ts-jest": "^27.0.5", "tsc-watch": "^4.4.0", "typescript": "^4.6.2" }, "engines": { "node": ">=14.15.0" }, "_moduleAliases": { "@": "./build" }, "eslintConfig": { "extends": "@silverhand" }, "prettier": "@silverhand/eslint-config/.prettierrc" }