-
Notifications
You must be signed in to change notification settings - Fork 80
/
package.json
99 lines (99 loc) · 3.44 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "tunnelmole",
"version": "2.2.14",
"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/robbie-cahill/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)\""
},
"bin": {
"tmole": "dist/bin/tunnelmole.js",
"tunnelmole": "dist/bin/tunnelmole.js"
},
"author": "Robbie Cahill",
"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",
"commander": "^5.1.0",
"deep-equal": "^2.0.3",
"deepmerge": "^4.2.2",
"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.5",
"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",
"typescript": "^5.0.2"
}
}