2021-06-06 18:30:37 +08:00
|
|
|
{
|
2021-07-25 22:28:42 +08:00
|
|
|
"name": "@logto/core",
|
2021-07-08 19:57:43 +08:00
|
|
|
"version": "0.1.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",
|
2021-06-20 00:07:11 +08:00
|
|
|
"private": true,
|
2021-06-06 18:30:37 +08:00
|
|
|
"scripts": {
|
2021-07-25 22:27:51 +08:00
|
|
|
"precommit": "lint-staged",
|
2022-03-21 14:27:44 +08:00
|
|
|
"copyfiles": "copyfiles -u 1 src/**/*.md build",
|
|
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles",
|
2021-08-20 18:16:00 +08:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-05 18:26:30 +08:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2022-03-21 14:27:44 +08:00
|
|
|
"dev": "rm -rf build/ && pnpm run copyfiles && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./build/index.js\"",
|
2021-08-20 14:53:23 +08:00
|
|
|
"start": "NODE_ENV=production node build/index.js",
|
2022-01-10 10:04:00 +08:00
|
|
|
"test": "jest",
|
|
|
|
"test:coverage": "jest --coverage --silent",
|
|
|
|
"test:report": "codecov -F core"
|
2021-06-06 18:30:37 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-04-29 10:37:13 +08:00
|
|
|
"@logto/connector-alipay": "^0.1.0",
|
2022-05-20 13:40:40 +08:00
|
|
|
"@logto/connector-alipay-native": "^0.1.0",
|
2022-04-29 10:37:13 +08:00
|
|
|
"@logto/connector-aliyun-dm": "^0.1.0",
|
|
|
|
"@logto/connector-aliyun-sms": "^0.1.0",
|
2022-05-27 15:43:42 +08:00
|
|
|
"@logto/connector-apple": "^0.1.0",
|
2022-04-29 10:37:13 +08:00
|
|
|
"@logto/connector-facebook": "^0.1.0",
|
|
|
|
"@logto/connector-github": "^0.1.0",
|
|
|
|
"@logto/connector-google": "^0.1.0",
|
2022-05-18 11:39:36 +08:00
|
|
|
"@logto/connector-sendgrid-email": "^0.1.0",
|
2022-06-17 10:52:35 +08:00
|
|
|
"@logto/connector-smtp": "^0.1.0",
|
2022-05-20 09:56:16 +08:00
|
|
|
"@logto/connector-twilio-sms": "^0.1.0",
|
2022-04-29 10:37:13 +08:00
|
|
|
"@logto/connector-types": "^0.1.0",
|
|
|
|
"@logto/connector-wechat": "^0.1.0",
|
|
|
|
"@logto/connector-wechat-native": "^0.1.0",
|
2021-07-28 01:13:51 +08:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2021-07-25 22:36:22 +08:00
|
|
|
"@logto/schemas": "^0.1.0",
|
2022-05-24 13:54:37 +08:00
|
|
|
"@logto/shared": "^0.1.0",
|
2022-05-12 12:17:17 +08:00
|
|
|
"@silverhand/essentials": "^1.1.6",
|
2022-05-06 16:38:38 +08:00
|
|
|
"argon2": "^0.28.5",
|
2022-04-26 14:07:28 +08:00
|
|
|
"chalk": "^4",
|
2021-06-24 01:09:42 +08:00
|
|
|
"dayjs": "^1.10.5",
|
2022-06-01 13:12:15 +08:00
|
|
|
"debug": "^4.3.4",
|
2021-07-06 23:29:36 +08:00
|
|
|
"decamelize": "^5.0.0",
|
2022-04-26 11:31:07 +08:00
|
|
|
"deepmerge": "^4.2.2",
|
2022-04-22 18:07:35 +08:00
|
|
|
"dotenv": "^16.0.0",
|
2022-06-01 16:56:23 +08:00
|
|
|
"etag": "^1.8.1",
|
2021-07-02 22:42:48 +08:00
|
|
|
"got": "^11.8.2",
|
2022-04-23 23:58:54 +08:00
|
|
|
"i18next": "^21.0.0",
|
2022-04-14 12:22:30 +08:00
|
|
|
"iconv-lite": "0.6.3",
|
2022-04-21 16:13:59 +08:00
|
|
|
"inquirer": "^8.2.2",
|
2022-04-24 13:55:47 +08:00
|
|
|
"jose": "^4.0.0",
|
2021-06-19 22:53:34 +08:00
|
|
|
"koa": "^2.13.1",
|
2022-04-24 13:52:02 +08:00
|
|
|
"koa-body": "^5.0.0",
|
2022-06-02 15:32:46 +08:00
|
|
|
"koa-compose": "^4.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",
|
2021-06-19 22:53:34 +08:00
|
|
|
"koa-router": "^10.0.0",
|
2022-06-01 13:12:15 +08:00
|
|
|
"koa-send": "^5.0.1",
|
2021-07-06 23:29:36 +08:00
|
|
|
"lodash.pick": "^4.4.0",
|
2021-07-02 22:55:14 +08:00
|
|
|
"module-alias": "^2.2.2",
|
2021-07-04 17:41:46 +08:00
|
|
|
"nanoid": "^3.1.23",
|
2021-11-15 11:02:24 +08:00
|
|
|
"oidc-provider": "^7.10.0",
|
2021-09-07 20:24:27 +08:00
|
|
|
"p-retry": "^4.6.1",
|
2021-12-06 17:32:31 +08:00
|
|
|
"query-string": "^7.0.1",
|
2022-05-24 13:54:37 +08:00
|
|
|
"resolve-package-path": "^4.0.3",
|
2022-04-26 14:07:28 +08:00
|
|
|
"roarr": "^7.11.0",
|
2022-04-24 10:34:18 +00:00
|
|
|
"slonik": "^28.0.0",
|
2021-07-03 21:19:20 +08:00
|
|
|
"slonik-interceptor-preset": "^1.2.10",
|
2022-04-26 14:07:28 +08:00
|
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
2021-10-12 17:27:11 +08:00
|
|
|
"snakecase-keys": "^5.1.0",
|
2022-03-31 14:19:12 +08:00
|
|
|
"zod": "^3.14.3"
|
2021-06-06 18:30:37 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-05-20 10:41:09 +08:00
|
|
|
"@shopify/jest-koa-mocks": "^4.0.0",
|
2022-05-17 10:42:15 +00:00
|
|
|
"@silverhand/eslint-config": "^0.14.0",
|
2022-05-24 13:54:37 +08:00
|
|
|
"@silverhand/jest-config": "^0.14.0",
|
2022-05-17 11:04:12 +00:00
|
|
|
"@silverhand/ts-config": "^0.14.0",
|
2022-06-01 13:12:15 +08:00
|
|
|
"@types/debug": "^4.1.7",
|
2022-06-01 16:56:23 +08:00
|
|
|
"@types/etag": "^1.8.1",
|
2022-04-21 16:13:59 +08:00
|
|
|
"@types/inquirer": "^8.2.1",
|
2022-04-07 11:56:21 +08:00
|
|
|
"@types/jest": "^27.4.1",
|
2021-06-06 18:30:37 +08:00
|
|
|
"@types/koa": "^2.13.3",
|
2022-06-02 15:32:46 +08:00
|
|
|
"@types/koa-compose": "^3.2.5",
|
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",
|
2022-06-01 13:12:15 +08:00
|
|
|
"@types/koa-send": "^4.1.3",
|
2021-07-06 23:29:36 +08:00
|
|
|
"@types/lodash.pick": "^4.4.6",
|
2021-07-11 17:59:44 +08:00
|
|
|
"@types/node": "^16.3.1",
|
2021-11-15 11:02:24 +08:00
|
|
|
"@types/oidc-provider": "^7.8.0",
|
2022-02-21 10:45:31 +08:00
|
|
|
"@types/supertest": "^2.0.11",
|
2022-03-21 14:27:44 +08:00
|
|
|
"copyfiles": "^2.4.1",
|
2022-02-28 15:21:48 +08:00
|
|
|
"eslint": "^8.10.0",
|
2022-04-07 11:56:21 +08:00
|
|
|
"jest": "^27.5.1",
|
2021-08-31 00:48:33 +08:00
|
|
|
"jest-matcher-specific-error": "^1.0.0",
|
2022-06-02 13:19:09 +08:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-01-21 15:26:14 +08:00
|
|
|
"nock": "^13.2.2",
|
2022-06-04 16:35:36 +08:00
|
|
|
"openapi-types": "^12.0.0",
|
2021-07-11 17:59:44 +08:00
|
|
|
"prettier": "^2.3.2",
|
2022-02-25 13:52:29 +08:00
|
|
|
"snake-case": "^3.0.4",
|
2022-02-21 10:45:31 +08:00
|
|
|
"supertest": "^6.2.2",
|
2022-04-07 11:56:21 +08:00
|
|
|
"ts-jest": "^27.1.1",
|
2022-04-23 23:53:37 +08:00
|
|
|
"tsc-watch": "^5.0.0",
|
2022-03-11 16:30:22 +08:00
|
|
|
"typescript": "^4.6.2"
|
2021-06-19 22:53:34 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-04-24 09:50:59 +08:00
|
|
|
"node": "^16.0.0"
|
2021-06-28 01:21:57 +08:00
|
|
|
},
|
2021-07-02 22:55:14 +08:00
|
|
|
"_moduleAliases": {
|
|
|
|
"@": "./build"
|
|
|
|
},
|
2021-07-20 01:07:49 +08:00
|
|
|
"eslintConfig": {
|
2022-05-11 06:13:06 +00:00
|
|
|
"extends": "@silverhand",
|
|
|
|
"rules": {
|
|
|
|
"complexity": "off"
|
|
|
|
}
|
2021-07-20 01:07:49 +08:00
|
|
|
},
|
2021-09-16 16:54:32 +08:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-06-06 18:30:37 +08:00
|
|
|
}
|