forked from FabricLabs/fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
147 lines (147 loc) · 5.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"name": "@fabric/core",
"version": "0.1.0-dev",
"description": "experimental p2p framework",
"main": "types/fabric.js",
"module": "index.js",
"bin": {
"fabric": "scripts/cli.js"
},
"directories": {
"doc": "docs",
"example": "examples",
"test": "tests"
},
"scripts": {
"book": "npm run dev",
"build": "npm run make:all",
"build:all": "npm run make:all",
"chat": "node scripts/cli.js chat",
"cli": "npm run chat",
"coverage": "nyc npm test",
"dev": "npm run make:dev && http-server -p 8000 _book",
"docs": "npm run make:api && npm run make:docs && http-server -p 8000 docs",
"examples": "npm run make:examples && http-server -p 8000 examples",
"keygen": "node scripts/keygen.js",
"local": "npm run build && http-server -p 8000 ./assets",
"make:all": "npm run make:service && npm run make:app && npm run make:lib && npm run make:dev",
"make:api": "jsdoc2md --configure jsdoc.json --files types/*.js services/*.js README.md > API.md",
"make:app": "webpack --progress examples/app.js -o assets/app.js",
"make:coverage": "npm run coverage && nyc report --reporter html",
"make:dev": "gitbook install && npm run make:examples && npm run make:docs && gitbook build && cp -rf docs _book/ && cp -rf examples _book/ && glob-run js-beautify --indent-size 2 -r _book/**.html",
"make:docs": "npm run make:api && node_modules/.bin/jsdoc -c jsdoc.json services/**.js types/**.js DEVELOPERS.md -d docs/ && glob-run js-beautify --indent-size 2 -r docs/**.html",
"make:examples": "docco --output examples/ examples/*.js && glob-run js-beautify --indent-size 2 -r examples/*.html",
"make:lib": "NODE_ENV=production webpack scripts/fabric.js -o assets/fabric.min.js",
"make:service": "NODE_ENV=production webpack --target=webworker examples/service.js -o assets/service.js",
"make:viewer": "NODE_ENV=production webpack components/circuit-viewer.js -o assets/viewer.min.js",
"report:coverage": "npm run make:coverage && nyc report --reporter=text-lcov > reports/coverage.lcov && codecov",
"review:coverage": "npm run make:coverage && http-server -p 8000 reports/coverage",
"review:todo": "grep --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=reports --exclude-dir=coverage --exclude-dir=docs -rEI \"TODO|FIXME\" . 2>/dev/null > reports/TODO.txt",
"playnet": "node scripts/playnet.js",
"start": "node scripts/app.js",
"static": "npm run build:scripts && http-server -p 8000 assets",
"test:app": "npm run make:service && npm run make:app && NODE_ENV=test mocha tests/fabric.app.js",
"test:bitcoin": "mocha tests/bitcoin.core.js",
"test:ethereum": "mocha tests/ethereum.core.js",
"test": "NODE_ENV=test mocha tests"
},
"engines": {
"node": "^12.16"
},
"repository": {
"type": "git",
"url": "git+https://github.com/FabricLabs/fabric.git"
},
"keywords": [
"fabric",
"p2p",
"application",
"architecture",
"serverless",
"web"
],
"author": "Fabric Labs",
"license": "MIT",
"bugs": {
"url": "https://github.com/FabricLabs/fabric/issues"
},
"homepage": "https://github.com/FabricLabs/fabric#readme",
"dependencies": {
"@webassemblyjs/ast": "^1.8.5",
"append-only-torrent": "^1.0.0",
"arbitrary": "^1.4.10",
"base58check": "^2.0.0",
"bcoin": "bcoin-org/bcoin#master",
"clightningjs": "^0.2.2",
"commander": "^6.1.0",
"content-type": "^1.0.4",
"dotparser": "^0.3.0",
"elliptic": "^6.5.4",
"ethereumjs-vm": "^4.1.0",
"fast-json-patch": "^2.0.7",
"fd-chunk-store": "^2.0.0",
"glob-run": "^0.1.6",
"javascript-state-machine": "^3.1.0",
"jayson": "^3.4.4",
"js-beautify": "^1.10.0",
"json-pointer": "^0.6.0",
"level": "^5.0.1",
"lodash.merge": "^4.6.2",
"merkletreejs": "^0.1.6",
"minsc": "^0.2.0",
"mkdirp": "^1.0.4",
"nat-upnp": "^1.1.1",
"node-fetch": "^2.6.0",
"node-torrent": "^0.2.2",
"opentimestamps": "^0.4.9",
"p-event": "^4.2.0",
"path-match": "^1.2.4",
"pluralize": "^8.0.0",
"rimraf": "^2.6.2",
"simple-aes": "^0.1.1",
"struct": "^0.0.12",
"torrent-stream": "^1.2.0",
"ts-morph": "^10.0.2",
"ttfm": "chrisinajar/ttfm"
},
"devDependencies": {
"@fabric/http": "FabricLabs/web#develop",
"blessed": "^0.1.81",
"body-parser": "^1.18.2",
"chai": "^4.0.2",
"codecov": "^3.6.1",
"compiled-jade-render": "^1.0.2",
"cross-env": "^5.1.3",
"debug-trace": "^2.2.1",
"docco": "^0.7.0",
"eccrypto": "^1.0.3",
"eslint": "^5.16.0",
"express": "^4.16.2",
"gitbook-cli": "^2.3.2",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-exercises": "^3.0.0",
"gitbook-plugin-page-toc": "^1.1.0",
"gitbook-plugin-scripts": "^1.0.2",
"http-server": "^0.12.3",
"jsdoc": "FabricLabs/jsdoc#fabric",
"jsdoc-to-markdown": "^4.0.1",
"json-to-dot": "^1.1.0",
"localforage": "^1.7.2",
"mocha": "^5.2.0",
"nyc": "^15.0.0",
"page": "^1.7.1",
"raw-loader": "^0.5.1",
"semistandard": "^14.2.0",
"semistandard-loader": "^0.0.4",
"webpack": "4",
"webpack-cli": "3.3.2"
},
"nyc": {
"exclude": [
"tests",
"data"
],
"report-dir": "./reports/coverage",
"temp-dir": "./reports/nyc"
}
}