2022-09-26 22:15:01 -05:00
|
|
|
{
|
2022-10-03 04:52:28 -05:00
|
|
|
"name": "@logto/cli",
|
2023-04-20 12:04:15 -05:00
|
|
|
"version": "1.2.2",
|
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",
|
|
|
|
"build:test": "rm -rf lib/ && pnpm prepare:package-json && tsc -p tsconfig.test.json --sourcemap",
|
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",
|
2022-12-11 07:07:21 -05:00
|
|
|
"test:only": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
|
|
"test": "pnpm build:test && pnpm test:only",
|
2022-12-14 12:50:29 -05:00
|
|
|
"test:ci": "pnpm test:only",
|
2022-09-26 22:15:01 -05:00
|
|
|
"prepack": "pnpm build"
|
|
|
|
},
|
|
|
|
"engines": {
|
2023-01-07 07:42:10 -05:00
|
|
|
"node": "^18.12.0"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/logto-io/logto/issues"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2023-04-18 08:13:31 -05:00
|
|
|
"@logto/connector-kit": "workspace:^1.1.1",
|
|
|
|
"@logto/core-kit": "workspace:^2.0.0",
|
2023-04-17 05:10:14 -05:00
|
|
|
"@logto/language-kit": "workspace:^1.0.0",
|
2023-04-18 08:13:31 -05:00
|
|
|
"@logto/phrases": "workspace:^1.2.0",
|
|
|
|
"@logto/phrases-ui": "workspace:^1.2.0",
|
2023-04-20 12:04:15 -05:00
|
|
|
"@logto/schemas": "workspace:^1.2.2",
|
2023-04-18 08:13:31 -05:00
|
|
|
"@logto/shared": "workspace:^2.0.0",
|
2023-03-18 00:02:51 -05:00
|
|
|
"@silverhand/essentials": "^2.5.0",
|
2022-12-06 23:41:22 -05:00
|
|
|
"chalk": "^5.0.0",
|
2022-12-13 05:11:51 -05:00
|
|
|
"decamelize": "^6.0.0",
|
2022-10-08 05:06:40 -05:00
|
|
|
"dotenv": "^16.0.0",
|
2022-11-21 06:18:32 -05:00
|
|
|
"got": "^12.5.3",
|
|
|
|
"hpagent": "^1.2.0",
|
2023-01-28 23:56:44 -05:00
|
|
|
"inquirer": "^9.0.0",
|
2022-12-13 05:11:51 -05:00
|
|
|
"nanoid": "^4.0.0",
|
2022-12-12 00:43:23 -05:00
|
|
|
"ora": "^6.1.2",
|
2022-12-29 09:53:35 -05:00
|
|
|
"p-limit": "^4.0.0",
|
2023-03-31 10:21:03 -05:00
|
|
|
"p-queue": "^7.3.4",
|
2022-12-13 05:11:51 -05:00
|
|
|
"p-retry": "^5.1.2",
|
2023-03-08 11:07:33 -05:00
|
|
|
"pg-protocol": "^1.6.0",
|
2022-10-06 11:31:35 -05:00
|
|
|
"roarr": "^7.11.0",
|
2022-11-21 06:18:32 -05:00
|
|
|
"semver": "^7.3.8",
|
2022-10-05 09:46:52 -05:00
|
|
|
"slonik": "^30.0.0",
|
|
|
|
"slonik-interceptor-preset": "^1.2.10",
|
2022-10-06 11:31:35 -05:00
|
|
|
"slonik-sql-tag-raw": "^1.1.4",
|
2022-10-04 00:45:27 -05:00
|
|
|
"tar": "^6.1.11",
|
2022-10-04 13:30:37 -05:00
|
|
|
"yargs": "^17.6.0",
|
2022-12-14 00:23:59 -05:00
|
|
|
"zod": "^3.20.2"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2023-04-07 11:17:14 -05:00
|
|
|
"@silverhand/eslint-config": "3.0.1",
|
2023-03-24 11:28:36 -05:00
|
|
|
"@silverhand/ts-config": "3.0.0",
|
2023-01-28 23:56:44 -05:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2023-03-07 01:54:57 -05:00
|
|
|
"@types/jest": "^29.4.0",
|
2023-01-07 07:42:10 -05:00
|
|
|
"@types/node": "^18.11.18",
|
2022-10-03 04:52:28 -05:00
|
|
|
"@types/semver": "^7.3.12",
|
2022-12-12 00:43:23 -05:00
|
|
|
"@types/sinon": "^10.0.13",
|
2022-10-03 04:52:28 -05:00
|
|
|
"@types/tar": "^6.1.2",
|
2022-10-04 00:45:27 -05:00
|
|
|
"@types/yargs": "^17.0.13",
|
2023-02-16 10:49:03 -05:00
|
|
|
"eslint": "^8.34.0",
|
2023-03-07 01:54:57 -05:00
|
|
|
"jest": "^29.5.0",
|
2022-09-26 22:15:01 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2023-02-16 10:49:03 -05:00
|
|
|
"prettier": "^2.8.2",
|
2022-12-12 00:43:23 -05:00
|
|
|
"sinon": "^15.0.0",
|
2023-03-21 06:37:51 -05:00
|
|
|
"typescript": "^5.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"
|
|
|
|
}
|