mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
947de83173
* chore: upgrade configs * chore: fix lint errors
142 lines
4.1 KiB
JSON
142 lines
4.1 KiB
JSON
{
|
|
"name": "@logto/core",
|
|
"version": "1.6.0",
|
|
"description": "The open source identity solution.",
|
|
"main": "build/index.js",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"private": true,
|
|
"imports": {
|
|
"#src/*": "./build/*"
|
|
},
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"copyfiles": "copyfiles -u 1 src/**/*.md build",
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles",
|
|
"build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"dev": "rm -rf build/ && pnpm run copyfiles && nodemon",
|
|
"start": "NODE_ENV=production node .",
|
|
"test:only": "NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" jest --logHeapUsage",
|
|
"test": "pnpm build:test && pnpm test:only",
|
|
"test:ci": "pnpm test:only --coverage --silent",
|
|
"test:report": "codecov -F core"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.315.0",
|
|
"@azure/storage-blob": "^12.13.0",
|
|
"@koa/cors": "^4.0.0",
|
|
"@logto/app-insights": "workspace:^1.3.1",
|
|
"@logto/cli": "workspace:^1.6.0",
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
|
"@logto/console": "workspace:*",
|
|
"@logto/core-kit": "workspace:^2.0.1",
|
|
"@logto/demo-app": "workspace:*",
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
|
"@logto/phrases": "workspace:^1.4.1",
|
|
"@logto/phrases-ui": "workspace:^1.2.0",
|
|
"@logto/schemas": "workspace:^1.6.0",
|
|
"@logto/shared": "workspace:^2.0.0",
|
|
"@logto/ui": "workspace:*",
|
|
"@silverhand/essentials": "^2.5.0",
|
|
"@withtyped/client": "^0.7.11",
|
|
"chalk": "^5.0.0",
|
|
"clean-deep": "^3.4.0",
|
|
"date-fns": "^2.29.3",
|
|
"decamelize": "^6.0.0",
|
|
"deepmerge": "^4.2.2",
|
|
"dotenv": "^16.0.0",
|
|
"etag": "^1.8.1",
|
|
"find-up": "^6.3.0",
|
|
"got": "^13.0.0",
|
|
"hash-wasm": "^4.9.0",
|
|
"helmet": "^7.0.0",
|
|
"i18next": "^22.4.15",
|
|
"iconv-lite": "0.6.3",
|
|
"jose": "^4.11.0",
|
|
"koa": "^2.13.1",
|
|
"koa-body": "^5.0.0",
|
|
"koa-compose": "^4.1.0",
|
|
"koa-compress": "^5.1.0",
|
|
"koa-logger": "^3.2.1",
|
|
"koa-mount": "^4.0.0",
|
|
"koa-proxies": "^0.12.1",
|
|
"koa-router": "^12.0.0",
|
|
"koa-send": "^5.0.1",
|
|
"lru-cache": "^10.0.0",
|
|
"nanoid": "^4.0.0",
|
|
"oidc-provider": "^8.2.2",
|
|
"p-retry": "^5.1.2",
|
|
"pg-protocol": "^1.6.0",
|
|
"redis": "^4.6.5",
|
|
"roarr": "^7.11.0",
|
|
"semver": "^7.3.8",
|
|
"slonik": "^30.0.0",
|
|
"slonik-interceptor-preset": "^1.2.10",
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
|
"snake-case": "^3.0.4",
|
|
"snakecase-keys": "^5.4.4",
|
|
"zod": "^3.20.2"
|
|
},
|
|
"devDependencies": {
|
|
"@logto/cloud": "0.2.5-1a68662",
|
|
"@silverhand/eslint-config": "4.0.1",
|
|
"@silverhand/ts-config": "4.0.0",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/etag": "^1.8.1",
|
|
"@types/jest": "^29.4.0",
|
|
"@types/koa": "^2.13.3",
|
|
"@types/koa-compose": "^3.2.5",
|
|
"@types/koa-compress": "^4.0.3",
|
|
"@types/koa-logger": "^3.1.1",
|
|
"@types/koa-mount": "^4.0.0",
|
|
"@types/koa-send": "^4.1.3",
|
|
"@types/koa__cors": "^4.0.0",
|
|
"@types/node": "^18.11.18",
|
|
"@types/oidc-provider": "^8.0.0",
|
|
"@types/semver": "^7.3.12",
|
|
"@types/sinon": "^10.0.13",
|
|
"@types/supertest": "^2.0.11",
|
|
"copyfiles": "^2.4.1",
|
|
"eslint": "^8.44.0",
|
|
"jest": "^29.5.0",
|
|
"jest-matcher-specific-error": "^1.0.0",
|
|
"lint-staged": "^13.0.0",
|
|
"nock": "^13.3.1",
|
|
"node-mocks-http": "^1.12.1",
|
|
"nodemon": "^2.0.19",
|
|
"openapi-types": "^12.0.0",
|
|
"prettier": "^3.0.0",
|
|
"sinon": "^15.0.0",
|
|
"supertest": "^6.2.2",
|
|
"typescript": "^5.0.0"
|
|
},
|
|
"engines": {
|
|
"node": "^18.12.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand",
|
|
"rules": {
|
|
"no-console": "error",
|
|
"import/no-unused-modules": [
|
|
"error",
|
|
{
|
|
"unusedExports": true
|
|
}
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*.d.ts"
|
|
],
|
|
"rules": {
|
|
"import/no-unused-modules": "off"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|