{
- "name": "petube",
- "description": "none",
+ "name": "peertube",
+ "description": "Prototype of a decentralized video streaming platform using P2P (bittorent) directly in the web browser with WebTorrent and Angular 2.",
"version": "0.0.1",
"private": true,
+ "licence": "GPLv3",
"engines": {
- "node": "0.12.x",
- "npm": "1.3.x"
+ "node": ">=4.x"
+ },
+ "author": {
+ "name": "Florian Bigard",
+ "email": "florian.bigard@gmail.com",
+ "url": "http://github.com/Chocobozzz"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git://github.com/Chocobozzz/PeerTube.git"
},
"scripts": {
- "start": "grunt dev",
- "test": "grunt build && standard && mocha test/api"
+ "build": "npm run build:client:prod",
+ "build:client:dev": "scripty",
+ "build:client:prod": "scripty",
+ "clean": "npm run clean:client",
+ "clean:client": "scripty",
+ "clean:server:test": "scripty",
+ "watch:client": "SCRIPTY_PARALLEL=true scripty",
+ "danger:clean:dev": "scripty",
+ "danger:clean:prod": "scripty",
+ "danger:clean:modules": "scripty",
+ "reset-password": "scripty",
+ "play": "scripty",
+ "dev": "scripty",
+ "start": "node server",
+ "check": "scripty",
+ "upgrade": "scripty",
+ "update-host": "scripty",
+ "test": "scripty",
+ "help": "scripty",
+ "postinstall": "cd client && npm install"
},
"dependencies": {
- "async": "^1.2.1",
- "bittorrent-tracker": "^4.4.5",
- "blueimp-file-upload": "^9.10.1",
+ "async": "^2.0.0",
+ "bcrypt": "^1.0.2",
+ "bittorrent-tracker": "^8.0.0",
"body-parser": "^1.12.4",
- "bootstrap": "^3.3.5",
- "browserify": "^10.2.4",
- "compression": "^1.5.0",
+ "concurrently": "^3.1.0",
"config": "^1.14.0",
- "connect-livereload": "^0.5.3",
- "cookie-parser": "^1.3.5",
+ "cors": "^2.8.1",
+ "create-torrent": "^3.24.5",
"debug": "^2.2.0",
"dezalgo": "^1.0.3",
- "electron-spawn": "https://github.com/Chocobozzz/electron-spawn",
"express": "^4.12.4",
- "express-validator": "^2.11.0",
- "grunt": "^0.4.5",
- "grunt-browserify": "^3.8.0",
- "grunt-contrib-clean": "^0.6.0",
- "grunt-contrib-concat": "^0.5.1",
- "grunt-contrib-copy": "0.8.0",
- "grunt-contrib-csslint": "^0.4.0",
- "grunt-contrib-cssmin": "^0.12.3",
- "grunt-contrib-htmlmin": "^0.4.0",
- "grunt-contrib-imagemin": "^0.9.4",
- "grunt-contrib-jade": "^0.14.1",
- "grunt-contrib-jshint": "^0.11.2",
- "grunt-contrib-uglify": "^0.9.1",
- "grunt-contrib-watch": "^0.6.1",
- "grunt-express-server": "^0.5.1",
- "grunt-filerev": "^2.3.1",
- "grunt-newer": "^1.1.1",
- "grunt-usemin": "^3.0.0",
- "jade": "^1.10.0",
- "jquery": "^2.1.4",
- "js-yaml": "^3.3.1",
+ "express-oauth-server": "https://github.com/Chocobozzz/express-oauth-server",
+ "express-validator": "^3.1.0",
+ "fluent-ffmpeg": "^2.1.0",
+ "js-yaml": "^3.5.4",
+ "lodash": "^4.11.1",
+ "magnet-uri": "^5.1.4",
"mkdirp": "^0.5.1",
- "mongoose": "^4.0.5",
"morgan": "^1.5.3",
- "multer": "^0.1.8",
- "node-ipc": "^3.0.0",
- "openssl-wrapper": "https://github.com/Chocobozzz/node-openssl-wrapper",
+ "multer": "^1.1.0",
+ "openssl-wrapper": "^0.3.4",
+ "parse-torrent": "^5.8.0",
+ "password-generator": "^2.0.2",
+ "pg": "^6.1.0",
+ "pg-hstore": "^2.3.2",
"request": "^2.57.0",
- "request-replay": "^0.3.0",
- "segfault-handler": "^0.2.4",
- "time-grunt": "^1.2.1",
- "ursa": "^0.8.5",
- "webtorrent": "*",
- "winston": "^1.0.1",
- "ws": "^0.7.2"
+ "request-replay": "^1.0.2",
+ "rimraf": "^2.5.4",
+ "safe-buffer": "^5.0.1",
+ "scripty": "^1.5.0",
+ "sequelize": "^3.27.0",
+ "winston": "^2.1.1",
+ "ws": "^2.0.0"
},
"devDependencies": {
"chai": "^3.3.0",
- "mocha": "^2.3.3",
- "supertest": "^1.1.0"
+ "commander": "^2.9.0",
+ "mocha": "^3.0.1",
+ "standard": "^8.0.0",
+ "supertest": "^3.0.0",
+ "webtorrent": "^0.98.0"
},
"standard": {
+ "ignore": [
+ "client/"
+ ],
"globals": [
"alert",
"confirm",
"it",
"after",
+ "afterEach",
"before",
- "describe"
+ "beforeEach",
+ "describe",
+ "include"
]
+ },
+ "scripty": {
+ "silent": true
}
}