2021-06-06 05:30:37 -05:00
|
|
|
{
|
2021-07-25 09:28:42 -05:00
|
|
|
"name": "@logto/core",
|
2022-11-14 23:31:13 -05:00
|
|
|
"version": "1.0.0-beta.13",
|
2021-06-19 11:07:11 -05:00
|
|
|
"description": "The open source identity solution.",
|
|
|
|
"main": "build/index.js",
|
2022-04-24 22:26:41 -05:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
2021-08-11 09:12:36 -05:00
|
|
|
"license": "MPL-2.0",
|
2021-06-19 11:07:11 -05:00
|
|
|
"private": true,
|
2021-06-06 05:30:37 -05:00
|
|
|
"scripts": {
|
2021-07-25 09:27:51 -05:00
|
|
|
"precommit": "lint-staged",
|
2022-03-21 01:27:44 -05:00
|
|
|
"copyfiles": "copyfiles -u 1 src/**/*.md build",
|
|
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json && pnpm run copyfiles",
|
2021-08-20 05:16:00 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
2022-05-05 05:26:30 -05:00
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2022-08-22 01:58:39 -05:00
|
|
|
"dev": "rm -rf build/ && pnpm run copyfiles && nodemon",
|
2021-08-20 01:53:23 -05:00
|
|
|
"start": "NODE_ENV=production node build/index.js",
|
2022-09-26 03:38:27 -05:00
|
|
|
"test": "jest",
|
2022-10-06 04:34:21 -05:00
|
|
|
"test:ci": "jest --coverage --silent",
|
2022-01-09 21:04:00 -05:00
|
|
|
"test:report": "codecov -F core"
|
2021-06-06 05:30:37 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2022-10-21 00:59:08 -05:00
|
|
|
"@logto/cli": "workspace:^",
|
2022-10-23 23:26:11 -05:00
|
|
|
"@logto/connector-kit": "1.0.0-beta.20",
|
2022-10-12 02:42:33 -05:00
|
|
|
"@logto/core-kit": "^1.0.0-beta.18",
|
2022-10-23 23:26:11 -05:00
|
|
|
"@logto/language-kit": "1.0.0-beta.20",
|
2022-10-21 00:59:08 -05:00
|
|
|
"@logto/phrases": "workspace:^",
|
|
|
|
"@logto/phrases-ui": "workspace:^",
|
|
|
|
"@logto/schemas": "workspace:^",
|
|
|
|
"@logto/shared": "workspace:^",
|
2022-10-10 03:28:20 -05:00
|
|
|
"@silverhand/essentials": "^1.3.0",
|
2022-04-26 01:07:28 -05:00
|
|
|
"chalk": "^4",
|
2022-09-27 02:36:03 -05:00
|
|
|
"clean-deep": "^3.4.0",
|
2022-11-07 01:33:47 -05:00
|
|
|
"date-fns": "^2.29.3",
|
2022-06-01 00:12:15 -05:00
|
|
|
"debug": "^4.3.4",
|
2021-07-06 10:29:36 -05:00
|
|
|
"decamelize": "^5.0.0",
|
2022-04-25 22:31:07 -05:00
|
|
|
"deepmerge": "^4.2.2",
|
2022-04-22 05:07:35 -05:00
|
|
|
"dotenv": "^16.0.0",
|
2022-06-01 03:56:23 -05:00
|
|
|
"etag": "^1.8.1",
|
2022-10-11 09:14:09 -05:00
|
|
|
"find-up": "^5.0.0",
|
2022-09-28 02:25:54 -05:00
|
|
|
"fs-extra": "^10.1.0",
|
2022-11-05 11:20:37 -05:00
|
|
|
"got": "^11.8.5",
|
2022-08-19 00:47:24 -05:00
|
|
|
"hash-wasm": "^4.9.0",
|
2022-08-05 11:47:58 -05:00
|
|
|
"i18next": "^21.8.16",
|
2022-04-13 23:22:30 -05:00
|
|
|
"iconv-lite": "0.6.3",
|
2022-04-24 00:55:47 -05:00
|
|
|
"jose": "^4.0.0",
|
2022-07-07 04:48:46 -05:00
|
|
|
"js-yaml": "^4.1.0",
|
2021-06-19 09:53:34 -05:00
|
|
|
"koa": "^2.13.1",
|
2022-04-24 00:52:02 -05:00
|
|
|
"koa-body": "^5.0.0",
|
2022-06-02 02:32:46 -05:00
|
|
|
"koa-compose": "^4.1.0",
|
2021-06-25 12:39:02 -05:00
|
|
|
"koa-logger": "^3.2.1",
|
2021-06-19 09:53:34 -05:00
|
|
|
"koa-mount": "^4.0.0",
|
2021-07-04 02:01:02 -05:00
|
|
|
"koa-proxies": "^0.12.1",
|
2022-07-20 10:02:06 -05:00
|
|
|
"koa-router": "^12.0.0",
|
2022-06-01 00:12:15 -05:00
|
|
|
"koa-send": "^5.0.1",
|
2021-07-06 10:29:36 -05:00
|
|
|
"lodash.pick": "^4.4.0",
|
2021-07-02 09:55:14 -05:00
|
|
|
"module-alias": "^2.2.2",
|
2021-07-04 04:41:46 -05:00
|
|
|
"nanoid": "^3.1.23",
|
2022-11-05 11:16:40 -05:00
|
|
|
"oidc-provider": "^7.13.0",
|
2021-09-07 07:24:27 -05:00
|
|
|
"p-retry": "^4.6.1",
|
2021-12-06 04:32:31 -05:00
|
|
|
"query-string": "^7.0.1",
|
2022-04-26 01:07:28 -05:00
|
|
|
"roarr": "^7.11.0",
|
2022-08-12 04:27:54 -05:00
|
|
|
"slonik": "^30.0.0",
|
2021-07-03 08:19:20 -05:00
|
|
|
"slonik-interceptor-preset": "^1.2.10",
|
2022-04-26 01:07:28 -05:00
|
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
2022-08-15 07:45:13 -05:00
|
|
|
"snake-case": "^3.0.4",
|
2021-10-12 04:27:11 -05:00
|
|
|
"snakecase-keys": "^5.1.0",
|
2022-10-23 23:26:11 -05:00
|
|
|
"zod": "^3.19.1"
|
2021-06-06 05:30:37 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-07-07 07:47:33 -05:00
|
|
|
"@shopify/jest-koa-mocks": "^5.0.0",
|
2022-10-20 21:17:09 -05:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
2022-10-14 00:59:40 -05:00
|
|
|
"@silverhand/jest-config": "1.2.2",
|
2022-10-13 22:46:33 -05:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
2022-06-01 00:12:15 -05:00
|
|
|
"@types/debug": "^4.1.7",
|
2022-06-01 03:56:23 -05:00
|
|
|
"@types/etag": "^1.8.1",
|
2022-09-28 02:25:54 -05:00
|
|
|
"@types/fs-extra": "^9.0.13",
|
2022-09-14 22:12:33 -05:00
|
|
|
"@types/http-errors": "^1.8.2",
|
2022-10-14 01:57:27 -05:00
|
|
|
"@types/jest": "^29.1.2",
|
2022-07-07 04:48:46 -05:00
|
|
|
"@types/js-yaml": "^4.0.5",
|
2021-06-06 05:30:37 -05:00
|
|
|
"@types/koa": "^2.13.3",
|
2022-06-02 02:32:46 -05:00
|
|
|
"@types/koa-compose": "^3.2.5",
|
2021-06-25 12:39:02 -05:00
|
|
|
"@types/koa-logger": "^3.1.1",
|
2021-06-19 09:53:34 -05:00
|
|
|
"@types/koa-mount": "^4.0.0",
|
2022-06-01 00:12:15 -05:00
|
|
|
"@types/koa-send": "^4.1.3",
|
2021-07-06 10:29:36 -05:00
|
|
|
"@types/lodash.pick": "^4.4.6",
|
2022-10-13 01:39:09 -05:00
|
|
|
"@types/node": "^16.0.0",
|
2022-11-05 11:16:40 -05:00
|
|
|
"@types/oidc-provider": "^7.12.0",
|
2022-02-20 21:45:31 -05:00
|
|
|
"@types/supertest": "^2.0.11",
|
2022-03-21 01:27:44 -05:00
|
|
|
"copyfiles": "^2.4.1",
|
2022-08-05 00:58:31 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-09-14 22:12:33 -05:00
|
|
|
"http-errors": "^1.6.3",
|
2022-10-14 01:57:27 -05:00
|
|
|
"jest": "^29.1.2",
|
2021-08-30 11:48:33 -05:00
|
|
|
"jest-matcher-specific-error": "^1.0.0",
|
2022-06-02 00:19:09 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-01-21 02:26:14 -05:00
|
|
|
"nock": "^13.2.2",
|
2022-08-22 01:58:39 -05:00
|
|
|
"nodemon": "^2.0.19",
|
2022-06-04 03:35:36 -05:00
|
|
|
"openapi-types": "^12.0.0",
|
2022-08-05 00:58:31 -05:00
|
|
|
"prettier": "^2.7.1",
|
2022-02-20 21:45:31 -05:00
|
|
|
"supertest": "^6.2.2",
|
2022-08-05 00:58:31 -05:00
|
|
|
"typescript": "^4.7.4"
|
2021-06-19 09:53:34 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-11-05 11:29:28 -05:00
|
|
|
"node": "^16.13.0 || ^18.12.0"
|
2021-06-27 12:21:57 -05:00
|
|
|
},
|
2021-07-02 09:55:14 -05:00
|
|
|
"_moduleAliases": {
|
|
|
|
"@": "./build"
|
|
|
|
},
|
2021-07-19 12:07:49 -05:00
|
|
|
"eslintConfig": {
|
2022-10-13 22:46:33 -05:00
|
|
|
"extends": "@silverhand"
|
2021-07-19 12:07:49 -05:00
|
|
|
},
|
2021-09-16 03:54:32 -05:00
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
2021-06-06 05:30:37 -05:00
|
|
|
}
|