forked from bitshares/bitsharesjs-ws
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
57 lines (57 loc) · 2.26 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
56
57
{
"name": "bitsharesjs-ws",
"version": "1.5.4",
"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:connection": "BABEL_ENV=test mocha --compilers js:babel-core/register ./test/Connection --watch",
"test:api": "BABEL_ENV=test mocha --compilers js:babel-core/register ./test/Api --watch",
"test:manager": "BABEL_ENV=test mocha --compilers js:babel-core/register ./test/Manager --watch",
"pretest:browser": "NODE_ENV=dev browserify test/*.js -o browser-test/browser-test.js -t [ babelify ]",
"test:browser": "BABEL_ENV=test http-server ./browser-test",
"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 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"
},
"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": {
"babel-plugin-add-module-exports": "^0.2.1",
"ws": "4.1.0"
},
"devDependencies": {
"assert": "^1.3.0",
"babel-cli": "^6.26.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-1": "^6.24.1",
"babelify": "^8.0.0",
"browserify": "^16.2.0",
"http-server": "^0.11.1",
"mocha": "^5.2.0",
"uglify-js": "^3.1.1"
}
}