diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 13:50:19 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-14 13:50:19 +0100 |
commit | dc8bc31be517a53e8fbe7100cfe45cd73f596de0 (patch) | |
tree | c0b0d6641dd352dafff93b8fd33ddb262b59aa47 /package.json | |
parent | bd324a669218f9ed302f7f54b36ee535d25c9733 (diff) | |
download | PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.gz PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.tar.zst PeerTube-dc8bc31be517a53e8fbe7100cfe45cd73f596de0.zip |
Angular application :first draft
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/package.json b/package.json index aabd5616f..36730aaa0 100644 --- a/package.json +++ b/package.json | |||
@@ -18,19 +18,25 @@ | |||
18 | }, | 18 | }, |
19 | "scripts": { | 19 | "scripts": { |
20 | "build": "concurrently \"npm run client:sass\" \"npm run client:tsc\"", | 20 | "build": "concurrently \"npm run client:sass\" \"npm run client:tsc\"", |
21 | |||
21 | "client:clean": "concurrently \"npm run client:tsc:clean\" \"npm run client:sass:clean\"", | 22 | "client:clean": "concurrently \"npm run client:tsc:clean\" \"npm run client:sass:clean\"", |
23 | |||
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", | 24 | "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", |
23 | "client:sass:index:watch": "cd client && node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css", | 25 | "client:sass:index:watch": "cd client && node-sass -w --include-path node_modules/bootstrap-sass/assets/stylesheets/ stylesheets/application.scss stylesheets/index.css", |
24 | "client:sass:index:clean": "cd client && rm -f stylesheets/index.css", | 26 | "client:sass:index:clean": "cd client && rm -f stylesheets/index.css", |
25 | "client:sass:components": "cd client && node-sass components/ --output components/", | 27 | |
26 | "client:sass:components:watch": "cd client && node-sass -w components/ --output components/", | 28 | "client:sass:angular": "cd client && node-sass angular/ --output angular/", |
27 | "client:sass:components:clean": "cd client && rm -f components/**/*.css", | 29 | "client:sass:angular:watch": "cd client && node-sass -w angular/ --output angular/", |
28 | "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:components\"", | 30 | "client:sass:angular:clean": "cd client && rm -f angular/**/*.css", |
29 | "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:components:watch\"", | 31 | |
30 | "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:components:clean\"", | 32 | "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:angular\"", |
33 | "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:angular:watch\"", | ||
34 | "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:angular:clean\"", | ||
35 | |||
31 | "client:tsc": "cd client && npm run tsc", | 36 | "client:tsc": "cd client && npm run tsc", |
32 | "client:tsc:watch": "cd client && npm run tsc:w", | 37 | "client:tsc:watch": "cd client && npm run tsc:w", |
33 | "client:tsc:clean": "cd client && rm -f components/**/*.js components/**/*.js.map", | 38 | "client:tsc:clean": "cd client && find angular -regextype posix-egrep -regex \".*\\.(js|map)$\" -exec rm -f {} \\;", |
39 | |||
34 | "dev": "npm run build && concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"", | 40 | "dev": "npm run build && concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"", |
35 | "livereload": "livereload ./client", | 41 | "livereload": "livereload ./client", |
36 | "start": "node server", | 42 | "start": "node server", |
@@ -47,7 +53,6 @@ | |||
47 | "electron-spawn": "https://github.com/Chocobozzz/electron-spawn", | 53 | "electron-spawn": "https://github.com/Chocobozzz/electron-spawn", |
48 | "express": "^4.12.4", | 54 | "express": "^4.12.4", |
49 | "express-validator": "^2.11.0", | 55 | "express-validator": "^2.11.0", |
50 | "jquery": "^2.1.4", | ||
51 | "lodash-node": "^3.10.2", | 56 | "lodash-node": "^3.10.2", |
52 | "mkdirp": "^0.5.1", | 57 | "mkdirp": "^0.5.1", |
53 | "mongoose": "^4.0.5", | 58 | "mongoose": "^4.0.5", |