-
Notifications
You must be signed in to change notification settings - Fork 117
/
package.json
62 lines (62 loc) · 2.23 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
58
59
60
61
62
{
"name": "bitsharesjs-ws",
"version": "6.0.2",
"description": "Pure JavaScript BitShares websocket interface for node.js and browsers.",
"browser": {
"ws": false
},
"scripts": {
"test": "BABEL_ENV=test mocha --require @babel/register --recursive",
"test:watch": "yarn test -- --watch",
"test:connection": "BABEL_ENV=test mocha --require @babel/register ./test/Connection --watch",
"test:api": "BABEL_ENV=test mocha --require @babel/register ./test/Api --watch",
"test:manager": "BABEL_ENV=test mocha --require @babel/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 ./lib/* & rm -rf ./build/*",
"prebuild": "yarn run clean",
"build": "babel src -d lib",
"postbuild": "yarn run browserify",
"prepare": "yarn run build",
"browserify": "cross-env NODE_ENV=production browserify lib/index.js --standalone bitshares_ws -o build/bitsharesjs-ws.js -d",
"postbrowserify": "cross-env NODE_ENV=production minify build/bitsharesjs-ws.js --mangle --outFile build/bitsharesjs-ws.min.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitshares/bitsharesjs-ws.git"
},
"author": "BitShares UI Worker <[email protected]>",
"contributors": [
"Sigve Kvalsvik <[email protected]> (https://github.com/svk31)",
"James Calfee <[email protected]> (https://github.com/jcalfee/)",
"scientistnik"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/bitshares/bitsharesjs-ws/issues"
},
"engines": {
"node": ">=16.13.x",
"npm": ">=8.2.x",
"yarn": ">=1.22.x"
},
"main": "lib/index.js",
"dependencies": {
"isomorphic-ws": "^4.0.1",
"ws": "^8.4.0"
},
"devDependencies": {
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/register": "^7.16.5",
"assert": "^2.0.0",
"babel-minify": "^0.5.2",
"babel-preset-minify": "^0.5.1",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"http-server": "^14.0.0",
"mocha": "^9.1.3"
}
}