mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
80 lines
2.2 KiB
JSON
80 lines
2.2 KiB
JSON
{
|
|
"name": "@logto/tunnel",
|
|
"version": "0.2.0",
|
|
"description": "A CLI tool that creates tunnel service to Logto Cloud for local development.",
|
|
"author": "Silverhand Inc. <contact@silverhand.io>",
|
|
"homepage": "https://github.com/logto-io/logto#readme",
|
|
"license": "MPL-2.0",
|
|
"type": "module",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"main": "lib/index.js",
|
|
"bin": {
|
|
"logto-tunnel": "bin/index.js"
|
|
},
|
|
"files": [
|
|
"bin",
|
|
"lib"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/logto-io/logto.git"
|
|
},
|
|
"scripts": {
|
|
"precommit": "lint-staged",
|
|
"prepare:package-json": "node -p \"'export const packageJson = ' + JSON.stringify(require('./package.json'), undefined, 2) + ';'\" > src/package-json.ts",
|
|
"build": "rm -rf lib && pnpm prepare:package-json && tsc -p tsconfig.build.json",
|
|
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput --incremental",
|
|
"start": "node .",
|
|
"start:dev": "pnpm build && node .",
|
|
"lint": "eslint --ext .ts src",
|
|
"lint:report": "pnpm lint --format json --output-file report.json",
|
|
"test": "vitest src",
|
|
"test:ci": "pnpm run test --silent --coverage",
|
|
"prepack": "pnpm build"
|
|
},
|
|
"engines": {
|
|
"node": "^20.9.0"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/logto-io/logto/issues"
|
|
},
|
|
"dependencies": {
|
|
"@logto/core-kit": "workspace:^",
|
|
"@logto/shared": "workspace:^",
|
|
"@silverhand/essentials": "^2.9.1",
|
|
"adm-zip": "^0.5.14",
|
|
"chalk": "^5.3.0",
|
|
"dotenv": "^16.4.5",
|
|
"find-up": "^7.0.0",
|
|
"http-proxy-middleware": "^3.0.0",
|
|
"mime": "^4.0.4",
|
|
"ora": "^8.0.1",
|
|
"yargs": "^17.6.0",
|
|
"zod": "^3.23.8"
|
|
},
|
|
"devDependencies": {
|
|
"@silverhand/eslint-config": "6.0.1",
|
|
"@silverhand/ts-config": "6.0.0",
|
|
"@types/adm-zip": "^0.5.5",
|
|
"@types/node": "^20.9.5",
|
|
"@types/yargs": "^17.0.13",
|
|
"@vitest/coverage-v8": "^2.0.0",
|
|
"eslint": "^8.56.0",
|
|
"lint-staged": "^15.0.0",
|
|
"prettier": "^3.0.0",
|
|
"typescript": "^5.5.3",
|
|
"vitest": "^2.0.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "@silverhand",
|
|
"rules": {
|
|
"no-console": "error"
|
|
},
|
|
"ignorePatterns": [
|
|
"src/package-json.ts"
|
|
]
|
|
},
|
|
"prettier": "@silverhand/eslint-config/.prettierrc"
|
|
}
|