2021-06-06 05:30:37 -05:00
|
|
|
{
|
2021-07-25 09:28:42 -05:00
|
|
|
"name": "@logto/core",
|
2021-07-08 06:57:43 -05:00
|
|
|
"version": "0.1.0",
|
2021-06-19 11:07:11 -05:00
|
|
|
"description": "The open source identity solution.",
|
|
|
|
"main": "build/index.js",
|
2021-06-06 05:30:37 -05:00
|
|
|
"author": "Logto",
|
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-08-10 02:29:32 -05:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2021-07-25 09:27:51 -05:00
|
|
|
"precommit": "lint-staged",
|
2021-08-29 22:30:54 -05:00
|
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json",
|
2021-08-20 05:16:00 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
2021-08-29 22:30:54 -05:00
|
|
|
"dev": "rm -rf build/ && tsc-watch -p tsconfig.build.json --preserveWatchOutput --onSuccess \"node ./build/index.js\"",
|
2021-08-20 01:53:23 -05:00
|
|
|
"start": "NODE_ENV=production node build/index.js",
|
2022-01-09 21:04:00 -05:00
|
|
|
"test": "jest",
|
|
|
|
"test:coverage": "jest --coverage --silent",
|
|
|
|
"test:report": "codecov -F core"
|
2021-06-06 05:30:37 -05:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2021-07-27 12:13:51 -05:00
|
|
|
"@logto/phrases": "^0.1.0",
|
2021-07-25 09:36:22 -05:00
|
|
|
"@logto/schemas": "^0.1.0",
|
2021-09-16 10:48:06 -05:00
|
|
|
"@silverhand/essentials": "^1.1.0",
|
2021-06-23 12:09:42 -05:00
|
|
|
"dayjs": "^1.10.5",
|
2021-07-06 10:29:36 -05:00
|
|
|
"decamelize": "^5.0.0",
|
2021-06-25 12:39:02 -05:00
|
|
|
"dotenv": "^10.0.0",
|
2021-07-06 10:12:35 -05:00
|
|
|
"formidable": "^1.2.2",
|
2021-07-02 09:42:48 -05:00
|
|
|
"got": "^11.8.2",
|
2021-07-27 12:13:51 -05:00
|
|
|
"i18next": "^20.3.5",
|
2021-07-29 04:46:28 -05:00
|
|
|
"jose": "^3.14.3",
|
2021-06-19 09:53:34 -05:00
|
|
|
"koa": "^2.13.1",
|
2021-07-03 08:19:20 -05:00
|
|
|
"koa-body": "^4.2.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",
|
2021-06-19 09:53:34 -05:00
|
|
|
"koa-router": "^10.0.0",
|
2021-07-29 13:21:47 -05:00
|
|
|
"koa-static": "^5.0.0",
|
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",
|
2021-11-14 22:02:24 -05:00
|
|
|
"oidc-provider": "^7.10.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",
|
2021-07-04 08:55:27 -05:00
|
|
|
"slonik": "^23.8.3",
|
2021-07-03 08:19:20 -05:00
|
|
|
"slonik-interceptor-preset": "^1.2.10",
|
2021-10-12 04:27:11 -05:00
|
|
|
"snakecase-keys": "^5.1.0",
|
2021-08-26 00:05:23 -05:00
|
|
|
"zod": "^3.8.1"
|
2021-06-06 05:30:37 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-11-29 22:06:50 -05:00
|
|
|
"@shopify/jest-koa-mocks": "^3.0.8",
|
2022-01-27 06:26:34 -05:00
|
|
|
"@silverhand/eslint-config": "^0.6.1",
|
|
|
|
"@silverhand/ts-config": "^0.6.1",
|
2021-08-20 01:53:23 -05:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-06-06 05:30:37 -05:00
|
|
|
"@types/koa": "^2.13.3",
|
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",
|
2021-08-15 10:39:03 -05:00
|
|
|
"@types/koa-router": "^7.4.4",
|
2021-07-29 13:21:47 -05:00
|
|
|
"@types/koa-static": "^4.0.2",
|
2021-07-06 10:29:36 -05:00
|
|
|
"@types/lodash.pick": "^4.4.6",
|
2021-07-11 04:59:44 -05:00
|
|
|
"@types/node": "^16.3.1",
|
2021-11-14 22:02:24 -05:00
|
|
|
"@types/oidc-provider": "^7.8.0",
|
2022-01-09 21:04:00 -05:00
|
|
|
"codecov": "^3.8.3",
|
2021-12-20 01:20:23 -05:00
|
|
|
"eslint": "^8.1.0",
|
2021-08-20 01:53:23 -05:00
|
|
|
"jest": "^27.0.6",
|
2021-08-30 11:48:33 -05:00
|
|
|
"jest-matcher-specific-error": "^1.0.0",
|
2021-07-25 09:27:51 -05:00
|
|
|
"lint-staged": "^11.1.1",
|
2022-01-21 02:26:14 -05:00
|
|
|
"nock": "^13.2.2",
|
2021-07-23 10:10:54 -05:00
|
|
|
"openapi-types": "^9.1.0",
|
2021-07-11 04:59:44 -05:00
|
|
|
"prettier": "^2.3.2",
|
2021-08-20 01:53:23 -05:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-06-06 05:30:37 -05:00
|
|
|
"tsc-watch": "^4.4.0",
|
2022-02-16 02:17:43 -05:00
|
|
|
"typescript": "^4.5.5"
|
2021-06-19 09:53:34 -05:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-07-29 04:46:28 -05:00
|
|
|
"node": ">=14.15.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": {
|
2021-09-16 03:54:32 -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
|
|
|
}
|