-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.3 KB
/
package.json
File metadata and controls
39 lines (39 loc) · 1.3 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
{
"name": "eaas-proxy",
"type": "module",
"version": "",
"dependencies": {
"@heroku/socksv5": "0.0.9",
"esm": "^3.0.84",
"fs-extra": "^7.0.1",
"jquery": "^3.3.1",
"jsdom": "^13.0.0",
"node-fetch": "^2.3.0",
"opn": "^5.4.0",
"text-encoding": "git+https://github.com/inexorabletash/text-encoding.git",
"vblob": "^1.0.2",
"web-streams-polyfill": "^1.3.2",
"winreg": "^1.2.4",
"ws": "^5.2.2"
},
"devDependencies": {
"node-es-module-loader": "^0.3.8",
"pkg": "^5.8.0",
"rollup": "^0.67.4"
},
"scripts": {
"install": "cp picotcp.js/picotcp.wasm .; echo 'export default EaasClient.Client;' | cat eaas-client/eaas-client.js - > eaas-client/eaas-client.esm.js; sed -E 's/\"type\":\\s*\"module\"/\"type\":\"commonjs\"/' package.json > package.dist.json",
"build": "printf 'export default \"eaas-proxy-git-%s\";\\n' \"$(git rev-parse HEAD)\" > COMMIT.js; rollup -c -f cjs eaas-proxy.js | sed '/^#!/d' > eaas-proxy.dist.js && pkg -c package.dist.json eaas-proxy.dist.js && mv eaas-proxy-win.exe eaas-proxy.exe && ./build-macos && mv eaas-proxy-linux eaas-proxy"
},
"pkg": {
"assets": [
"picotcp.wasm"
],
"targets": [
"node16-win-x64",
"node16-macos-x64",
"node16-linux-x64"
]
},
"bin": "eaas-proxy.dist.js"
}