]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - package.json
Better tests for a better world
[github/Chocobozzz/PeerTube.git] / package.json
index cebd5b506f1359ef4f8318b122b63fc10e50dcb3..85b383a69c6409b5c1ee404434ea4858f31b6d65 100644 (file)
@@ -1,6 +1,6 @@
 {
   "name": "peertube",
-  "description": "Prototype of a decentralized video streaming platform using P2P (bittorent) directly in the web browser with webtorrent.",
+  "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",
     "url": "git://github.com/Chocobozzz/PeerTube.git"
   },
   "scripts": {
-    "build": "concurrently \"npm run client:sass\" \"npm run client:tsc\"",
-    "client:clean": "concurrently \"npm run client:tsc:clean\" \"npm run client:sass:clean\"",
-    "client:sass:index": "npm run client:sass:index:clean && cd client && node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css",
-    "client:sass:index:watch": "npm run client:sass:index:clean && cd client && node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css",
-    "client:sass:index:clean": "cd client && rm -f stylesheets/index.css",
-    "client:sass:app": "cd client && node-sass app/ --output app/",
-    "client:sass:app:watch": "cd client && node-sass -w app/ --output app/",
-    "client:sass:app:clean": "cd client && rm -f app/*.css",
-    "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:app\"",
-    "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:app:watch\"",
-    "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:app:clean\"",
-    "client:tsc": "cd client && npm run tsc",
-    "client:tsc:watch": "cd client && npm run tsc:w",
-    "client:tsc:clean": "cd client && rm -f app/*.js app/*.js.map",
-    "dev": "concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"",
+    "build": "npm run build:client",
+    "build:client": "SCRIPTY_PARALLEL=true scripty",
+    "build:client:sass": "scripty",
+    "build:client:tsc": "scripty",
+    "clean": "npm run clean:client",
+    "clean:client": "SCRIPTY_PARALLEL=true scripty",
+    "clean:client:sass": "scripty",
+    "clean:client:tsc": "scripty",
+    "clean:server:test": "scripty",
+    "watch:client": "SCRIPTY_PARALLEL=true scripty",
+    "watch:client:sass": "scripty",
+    "watch:client:tsc": "scripty",
+    "danger:clean:server": "scripty",
+    "danger:clean:modules": "scripty",
+    "play": "scripty",
+    "dev": "scripty",
     "livereload": "livereload ./client",
     "start": "node server",
-    "test": "standard && mocha server/tests"
+    "test": "scripty",
+    "help": "scripty",
+    "postinstall": "cd client && npm install"
   },
   "dependencies": {
     "async": "^1.2.1",
-    "bittorrent-tracker": "^7.0.0",
+    "bittorrent-tracker": "^8.0.0",
     "body-parser": "^1.12.4",
+    "concurrently": "^2.0.0",
     "config": "^1.14.0",
     "connect-livereload": "^0.5.3",
     "debug": "^2.2.0",
     "dezalgo": "^1.0.3",
     "electron-spawn": "https://github.com/Chocobozzz/electron-spawn",
     "express": "^4.12.4",
+    "express-oauth-server": "https://github.com/Chocobozzz/express-oauth-server",
     "express-validator": "^2.11.0",
-    "jquery": "^2.1.4",
-    "lodash-node": "^3.10.2",
+    "js-yaml": "^3.5.4",
+    "lodash": "^4.11.1",
     "mkdirp": "^0.5.1",
     "mongoose": "^4.0.5",
     "morgan": "^1.5.3",
     "multer": "^1.1.0",
-    "node-ipc": "^6.0.0",
-    "openssl-wrapper": "https://github.com/Chocobozzz/node-openssl-wrapper",
+    "node-ipc": "^7.0.0",
+    "openssl-wrapper": "^0.2.3",
+    "password-generator": "^2.0.2",
     "request": "^2.57.0",
     "request-replay": "^1.0.2",
     "segfault-handler": "^1.0.0",
     "ursa": "^0.9.1",
     "validator": "^5.0.0",
-    "webtorrent": "^0.78.1",
+    "webtorrent": "^0.89.0",
     "winston": "^2.1.1",
     "ws": "^1.0.1"
   },
@@ -69,6 +75,7 @@
     "mocha": "^2.3.3",
     "node-livereload": "^0.6.0",
     "node-sass": "^3.4.2",
+    "scripty": "^1.5.0",
     "standard": "^6.0.1",
     "supertest": "^1.1.0"
   },