forked from bitshares/bitsharesjs-ws
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
54 lines (54 loc) · 1.95 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
{
"name": "karmajs-ws",
"version": "0.1.5",
"description": "Pure JavaScript Karma/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",
"prepublish": "npm run build",
"browserify": "NODE_ENV=production browserify cjs/src/ApiInstances.js --standalone karma_ws -o build/karmajs-ws.js -d",
"postbrowserify": "NODE_ENV=production uglifyjs --compress --mangle --sequences --drop_console --mangle-props --screw-ie8 --output build/karmajs-ws.min.js -- build/karmajs-ws.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/GrapheneLab/karmajs-ws.git"
},
"author": "GrapheneLab",
"contributors": [
"Sigve Kvalsvik <[email protected]> (https://github.com/svk31)",
"James Calfee <[email protected]> (https://github.com/jcalfee/)"
],
"license": "BSD-2-Clause-FreeBSD",
"bugs": {
"url": "https://github.com/GrapheneLab/karmajs-ws/issues"
},
"engines": {
"node": ">= 6.0.0"
},
"main": "cjs/index.js",
"jsnext:main": "es/index.js",
"dependencies": {
"babel-plugin-add-module-exports": "^0.2.1",
"babel-preset-es2015": "^6.18.0",
"babel-preset-stage-1": "^6.16.0",
"ReconnectingWebSocket": "git+https://github.com/bitshares/reconnecting-websocket",
"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"
}
}