mirror of
https://github.com/alibaba/anyproxy.git
synced 2025-04-23 23:31:26 +00:00
add jsdom jquery
This commit is contained in:
parent
c6c2355d17
commit
a9c1e2aa84
@ -20,7 +20,9 @@
|
||||
"qrcode-npm": "0.0.3",
|
||||
"socks5-http-client": "^0.1.6",
|
||||
"socks5-https-client": "^0.2.2",
|
||||
"ws": "^0.4.32"
|
||||
"ws": "^0.4.32",
|
||||
"jsdom":"^1.0.3",
|
||||
"jquery":"^2.1.1"
|
||||
},
|
||||
"devDependencies": {},
|
||||
"scripts": {
|
||||
|
2
proxy.js
2
proxy.js
@ -4,6 +4,8 @@ try{
|
||||
GLOBAL.util['iconv-lite'] = require("iconv-lite");
|
||||
GLOBAL.util['colorful'] = require("colorful");
|
||||
GLOBAL.util['path'] = require("path");
|
||||
GLOBAL.util['jsdom'] = require('jsdom');
|
||||
GLOBAL.util['jquery'] = require('jquery');
|
||||
GLOBAL.util['Socks5ClientHttpAgent'] = require('socks5-http-client/lib/Agent');
|
||||
GLOBAL.util['Socks5ClientHttpsAgent'] = require('socks5-https-client/lib/Agent');
|
||||
}catch(e){}
|
||||
|
Loading…
x
Reference in New Issue
Block a user