0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-13 21:30:30 -05:00
logto/packages/core/package.json

172 lines
4.9 KiB
JSON
Raw Normal View History

2021-06-06 18:30:37 +08:00
{
2021-07-25 22:28:42 +08:00
"name": "@logto/core",
2023-12-06 16:13:56 +08:00
"version": "1.12.0",
2021-06-20 00:07:11 +08:00
"description": "The open source identity solution.",
"main": "build/index.js",
2022-04-25 11:26:41 +08:00
"author": "Silverhand Inc. <contact@silverhand.io>",
2021-08-11 22:12:36 +08:00
"license": "MPL-2.0",
2022-11-21 16:38:24 +08:00
"type": "module",
2021-06-20 00:07:11 +08:00
"private": true,
2022-11-21 19:18:32 +08:00
"imports": {
"#src/*": "./build/*"
},
2021-06-06 18:30:37 +08:00
"scripts": {
2021-07-25 22:27:51 +08:00
"precommit": "lint-staged",
"copy:apidocs": "rsync -a -m --include '*/' --include '*.openapi.json' --exclude '*' src/routes/ build/routes/",
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copy:apidocs",
"build:test": "rm -rf build/ && tsc -p tsconfig.test.json --sourcemap && pnpm run copy:apidocs",
2023-12-01 18:28:49 +08:00
"lint": "eslint --ext .ts --ext .json src",
2022-05-05 18:26:30 +08:00
"lint:report": "pnpm lint --format json --output-file report.json",
2023-11-15 14:04:41 +08:00
"dev": "rm -rf build/ && nodemon",
2023-02-22 12:38:30 +08:00
"start": "NODE_ENV=production node .",
2023-01-10 23:04:33 +08:00
"test:only": "NODE_OPTIONS=\"--experimental-vm-modules --max_old_space_size=4096\" jest --logHeapUsage",
2022-12-11 20:07:21 +08:00
"test": "pnpm build:test && pnpm test:only",
2023-01-10 23:04:33 +08:00
"test:ci": "pnpm test:only --coverage --silent",
"test:report": "codecov -F core"
2021-06-06 18:30:37 +08:00
},
"dependencies": {
"@authenio/samlify-node-xmllint": "^2.0.0",
2023-04-20 15:20:05 +08:00
"@aws-sdk/client-s3": "^3.315.0",
"@azure/storage-blob": "^12.13.0",
"@google-cloud/storage": "^7.3.0",
"@koa/cors": "^5.0.0",
"@logto/affiliate": "^0.1.0",
2023-06-28 18:57:43 +08:00
"@logto/app-insights": "workspace:^1.3.1",
2023-12-06 16:13:56 +08:00
"@logto/cli": "workspace:^1.12.0",
2023-11-03 13:14:52 +08:00
"@logto/connector-kit": "workspace:^2.0.0",
"@logto/console": "workspace:*",
2023-12-06 16:13:56 +08:00
"@logto/core-kit": "workspace:^2.2.1",
"@logto/demo-app": "workspace:*",
"@logto/experience": "workspace:*",
"@logto/language-kit": "workspace:^1.0.0",
2023-12-06 16:13:56 +08:00
"@logto/phrases": "workspace:^1.8.0",
"@logto/phrases-experience": "workspace:^1.5.0",
"@logto/schemas": "workspace:^1.12.0",
2023-10-07 13:39:33 +08:00
"@logto/shared": "workspace:^3.0.0",
2023-09-03 02:11:22 +08:00
"@silverhand/essentials": "^2.8.4",
"@simplewebauthn/server": "^8.2.0",
"@withtyped/client": "^0.7.22",
"camelcase": "^8.0.0",
feat(core): add OIDC SSO connector class (#4701) * feat(core): implement oidc and single sign on connector class init oidc and single sign on connecter class * refactor(core): refactor the structure of single sign-on classes refactor the structure of single sign-on classes * chore(core): provide more comments provide more comments * feat(core): add sso-connector-factories api (#4708) * feat(core): add sso-connector-factories api add sso-connector-factories api * fix(test): remove hard code connector name remove hard code connector name * feat(core): add POST sso-connectors api (#4719) * feat(core): add POST sso-connectors api add POST sso-connectors api * chore(core): add some comments add some comments * test(core): add post sso connectors integration tests add post sso connectors integration tests * feat(core): add GET sso-connectors api (#4723) * feat(core): add GET sso-connectors api add GET sso-connectors api * test(core): add tests add tests * test(core): add ut add ut * fix(test): remove console statement remove console statement * feat(core): implement get sso-connector by id endpoint (#4730) * feat(core): implement get sso-connector by id endpoint implement get sso-connector by id endpoint * feat(core): implement delete sso-connector by id endpoint (#4733) * feat(core): implement delete sso-connector by id endpoint implement delete sso-connector by id endpoint * feat(core): implement patch sso-connectors api (#4734) * feat(core): implement patch sso-connectors api implement patch sso-connectors api * fix(core): avoid patch api empty update case avoid patch api empty update case * feat(core): implement patch sso-connector config api (#4736) implement patch sso-connector config api * fix(test): replace SAML provider name with dummy name replace SAML provider name with dummy name as we are going to implement the SAML connector soon * fix(core): fix rebase error of findAll query output type fix rebase error of the findAll query output type
2023-10-25 14:44:58 +08:00
"camelcase-keys": "^9.0.0",
"chalk": "^5.0.0",
"clean-deep": "^3.4.0",
2022-11-07 14:33:47 +08:00
"date-fns": "^2.29.3",
2022-12-13 18:11:51 +08:00
"decamelize": "^6.0.0",
"deepmerge": "^4.2.2",
"dotenv": "^16.0.0",
"etag": "^1.8.1",
"fast-xml-parser": "^4.2.5",
"find-up": "^7.0.0",
"got": "^14.0.0",
"hash-wasm": "^4.9.0",
"helmet": "^7.0.0",
"i18next": "^22.4.15",
"iconv-lite": "0.6.3",
"jose": "^5.0.0",
2021-06-19 22:53:34 +08:00
"koa": "^2.13.1",
"koa-body": "^5.0.0",
"koa-compose": "^4.1.0",
"koa-compress": "^5.1.0",
2021-06-26 01:39:02 +08:00
"koa-logger": "^3.2.1",
2021-06-19 22:53:34 +08:00
"koa-mount": "^4.0.0",
2021-07-04 15:01:02 +08:00
"koa-proxies": "^0.12.1",
"koa-router": "^12.0.0",
"koa-send": "^5.0.1",
"lru-cache": "^10.0.0",
"nanoid": "^5.0.1",
"oidc-provider": "^8.2.2",
2023-12-03 19:05:12 +08:00
"openapi-types": "^12.1.3",
"otplib": "^12.0.1",
"p-retry": "^6.0.0",
"pg-protocol": "^1.6.0",
"pluralize": "^8.0.0",
"qrcode": "^1.5.3",
"redis": "^4.6.5",
2022-04-26 14:07:28 +08:00
"roarr": "^7.11.0",
2023-11-02 11:17:34 +08:00
"samlify": "2.8.10",
"semver": "^7.3.8",
"slonik": "^30.0.0",
"slonik-interceptor-preset": "^1.2.10",
2022-04-26 14:07:28 +08:00
"slonik-sql-tag-raw": "^1.1.4",
"snake-case": "^3.0.4",
2022-11-21 16:38:24 +08:00
"snakecase-keys": "^5.4.4",
"zod": "^3.22.4"
2021-06-06 18:30:37 +08:00
},
"devDependencies": {
"@logto/cloud": "0.2.5-c6ed487",
"@silverhand/eslint-config": "5.0.0",
"@silverhand/ts-config": "5.0.0",
"@types/debug": "^4.1.7",
"@types/etag": "^1.8.1",
2023-03-07 14:54:57 +08:00
"@types/jest": "^29.4.0",
2021-06-06 18:30:37 +08:00
"@types/koa": "^2.13.3",
"@types/koa-compose": "^3.2.5",
"@types/koa-compress": "^4.0.3",
2021-06-26 01:39:02 +08:00
"@types/koa-logger": "^3.1.1",
2021-06-19 22:53:34 +08:00
"@types/koa-mount": "^4.0.0",
"@types/koa-send": "^4.1.3",
"@types/koa__cors": "^5.0.0",
"@types/node": "^20.9.5",
"@types/oidc-provider": "^8.0.0",
"@types/pluralize": "^0.0.33",
"@types/qrcode": "^1.5.2",
"@types/semver": "^7.3.12",
"@types/sinon": "^17.0.0",
"@types/supertest": "^6.0.0",
"eslint": "^8.44.0",
"jest": "^29.7.0",
"jest-matcher-specific-error": "^1.0.0",
2023-12-01 18:28:49 +08:00
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.0.0",
2023-07-07 16:20:11 +08:00
"nock": "^13.3.1",
2022-12-12 13:43:23 +08:00
"node-mocks-http": "^1.12.1",
"nodemon": "^3.0.0",
"prettier": "^3.0.0",
"sinon": "^17.0.0",
"supertest": "^6.2.2",
"typescript": "^5.3.3"
2021-06-19 22:53:34 +08:00
},
"engines": {
"node": "^20.9.0"
2021-06-28 01:21:57 +08:00
},
"eslintConfig": {
"extends": "@silverhand",
"rules": {
"no-console": "error",
"import/no-unused-modules": [
"error",
2023-06-28 18:57:43 +08:00
{
"unusedExports": true
}
]
},
"overrides": [
{
"files": [
"*.d.ts"
],
"rules": {
"import/no-unused-modules": "off"
}
2023-11-08 15:30:05 +08:00
},
{
"files": [
"src/include.d/oidc-provider/**/*"
],
"rules": {
"unicorn/filename-case": "off"
}
2023-12-01 18:28:49 +08:00
},
{
"files": [
"*.json",
"*.json5",
"*.jsonc"
],
"parser": "jsonc-eslint-parser"
}
]
},
2021-09-16 16:54:32 +08:00
"prettier": "@silverhand/eslint-config/.prettierrc"
2021-06-06 18:30:37 +08:00
}