Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.43 KB
/
Copy pathpackage.json
File metadata and controls
50 lines (50 loc) · 1.43 KB
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
{
"name": "@webhooksite/cli",
"description": "A console utility used to interact with the Webhook.site API and proxy/forward/tunnel requests from a Webhook.site URL to any destination on your local network.",
"repository": "webhooksite/cli",
"version": "0.3.4",
"author": {
"email": "contact@webhook.site",
"name": "Webhook ApS"
},
"keywords": [
"webhook",
"proxy",
"forward",
"tunnel",
"redirect",
"webhook.site",
"requestbin",
"api",
"mock",
"mocking",
"testing",
"ngrok"
],
"homepage": "https://docs.webhook.site/cli.html",
"type": "module",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"colors": "^1.4.0",
"js-yaml": "^4.1.1",
"laravel-echo": "^1.16.1",
"minimist": "^1.2.8",
"node-fetch": "^3.3.2",
"pino": "^8.20.0",
"socket.io-client": "^4.8.3",
"ws": "^7.5.9"
},
"license": "MIT",
"bin": {
"whcli": "index.js"
},
"scripts": {
"start": "node index.js",
"build": "export VERSION=$(jq -r '.version' package.json) ; sed -i '' \"s/const version = '[0-9.]*';/const version = '$VERSION';/\" index.js ; npm install ; git tag $VERSION ; git push origin refs/tags/$VERSION ; docker buildx build --platform linux/arm/v7,linux/arm64/v8,linux/amd64,linux/arm64 --tag webhooksite/cli:latest --tag webhooksite/cli:$VERSION --push . ; npm publish"
}
}