From `main-loop`: > main-loop is an optimization module for a virtual DOM system. Normally you would re-create the virtual tree every time your state changes. This is not optimum, with main-loop you will only update your virtual tree at most once per request animation frame. > main-loop basically gives you batching of your virtual DOM changes, which means if you change your model multiple times it will be rendered once asynchronously on the next request animation frame.
52 lines
1.4 KiB
JSON
52 lines
1.4 KiB
JSON
{
|
|
"name": "webtorrent-app",
|
|
"description": "WebTorrent, the streaming torrent client. For OS X, Windows, and Linux.",
|
|
"version": "0.0.0",
|
|
"author": {
|
|
"name": "Feross Aboukhadijeh",
|
|
"email": "feross@feross.org",
|
|
"url": "http://feross.org"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/feross/webtorrent-app/issues"
|
|
},
|
|
"dependencies": {
|
|
"airplay-js": "guerrerocarlos/node-airplay-js",
|
|
"chromecasts": "^1.8.0",
|
|
"create-torrent": "^3.22.1",
|
|
"debug": "^2.2.0",
|
|
"drag-drop": "^2.3.1",
|
|
"hyperx": "^2.0.0",
|
|
"main-loop": "^3.2.0",
|
|
"network-address": "^1.1.0",
|
|
"pretty-bytes": "^3.0.0",
|
|
"throttleit": "^1.0.0",
|
|
"upload-element": "^1.0.1",
|
|
"virtual-dom": "^2.1.1",
|
|
"webtorrent": "^0.82.1"
|
|
},
|
|
"devDependencies": {
|
|
"electron-packager": "^5.0.0",
|
|
"electron-prebuilt": "0.36.10",
|
|
"standard": "^6.0.5"
|
|
},
|
|
"homepage": "https://webtorrent.io",
|
|
"keywords": [
|
|
"electron",
|
|
"electron-app"
|
|
],
|
|
"license": "MIT",
|
|
"main": "index.js",
|
|
"productName": "WebTorrent",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/feross/webtorrent-app.git"
|
|
},
|
|
"scripts": {
|
|
"build": "electron-packager . $npm_package_productName --overwrite --out=dist --ignore='^/dist$' --prune --asar --all --version=$npm_package_devDependencies_electron_prebuilt",
|
|
"debug": "DEBUG=* electron .",
|
|
"start": "electron .",
|
|
"test": "standard"
|
|
}
|
|
}
|