forked from bitshares/bitsharesjs-ws
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
51 lines (51 loc) · 1.67 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
{
"name": "gxbjs-ws",
"version": "1.2.1",
"description": "Pure JavaScript GXChain websocket interface for node.js and browsers.",
"browser": {
"ws": false
},
"scripts": {
"clean": "rm -rf ./cjs/* & rm -rf ./build/* & rm -rf ./es/*",
"prebuild": "npm run clean",
"build": "BABEL_ENV=cjs babel lib --out-dir cjs",
"build-es": "BABEL_ENV=es babel ./lib -d es",
"postbuild": "npm run browserify && npm run build-es",
"prepublish": "npm run build",
"browserify": "NODE_ENV=production browserify cjs/src/ApiInstances.js --standalone gxbjs_ws -o build/gxbjs-ws.js -d",
"postbrowserify": "uglifyjs build/gxbjs-ws.js --compress --mangle --sequences --drop_console --mangle-props --output build/gxbjs-ws.min.js",
"bundle": "npm run browserify && npm run minify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gxchain/gxbjs-ws.git"
},
"author": "David Lan <[email protected]> (https://github.com/lanhaoxiang)",
"contributors": [
"James Calfee <[email protected]> (https://github.com/jcalfee/)",
"David Lan <[email protected]> (https://github.com/lanhaoxiang/)"
],
"license": "BSD-2-Clause-FreeBSD",
"bugs": {
"url": "https://github.com/gxchain/gxbjs-ws/issues"
},
"engines": {
"node": ">= 6.0.0"
},
"main": "cjs/index.js",
"jsnext:main": "es/index.js",
"dependencies": {
"ws": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.4",
"@babel/plugin-transform-runtime": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/register": "^7.0.0",
"assert": "^1.3.0",
"browserify": "^13.0.1",
"mocha": "^5.2.0",
"uglify-js": "^3.9.4"
}
}