UNPKG

@mikkel-ol/tunnelmole

Version:

Tunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls

107 lines (106 loc) 3.7 kB
{ "name": "@mikkel-ol/tunnelmole", "version": "2.3.9", "description": "Tunnelmole, an open source ngrok alternative. Instant public URLs for any http/https based application. Available as a command line application or as an NPM dependency for your code. Stable and maintained. Good test coverage. Works behind firewalls", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "type": "module", "homepage": "https://tunnelmole.com", "keywords": [ "tunnelmole", "tunneling", "proxy", "https", "ssl", "ngrok", "localtunnel", "pgrok", "expose", "websocket", "webhook", "testing" ], "files": [ "dist", "src", "cjs", ".npmrc" ], "repository": { "type": "git", "url": "https://github.com/mikkel-ol/tunnelmole-client.git" }, "scripts": { "build": "tsc -p ./", "watch": "tsc -p ./ -w", "lint": "eslint . --ext .ts", "start": "npm run watch & nodemon dist/src/tunnelmole.js 3000", "test": "npm run build && node --experimental-vm-modules node_modules/jest/bin/jest --forceExit", "prerollup": "cat package.json | jq 'del(.type)' > /tmp/package.json && mv /tmp/package.json package.json", "postrollup": "git checkout package.json", "rollup": "npm run prerollup && rollup -c --bundleConfigAsCjs && npm run postrollup #Prerollup is a workaround to prevent node complaining about the package type in the cjs bundle", "build-linux-bin": "pkg tunnelmole.bundle.js --targets node18-linux-x64 --output tmole-linux", "build-mac-bin": "pkg tunnelmole.bundle.js --targets node18-mac-x64 --output tmole-mac", "build-windows-bin": "pkg tunnelmole.bundle.js --targets node18-win-x64 --output tmole.exe", "build-all-bin": "npm run build && npm run rollup && npm run build-linux-bin && npm run build-mac-bin && npm run build-windows-bin", "postinstall": "node cjs/bin/postinstall.js", "prepublishOnly": "node -e \"if (require('fs').existsSync('./.nopublish')) process.exit(1)\"", "format": "prettier --write ." }, "publishConfig": { "access": "public" }, "bin": { "tmole": "dist/bin/tunnelmole.js", "tunnelmole": "dist/bin/tunnelmole.js" }, "author": "Mikkel O. Laursen", "license": "MIT", "dependencies": { "@types/deep-equal": "^1.0.1", "@types/is-number": "^7.0.3", "@types/jest": "^29.5.0", "@types/node-fetch": "^2.5.7", "@types/node-localstorage": "^1.3.0", "@types/node-persist": "^3.0.0", "@types/source-map-support": "^0.5.6", "@types/validator": "^13.7.14", "@types/ws": "^7.2.4", "axios": "^1.3.5", "chalk": "4.1.2", "commander": "^5.1.0", "deep-equal": "^2.0.3", "deepmerge": "^4.2.2", "detect-port": "^2.1.0", "is-number": "^7.0.0", "multer": "^1.4.5-lts.1", "nanoid": "^3.1.5", "node-fetch": "^2.6.9", "node-localstorage": "^2.1.6", "source-map-support": "^0.5.21", "toml": "^3.0.0", "tunnelmole": "^2.1.6", "validator": "^13.0.0", "ws": "^7.2.5" }, "devDependencies": { "@rollup/plugin-commonjs": "^25.0.4", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.2.1", "@types/express": "^4.17.17", "@types/multer": "^1.4.7", "@types/node": "^18.15.6", "@typescript-eslint/eslint-plugin": "^5.56.0", "@typescript-eslint/parser": "^5.56.0", "eslint": "^8.36.0", "eslint-config-standard-with-typescript": "^34.0.1", "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.6.1", "eslint-plugin-promise": "^6.1.1", "express": "^4.18.2", "jest": "^29.5.0", "pkg": "^5.8.1", "prettier": "^3.5.3", "typescript": "^5.0.2" } }