]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - package.json
Angular application :first draft
[github/Chocobozzz/PeerTube.git] / package.json
index aabd5616f5f7686d48758dae703e43c495e9d4b9..36730aaa075bd06b25e6a6f1ce4be869416fb54c 100644 (file)
   },
   "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": "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:components": "cd client && node-sass components/ --output components/",
-    "client:sass:components:watch": "cd client && node-sass -w components/ --output components/",
-    "client:sass:components:clean": "cd client && rm -f components/**/*.css",
-    "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:components\"",
-    "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:components:watch\"",
-    "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:components:clean\"",
+
+    "client:sass:angular": "cd client && node-sass angular/ --output angular/",
+    "client:sass:angular:watch": "cd client && node-sass -w angular/ --output angular/",
+    "client:sass:angular:clean": "cd client && rm -f angular/**/*.css",
+
+    "client:sass": "concurrently \"npm run client:sass:index\" \"npm run client:sass:angular\"",
+    "client:sass:watch": "concurrently \"npm run client:sass:index:watch\" \"npm run client:sass:angular:watch\"",
+    "client:sass:clean": "concurrently \"npm run client:sass:index:clean\" \"npm run client:sass:angular:clean\"",
+
     "client:tsc": "cd client && npm run tsc",
     "client:tsc:watch": "cd client && npm run tsc:w",
-    "client:tsc:clean": "cd client && rm -f components/**/*.js components/**/*.js.map",
+    "client:tsc:clean": "cd client && find angular -regextype posix-egrep -regex \".*\\.(js|map)$\" -exec rm -f {} \\;",
+
     "dev": "npm run build && concurrently \"npm run livereload\" \"npm run client:tsc:watch\" \"npm run client:sass:watch\" \"npm start\"",
     "livereload": "livereload ./client",
     "start": "node server",
@@ -47,7 +53,6 @@
     "electron-spawn": "https://github.com/Chocobozzz/electron-spawn",
     "express": "^4.12.4",
     "express-validator": "^2.11.0",
-    "jquery": "^2.1.4",
     "lodash-node": "^3.10.2",
     "mkdirp": "^0.5.1",
     "mongoose": "^4.0.5",