2022-09-26 22:15:01 -05:00
|
|
|
{
|
2022-10-03 04:52:28 -05:00
|
|
|
"name": "@logto/cli",
|
2023-02-02 09:18:08 -05:00
|
|
|
"version": "1.0.0-rc.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",
|
|
|
|
"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": {
|
2022-12-19 11:01:40 -05:00
|
|
|
"@logto/core-kit": "workspace:*",
|
2022-12-07 08:39:32 -05:00
|
|
|
"@logto/schemas": "workspace:*",
|
|
|
|
"@logto/shared": "workspace:*",
|
2022-12-26 07:13:05 -05:00
|
|
|
"@silverhand/essentials": "2.1.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",
|
2022-12-13 05:11:51 -05:00
|
|
|
"p-retry": "^5.1.2",
|
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": {
|
2022-10-20 21:17:09 -05:00
|
|
|
"@silverhand/eslint-config": "1.3.0",
|
2022-10-13 22:46:33 -05:00
|
|
|
"@silverhand/ts-config": "1.2.1",
|
2023-01-28 23:56:44 -05:00
|
|
|
"@types/inquirer": "^9.0.0",
|
2022-10-14 01:57:27 -05:00
|
|
|
"@types/jest": "^29.1.2",
|
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",
|
2022-09-26 22:15:01 -05:00
|
|
|
"eslint": "^8.21.0",
|
2022-11-21 11:31:25 -05:00
|
|
|
"jest": "^29.3.1",
|
2022-09-26 22:15:01 -05:00
|
|
|
"lint-staged": "^13.0.0",
|
2022-12-22 03:52:39 -05:00
|
|
|
"prettier": "^2.8.1",
|
2022-12-12 00:43:23 -05:00
|
|
|
"sinon": "^15.0.0",
|
2022-12-12 08:15:09 -05:00
|
|
|
"typescript": "^4.9.4"
|
2022-09-26 22:15:01 -05:00
|
|
|
},
|
|
|
|
"eslintConfig": {
|
2022-10-06 11:31:35 -05:00
|
|
|
"extends": "@silverhand",
|
2023-01-18 00:12:57 -05:00
|
|
|
"rules": {
|
2023-01-29 03:25:12 -05:00
|
|
|
"complexity": [
|
|
|
|
"error",
|
|
|
|
11
|
|
|
|
]
|
2023-01-18 00:12:57 -05:00
|
|
|
},
|
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"
|
|
|
|
}
|