aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'package.json')
-rw-r--r--package.json37
1 files changed, 20 insertions, 17 deletions
diff --git a/package.json b/package.json
index a9d053f6e..32c0d31f6 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
1{ 1{
2 "name": "peertube", 2 "name": "peertube",
3 "description": "Prototype of a decentralized video streaming platform using P2P (bittorent) directly in the web browser with webtorrent.", 3 "description": "Prototype of a decentralized video streaming platform using P2P (bittorent) directly in the web browser with WebTorrent and Angular 2.",
4 "version": "0.0.1", 4 "version": "0.0.1",
5 "private": true, 5 "private": true,
6 "licence": "GPLv3", 6 "licence": "GPLv3",
@@ -17,24 +17,26 @@
17 "url": "git://github.com/Chocobozzz/PeerTube.git" 17 "url": "git://github.com/Chocobozzz/PeerTube.git"
18 }, 18 },
19 "scripts": { 19 "scripts": {
20 "build": "concurrently \"npm run client:sass\" \"npm run client:tsc\"", 20 "build": "npm run build:client",
21 "client:clean": "concurrently \"npm run client:tsc:clean\" \"npm run client:sass:clean\"", 21 "build:client": "SCRIPTY_PARALLEL=true scripty",
22 "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", 22 "build:client:sass": "scripty",
23 "client:sass:index:watch": "cd client && node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css client/angular/**/ client/angular/**/**", 23 "build:client:tsc": "scripty",
24 "client:sass:index:clean": "cd client && rm -f stylesheets/index.css", 24 "clean": "SCRIPTY_PARALLEL=true scripty",
25 "client:sass:angular": "cd client && node-sass angular/ --output angular/", 25 "clean:client": "SCRIPTY_PARALLEL=true scripty",
26 "client:sass:angular:watch": "cd client && node-sass -w angular/ --output angular/", 26 "clean:client:sass": "scripty",
27 "client:sass:angular:clean": "cd client && rm -f angular/**/*.css", 27 "clean:client:tsc": "scripty",
28 "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:angular\"", 28 "clean:server:test": "scripty",
29 "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:angular:watch\"", 29 "watch:client": "SCRIPTY_PARALLEL=true scripty",
30 "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:angular:clean\"", 30 "watch:client:sass": "scripty",
31 "client:tsc": "cd client && npm run tsc", 31 "watch:client:tsc": "scripty",
32 "client:tsc:watch": "cd client && npm run tsc:w", 32 "danger:clean:server": "scripty",
33 "client:tsc:clean": "cd client && find angular -regextype posix-egrep -regex \".*\\.(js|map)$\" -exec rm -f {} \\;", 33 "danger:clean:modules": "scripty",
34 "dev": "npm run build && NODE_ENV=test concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"", 34 "play": "scripty",
35 "dev": "scripty",
35 "livereload": "livereload ./client", 36 "livereload": "livereload ./client",
36 "start": "node server", 37 "start": "node server",
37 "test": "cd client && npm test && cd .. && standard && mocha server/tests", 38 "test": "scripty",
39 "help": "scripty",
38 "postinstall": "cd client && npm install" 40 "postinstall": "cd client && npm install"
39 }, 41 },
40 "dependencies": { 42 "dependencies": {
@@ -73,6 +75,7 @@
73 "mocha": "^2.3.3", 75 "mocha": "^2.3.3",
74 "node-livereload": "^0.6.0", 76 "node-livereload": "^0.6.0",
75 "node-sass": "^3.4.2", 77 "node-sass": "^3.4.2",
78 "scripty": "^1.5.0",
76 "standard": "^6.0.1", 79 "standard": "^6.0.1",
77 "supertest": "^1.1.0" 80 "supertest": "^1.1.0"
78 }, 81 },