-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
55 lines (55 loc) · 2.03 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
{
"name": "bts-health",
"version": "0.0.1",
"description": "Pure JavaScript Bitshares/Graphene websocket interface for node.js and browsers.",
"browser": {
"ws": false
},
"scripts": {
"test": "BABEL_ENV=test mocha --compilers js:babel-core/register --recursive",
"test:watch": "npm test -- --watch",
"test:manager": "BABEL_ENV=test mocha --compilers js:babel-core/register ./test/Manager --watch",
"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 && npm run build",
"prepublish": "npm run build",
"browserify": "NODE_ENV=production browserify cjs/src/ApiInstances.js --standalone bitshares_ws -o build/bitsharesjs-ws.js -d",
"postbrowserify": "NODE_ENV=production uglifyjs --compress --mangle --sequences --drop_console --mangle-props --screw-ie8 --output build/bitsharesjs-ws.min.js -- build/bitsharesjs-ws.js",
"start": "node health.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitshares/bitsharesjs-ws.git"
},
"author": "Sigve Kvalsvik <[email protected]> (https://github.com/svk31)",
"contributors": [
"James Calfee <[email protected]> (https://github.com/jcalfee/)"
],
"license": "BSD-2-Clause-FreeBSD",
"bugs": {
"url": "https://github.com/bitshares/bitsharesjs-ws/issues"
},
"engines": {
"node": ">= 6.0.0"
},
"main": "cjs/index.js",
"jsnext:main": "es/index.js",
"dependencies": {
"ReconnectingWebSocket": "git+https://github.com/bitshares/reconnecting-websocket",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-1": "^6.16.0",
"express": "^4.16.2",
"ws": "^2.2.0"
},
"devDependencies": {
"assert": "^1.3.0",
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"browserify": "^13.0.1",
"mocha": "^2.3.4",
"uglify-js": "^3.1.1"
}
}