-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2.07 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
{
"name": "bitsharesjs-ws",
"version": "4.0.0",
"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": "npm 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": "npm run clean",
"build": "babel src -d lib",
"postbuild": "npm run browserify",
"prepare": "npm 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/Lotos2021/bitsharesjs-ws.git"
},
"author": "Archer <novikova835@gmail.com>",
"contributors": [
"Archer <novikova835@gmail.com> (https://github.com/Lotos2021)"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/Lotos2021/bitsharesjs-ws/issues"
},
"engines": {
"node": ">= 10.0.0"
},
"main": "lib/index.js",
"dependencies": {
"isomorphic-ws": "^4.0.1",
"ws": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/register": "^7.11.5",
"assert": "^1.5.0",
"babel-minify": "^0.5.1",
"babel-preset-minify": "^0.5.1",
"browserify": "^16.5.2",
"cross-env": "^5.2.1",
"http-server": "^0.12.3",
"mocha": "^8.1.3"
}
}