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",
|
2021-06-06 18:30:37 +08:00
|
|
|
"author": "Logto",
|
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-08-10 15:29:32 +08:00
|
|
|
"preinstall": "npx only-allow pnpm",
|
2021-07-25 22:27:51 +08:00
|
|
|
"precommit": "lint-staged",
|
2021-08-30 11:30:54 +08:00
|
|
|
"build": "rm -rf build/ && tsc -p tsconfig.build.json",
|
2021-08-20 18:16:00 +08:00
|
|
|
"lint": "eslint --ext .ts src",
|
2021-08-30 11:30:54 +08:00
|
|
|
"dev": "rm -rf build/ && 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",
|
|
|
|
"test": "jest"
|
2021-06-06 18:30:37 +08:00
|
|
|
},
|
|
|
|
"dependencies": {
|
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",
|
2021-09-16 23:48:06 +08:00
|
|
|
"@silverhand/essentials": "^1.1.0",
|
2021-06-24 01:09:42 +08:00
|
|
|
"dayjs": "^1.10.5",
|
2021-07-06 23:29:36 +08:00
|
|
|
"decamelize": "^5.0.0",
|
2021-06-26 01:39:02 +08:00
|
|
|
"dotenv": "^10.0.0",
|
2021-07-06 23:12:35 +08:00
|
|
|
"formidable": "^1.2.2",
|
2021-07-02 22:42:48 +08:00
|
|
|
"got": "^11.8.2",
|
2021-07-28 01:13:51 +08:00
|
|
|
"i18next": "^20.3.5",
|
2021-07-29 17:46:28 +08:00
|
|
|
"jose": "^3.14.3",
|
2021-06-19 22:53:34 +08:00
|
|
|
"koa": "^2.13.1",
|
2021-07-03 21:19:20 +08:00
|
|
|
"koa-body": "^4.2.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",
|
2021-07-30 02:21:47 +08:00
|
|
|
"koa-static": "^5.0.0",
|
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",
|
2021-07-04 21:55:27 +08:00
|
|
|
"slonik": "^23.8.3",
|
2021-07-03 21:19:20 +08:00
|
|
|
"slonik-interceptor-preset": "^1.2.10",
|
2021-10-12 17:27:11 +08:00
|
|
|
"snakecase-keys": "^5.1.0",
|
2021-08-26 13:05:23 +08:00
|
|
|
"zod": "^3.8.1"
|
2021-06-06 18:30:37 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2021-11-30 11:06:50 +08:00
|
|
|
"@shopify/jest-koa-mocks": "^3.0.8",
|
2021-12-29 11:56:55 +08:00
|
|
|
"@silverhand/eslint-config": "^0.4.0",
|
|
|
|
"@silverhand/ts-config": "^0.4.0",
|
2021-08-20 14:53:23 +08:00
|
|
|
"@types/jest": "^27.0.1",
|
2021-06-06 18:30:37 +08:00
|
|
|
"@types/koa": "^2.13.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",
|
2021-08-15 23:39:03 +08:00
|
|
|
"@types/koa-router": "^7.4.4",
|
2021-07-30 02:21:47 +08:00
|
|
|
"@types/koa-static": "^4.0.2",
|
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",
|
2021-12-20 14:20:23 +08:00
|
|
|
"eslint": "^8.1.0",
|
2021-08-20 14:53:23 +08:00
|
|
|
"jest": "^27.0.6",
|
2021-08-31 00:48:33 +08:00
|
|
|
"jest-matcher-specific-error": "^1.0.0",
|
2021-07-25 22:27:51 +08:00
|
|
|
"lint-staged": "^11.1.1",
|
2021-07-23 23:10:54 +08:00
|
|
|
"openapi-types": "^9.1.0",
|
2021-07-11 17:59:44 +08:00
|
|
|
"prettier": "^2.3.2",
|
2021-08-20 14:53:23 +08:00
|
|
|
"ts-jest": "^27.0.5",
|
2021-06-06 18:30:37 +08:00
|
|
|
"tsc-watch": "^4.4.0",
|
2021-07-11 17:59:44 +08:00
|
|
|
"typescript": "^4.3.5"
|
2021-06-19 22:53:34 +08:00
|
|
|
},
|
|
|
|
"engines": {
|
2021-07-29 17:46:28 +08:00
|
|
|
"node": ">=14.15.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": {
|
2021-09-16 16:54:32 +08:00
|
|
|
"extends": "@silverhand"
|
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
|
|
|
}
|