2022-09-26 22:15:01 -05:00
|
|
|
{
|
2022-10-03 04:52:28 -05:00
|
|
|
"name": "@logto/cli",
|
2024-08-08 00:00:14 -05:00
|
|
|
"version": "1.19.0",
|
2022-09-26 22:34:41 -05:00
|
|
|
"description": "Logto CLI.",
|
2022-09-26 22:15:01 -05:00
|
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
|
|
"license": "MPL-2.0",
|
2022-11-21 06:18:32 -05:00
|
|
|
"type": "module",
|
2022-10-18 22:15:14 -05:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2022-10-03 04:52:28 -05:00
|
|
|
"main": "lib/index.js",
|
2022-10-03 07:27:06 -05:00
|
|
|
"bin": {
|
2022-11-21 12:26:17 -05:00
|
|
|
"logto": "bin/logto.js"
|
2022-10-03 07:27:06 -05:00
|
|
|
},
|
2022-09-26 22:15:01 -05:00
|
|
|
"files": [
|
2022-10-03 07:27:06 -05:00
|
|
|
"bin",
|
2022-09-26 22:15:01 -05:00
|
|
|
"lib"
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "git+https://github.com/logto-io/logto.git"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"precommit": "lint-staged",
|
2022-10-13 02:39:28 -05:00
|
|
|
"prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts",
|
2023-01-29 23:41:06 -05:00
|
|
|
"build": "rm -rf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json",
|
2024-03-27 23:59:13 -05:00
|
|
|
"build:test": "pnpm build",
|
2022-10-18 02:40:36 -05:00
|
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
2022-10-03 04:52:28 -05:00
|
|
|
"start": "node .",
|
2022-12-11 07:07:21 -05:00
|
|
|
"start:dev": "pnpm build && node .",
|
2022-09-26 22:15:01 -05:00
|
|
|
"lint": "eslint --ext .ts src",
|
|
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
2024-03-27 23:55:10 -05:00
|
|
|
"test": "vitest src",
|
|
|
|
"test:ci": "pnpm run test --silent --coverage",
|
2022-09-26 22:15:01 -05:00
|
|
|
"prepack": "pnpm build"
|
|
|
|
},
|
|
|
|
"engines": {
|
2023-12-10 20:10:53 -05:00
|
|
|
"node": "^20.9.0"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/logto-io/logto/issues"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-07-05 20:07:56 -05:00
|
|
|
"@logto/connector-kit": "workspace:^4.0.0",
|
2024-05-31 10:48:43 -05:00
|
|
|
"@logto/core-kit": "workspace:^2.5.0",
|
2024-08-08 00:00:14 -05:00
|
|
|
"@logto/schemas": "workspace:1.19.0",
|
2024-05-14 07:27:55 -05:00
|
|
|
"@logto/shared": "workspace:^3.1.1",
|
2024-05-17 03:02:05 -05:00
|
|
|
"@silverhand/essentials": "^2.9.1",
|
2024-03-27 23:55:10 -05:00
|
|
|
"@silverhand/slonik": "31.0.0-beta.2",
|
2024-07-12 07:53:42 -05:00
|
|
|
"chalk": "^5.3.0",
|
2022-12-13 05:11:51 -05:00
|
|
|
"decamelize": "^6.0.0",
|
2024-07-12 07:53:42 -05:00
|
|
|
"dotenv": "^16.4.5",
|
2023-12-25 21:59:22 -05:00
|
|
|
"got": "^14.0.0",
|
2022-11-21 06:18:32 -05:00
|
|
|
"hpagent": "^1.2.0",
|
2024-07-31 23:47:24 -05:00
|
|
|
"http-proxy-middleware": "^3.0.0",
|
2023-01-28 23:56:44 -05:00
|
|
|
"inquirer": "^9.0.0",
|
2024-07-31 23:47:24 -05:00
|
|
|
"mime": "^4.0.4",
|
2023-10-08 00:42:32 -05:00
|
|
|
"nanoid": "^5.0.1",
|
2024-01-10 21:34:39 -05:00
|
|
|
"ora": "^8.0.1",
|
2024-07-07 01:07:49 -05:00
|
|
|
"p-limit": "^6.0.0",
|
2023-08-29 04:43:17 -05:00
|
|
|
"p-retry": "^6.0.0",
|
2023-03-08 11:07:33 -05:00
|
|
|
"pg-protocol": "^1.6.0",
|
2022-11-21 06:18:32 -05:00
|
|
|
"semver": "^7.3.8",
|
2024-04-24 09:37:30 -05:00
|
|
|
"tar": "^7.0.0",
|
2022-10-04 13:30:37 -05:00
|
|
|
"yargs": "^17.6.0",
|
2024-07-12 07:56:01 -05:00
|
|
|
"zod": "^3.23.8"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-04-18 07:26:37 -05:00
|
|
|
"@silverhand/eslint-config": "6.0.1",
|
|
|
|
"@silverhand/ts-config": "6.0.0",
|
2023-01-28 23:56:44 -05:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2023-12-10 20:10:53 -05:00
|
|
|
"@types/node": "^20.9.5",
|
2022-10-03 04:52:28 -05:00
|
|
|
"@types/semver": "^7.3.12",
|
2023-12-25 23:10:21 -05:00
|
|
|
"@types/sinon": "^17.0.0",
|
2024-04-10 09:47:46 -05:00
|
|
|
"@types/tar": "^6.1.12",
|
2022-10-04 00:45:27 -05:00
|
|
|
"@types/yargs": "^17.0.13",
|
2024-07-14 09:58:09 -05:00
|
|
|
"@vitest/coverage-v8": "^2.0.0",
|
2024-05-06 22:08:10 -05:00
|
|
|
"@withtyped/server": "^0.13.6",
|
2024-04-18 07:26:37 -05:00
|
|
|
"eslint": "^8.56.0",
|
2023-10-25 20:55:47 -05:00
|
|
|
"lint-staged": "^15.0.0",
|
2023-07-07 12:17:21 -05:00
|
|
|
"prettier": "^3.0.0",
|
2024-05-16 03:43:26 -05:00
|
|
|
"sinon": "^18.0.0",
|
2024-08-18 23:16:10 -05:00
|
|
|
"typescript": "^5.5.3",
|
2024-07-14 09:58:09 -05:00
|
|
|
"vitest": "^2.0.0"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-10-06 11:31:35 -05:00
|
|
|
"extends": "@silverhand",
|
2023-04-10 12:48:19 -05:00
|
|
|
"rules": {
|
|
|
|
"no-console": "error"
|
|
|
|
},
|
2022-10-14 01:57:27 -05:00
|
|
|
"ignorePatterns": [
|
|
|
|
"src/package-json.ts"
|
|
|
|
]
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
|
|
}
|