-
Notifications
You must be signed in to change notification settings - Fork 148
/
package.json
95 lines (95 loc) · 4.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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "bitsharesjs",
"version": "6.0.3",
"description": "Pure JavaScript BitShares library for node.js and browsers.",
"browser": {
"ws": false,
"crypto": false
},
"scripts": {
"test": "cross-env BABEL_ENV=test mocha --require @babel/register --recursive",
"test:chain": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/chain --recursive --watch",
"test:trxbuilder": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/chain/TransactionBuilder.js --watch",
"test:ecc": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/ecc --recursive --watch",
"test:serializer": "cross-env BABEL_ENV=test mocha --require @babel/register ./test/serializer --recursive",
"test:watch": "yarn test -- --watch",
"clean": "rimraf dist es && rimraf build/*",
"prebuild": "yarn run clean",
"build": "cross-env BABEL_ENV=cjs babel lib -d dist",
"webpack": "webpack --config webpack.config.js",
"build-es": "cross-env BABEL_ENV=es babel lib -d es",
"postbuild": "yarn run browserify && yarn run build-es && yarn run webpack",
"build:watch": "babel lib -d dist --watch",
"browserify": "cross-env NODE_ENV=production browserify --full-paths false dist/browser.js --standalone bitshares_js -o build/bitsharesjs.js -d",
"postbrowserify": "cross-env NODE_ENV=production minify build/bitsharesjs.js --mangle --outFile build/bitsharesjs.min.js",
"precommit": "pretty-quick --staged && yarn run test",
"doc": "esdoc -c esdoc.json",
"example:asset": "babel-node examples/updateAsset",
"example:transfer": "babel-node examples/transfer",
"example:feed": "babel-node examples/publishFeed",
"example:co-update": "babel-node examples/callOrderUpdate",
"example:chainStore": "babel-node examples/chainStore",
"example:privKey": "babel-node examples/privKey",
"example:createHtlc": "babel-node examples/createHtlc",
"example:redeemHtlc": "babel-node examples/redeemHtlc",
"example:anything": "babel-node examples/anything",
"example:broadcast": "babel-node examples/broadcast",
"prepare": "yarn run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bitshares/bitsharesjs.git"
},
"author": "BitShares UI Team <[email protected]>",
"contributors": [
"Sigve Kvalsvik <[email protected]> (https://github.com/svk31)",
"James Calfee <[email protected]> (https://github.com/jcalfee/)",
"Daniel Larimer <[email protected]> (https://github.com/bytemaster/)",
"Valentine Zavgorodnev <[email protected]> (https://github.com/valzav/)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/bitshares/bitsharesjs/issues"
},
"files": ["examples/*", "lib/*", "dist/*", "es/*", "test/*", "tools/*", "docs/*", ".babelrc", ".eslintrc", ".prettierignore", ".prettierrc", "esdoc.json", "webpack.config.js", "yarn.lock"],
"engines": {
"node": ">= 16.13.0"
},
"main": "./dist/index.js",
"jsnext:main": "./es/index.js",
"dependencies": {
"bigi": "^1.4.2",
"bitsharesjs-ws": "^6.0.2",
"bs58": "^4.0.1",
"bytebuffer": "^5.0.1",
"create-hash": "^1.2.0",
"create-hmac": "^1.1.7",
"crypto-js": "^4.1.1",
"deep-equal": "^2.0.5",
"ecurve": "^1.0.6",
"event-emitter": "^0.3.5",
"immutable": "^4.0.0",
"safe-buffer": "^5.2.1",
"secure-random": "^1.1.2"
},
"devDependencies": {
"@babel/cli": "^7.16.7",
"@babel/core": "^7.16.7",
"@babel/node": "^7.16.7",
"@babel/preset-env": "^7.16.7",
"@babel/register": "^7.16.7",
"assert": "^2.0.0",
"babel-minify": "^0.5.1",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-preset-minify": "^0.5.1",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"mocha": "^9.1.3",
"prettier": "^2.5.1",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"stream-browserify": "^3.0.0",
"webpack": "^5.76.0",
"webpack-cli": "^4.9.1"
}
}