-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
106 lines (106 loc) · 5.35 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
96
97
98
99
100
101
102
103
104
105
106
{
"name": "marketplace",
"version": "0.0.13",
"description": "Marketplace (PoC)",
"scripts": {
"install": "cd ../marketplace_client && npm install && cd - && cd ../marketplace_rendezvous && npm install && cd -",
"clean": "rm -rf ./dist/*/server-* ./build ./browser/*.js && cd ../marketplace_client && npm run clean && cd -",
"postinstall": "npm run clean && ./scripts/postinstall.sh && cd ../marketplace_client && npm run clean && npm run postinstall && cd -",
"jsbin": "ps -fewwww | grep jsbin | awk '{ print $2 }' | xargs kill -TERM; echo 'starting jsbin on http://localhost:3000'; jsbin &>/dev/null &",
"set_prod": "./scripts/set_prod.sh && cd ../marketplace_client && npm run set_prod && cd -",
"test": "echo \"Error: no test specified\" && exit 1",
"alice": "cd ../marketplace_client; npm run alice; cd -",
"bob": "cd ../marketplace_client; npm run bob; cd -",
"james": "cd ../marketplace_client; npm run james; cd -",
"tom": "cd ../marketplace_client; npm run tom; cd -",
"vit": "cd ../marketplace_client; npm run vit; cd -",
"cl-1": "cd ../marketplace_client; npm run cl-1; cd -",
"cl-2": "cd ../marketplace_client; npm run cl-2; cd -",
"rendezvous": "cd ../marketplace_rendezvous; npm run run; cd -",
"libp2p-build": "./node_modules/.bin/coffee -c ./browser/proto.coffee ./browser/libp2p-bundle.coffee ./browser/peer-browser.coffee ./browser/filetransfer.coffee && ./node_modules/.bin/browserify ./browser/peer-browser.js > ./public/js/peer-browser-bundle.js",
"build": "npm run libp2p-build && ./node_modules/.bin/brunch b && ./node_modules/.bin/brunch w",
"server": "(cd ./server && ../node_modules/.bin/coffee ./server.coffee && cd -)",
"server_rust": "(cd marketplace_server && cargo build && ./target/debug/marketplace_server && cd -)",
"dev": "./node_modules/.bin/concurrently --success last --names 'RNDZ,BUILD,SRV,BOB,TOM,JAMES,CL-1,CL-2,ALICE' --prefix '{time}-{name}' -t HH:mm:ss --prefix-colors cyan,magenta,yellow,blue,gray,green,bgYellow,bgGreen,red 'npm run rendezvous' 'npm run build' 'npm run server' 'npm run bob' 'npm run tom' 'npm run james' 'npm run cl-1' 'npm run cl-2' 'npm run alice'",
"dev_prod": "./node_modules/.bin/concurrently --success last --names 'BUILD,SRV,ALICE' --prefix '{time}-{name}' -t HH:mm:ss --prefix-colors cyan,magenta,red 'npm run build' 'npm run server' 'npm run alice'",
"open": "hs -p 3000 ./public",
"backup": "F=$npm_package_name$(date +%y%m%d-%H%M).tbz; npm run clean; tar cvfjh ../$F . --exclude=./public --exclude=./node_modules --exclude=./marketplace_client/node_modules --exclude=./marketplace_wallet --exclude=./marketplace_rendezvous/node_modules --exclude=./.git --exclude=./marketplace_client/.git --exclude=./marketplace_rendezvous/.git --exclude=./marketplace_server/.git --exclude=./marketplace_server/target --exclude=./marketplace_server/public --exclude=./marketplace_client/build --exclude=./marketplace_client/dist/*/store_* --exclude=./marketplace_client/dist/*/*/blockchain; echo 'ready: ../'$F",
"release": "npm run clean && npm run set_prod && ./node_modules/.bin/brunch b && ./node_modules/.bin/brunch b && npm run libp2p-build && ./scripts/release.sh && if [ $? -ne 0 ]; then echo 'failed!!!'; exit 9; fi; echo 'server released'; cd ./marketplace_client; ./scripts/release.sh; if [ $? -ne 0 ]; then echo 'failed!!!'; exit 9; fi; cd -"
},
"keywords": [
"decentralized",
"libp2p",
"marketplace",
"p2p",
"PoC"
],
"homepage": "https://github.com/vitali2y/marketplace",
"author": "Vi+ <[email protected]>",
"dependencies": {
"libp2p": "^0.18.0",
"libp2p-crypto": "^0.12.1",
"libp2p-floodsub": "^0.14.1",
"libp2p-kad-dht": "^0.8.0",
"libp2p-mdns": "^0.9.2",
"libp2p-mplex": "^0.6.0",
"libp2p-multiplex": "^0.5.1",
"libp2p-railing": "^0.7.1",
"libp2p-secio": "^0.9.4",
"libp2p-spdy": "^0.11.0",
"libp2p-tcp": "^0.11.6",
"libp2p-webrtc-star": "^0.13.4",
"libp2p-websocket-star": "^0.7.7",
"libp2p-websockets": "^0.10.5",
"lowdb": "^1.0.0",
"mediaplayer": "^1.1.0",
"mitt": "^1.1.3",
"peer-id": "^0.10.6",
"peer-info": "^0.14.1",
"pull-handshake": "^1.1.4",
"pull-pushable": "^2.2.0",
"pull-stream": "^3.6.2",
"spectre.css": "^0.5.1",
"toml": "^2.3.3",
"vue": "^2.5.13",
"vue-awesome": "^2.3.5"
},
"devDependencies": {
"babel-brunch": "^6.1.1",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-es2015": "^6.24.1",
"browserify": "^16.1.0",
"brunch": "^2.10.12",
"coffee-loader": "^0.9.0",
"coffee-script-brunch": "^2.10.2",
"coffeescript": "^2.3.1",
"concurrently": "^3.5.1",
"css-loader": "^0.28.10",
"html2jade": "^0.8.6",
"jade": "^1.11.0",
"jade-brunch": "^2.8.0",
"jade-loader": "^0.8.0",
"js2coffee": "^2.2.0",
"json": "^9.0.6",
"pkg": "^4.3.0",
"static-jade-brunch": "^2.7.0",
"stylus": "^0.54.5",
"stylus-brunch": "^2.10.0",
"stylus-loader": "^3.0.2",
"uglify-js-brunch": "^2.10.0",
"vue-brunch": "^2.0.1",
"vueify": "^9.4.1",
"vueify-extract-css": "^0.2.0"
},
"bin": "server.js",
"pkg": {
"assets": [
"public/**/*"
]
},
"engines": {
"node": ">=8.8.0",
"npm": ">=5.6.0"
},
"dev_uri": "/dns4/localhost/tcp/61617/ws/p2p-websocket-star",
"uri": "/dns4/ws-star-signal-4.servep2p.com/tcp/443/wss/p2p-websocket-star"
}