UNPKG

@cliz/inlets

Version:
110 lines (109 loc) 3.51 kB
{ "name": "@cliz/inlets", "version": "1.0.1", "description": "Cloud Native Tunnel", "keywords": [ "cliz", "terminal", "ssh", "webssh" ], "author": "zero <tobewhatwewant@gmail.com>", "homepage": "https://github.com/koexjs/koex#readme", "license": "MIT", "main": "lib/cli.js", "typings": "lib/cli.d.ts", "bin": { "cliz-inlets": "lib/cli.js", "inlets": "lib/cli.js" }, "directories": { "lib": "lib" }, "files": [ "lib" ], "jest": { "roots": [ "__tests__" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": ".*\\.(spec|test)\\.(ts|tsx)$", "moduleDirectories": [ "node_modules", "src" ], "moduleFileExtensions": [ "ts", "tsx", "js", "jsx" ], "coverageDirectory": "./coverage/", "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.{ts,tsx}" ], "coverageThreshold": { "global": { "branches": 0, "functions": 0, "lines": 0, "statements": 0 } }, "preset": "ts-jest" }, "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "git+https://github.com/koexjs/koex.git" }, "scripts": { "dev": "tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client --credentials dev:dev tcp 127.0.0.1:22 -p 20100\"", "build": "npm run clean && tsc -p tsconfig.build.json", "watch": "npm run clean && tsc -p tsconfig.build.json -w", "clean": "rm -rf lib", "test": "jest -w 1", "coverage": "codecov", "pkg": "rm -rf pkg && yarn build && koex pkg", "server": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js server -t token -d inlets.example.com\"", "server:config": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js server -c __tests__/fixtures/server.yml\"", "client": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client -t token http 127.0.0.1:9000 -s id\"", "client:http": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client -t token http 127.0.0.1:9000 -s id\"", "client:tcp": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client -t token tcp 127.0.0.1:9999 -p 9998\"", "client:credentials": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client --credentials TheClientId:TheClientSecret tcp 127.0.0.1:22\"", "cli": "node lib/cli.js", "forward": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js forward -l 127.0.0.1:${LOCAL_PORT:-10022} -r 127.0.0.1:${REMOTE_PORT:-22}\"", "client:http:public": "NODE_ENV=development tsc-watch -p tsconfig.json --onSuccess \"node lib/cli.js client http 127.0.0.1:9000\"" }, "bugs": { "url": "https://github.com/koexjs/koex/issues" }, "dependencies": { "@cliz/cli": "^1.0.27", "@types/ws": "^7.4.4", "@znode/healthcheck": "^0.0.10", "@znode/nobot": "^0.0.4", "@zodash/aes": "^0.0.4", "@zodash/compose": "^0.1.6", "@zodash/doreamon": "^0.4.66", "@zodash/hmac": "^0.0.4", "@zodash/md5": "^0.0.5", "@zodash/shorturl": "^0.2.8", "@zodash/websocket": "^0.2.3", "debug": "^4.3.1", "semver": "^7.3.5" }, "devDependencies": { "@types/semver": "^7.3.8" }, "cliz": { "name": "inlets" }, "gitHead": "0ecd34fc33c7ca74da460b4e74bce6716cbef595" }