31 lines
1.1 KiB
JSON
31 lines
1.1 KiB
JSON
{
|
|
"name": "server-config-cli",
|
|
"version": "0.2.0",
|
|
"description": "Ink-based TUI for bootstrapping server shell, ssh and frp client configuration.",
|
|
"bin": {
|
|
"server-config": "bin/server-config.js",
|
|
"scc": "bin/server-config.js"
|
|
},
|
|
"scripts": {
|
|
"build": "esbuild src/app.jsx --bundle --platform=node --target=node18 --format=esm --jsx=automatic --outfile=dist/app.mjs --alias:react-devtools-core=./src/stubs/react-devtools-core.js --banner:js=\"import { createRequire as __cR } from 'node:module'; const require = __cR(import.meta.url);\"",
|
|
"build:watch": "npm run build -- --watch",
|
|
"check": "node --check bin/server-config.js && node --check src/lib/frp-config.js && node --check src/lib/runner.js && node --check src/lib/tasks.js && node --check test/frp-config.test.js",
|
|
"test": "node --test test/*.test.js"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"dependencies": {
|
|
"ink": "^7.0.2",
|
|
"ink-select-input": "^6.2.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"react": "^19.2.0",
|
|
"react-devtools-core": "^7.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"esbuild": "^0.28.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|