clientjs/packages/annotation-dashboard-explorunivers/package.json
changeset 8 24a3d661309f
parent 0 5f4fcbc80b37
child 11 37ecf0b9c174
--- a/clientjs/packages/annotation-dashboard-explorunivers/package.json	Mon Sep 17 17:38:24 2018 +0200
+++ b/clientjs/packages/annotation-dashboard-explorunivers/package.json	Mon Sep 17 18:32:48 2018 +0200
@@ -3,7 +3,7 @@
   "version": "0.1.0",
   "private": true,
   "dependencies": {
-    "dashboard-components": "^1.0.0",
+    "dashboard-components": "^0.1.0",
     "jquery": "^3.3.1",
     "lodash": "^4.17.10",
     "popper": "^1.0.1",
@@ -28,7 +28,9 @@
     "build-js": "react-scripts build",
     "build": "npm-run-all build-css build-js",
     "build-css": "node-sass-chokidar --include-path ./node_modules src/ -o src/",
-    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./node_modules src/ -o src/ --watch --recursive"
+    "watch-css": "npm run build-css && node-sass-chokidar --include-path ./node_modules src/ -o src/ --watch --recursive",
+    "set-version": "bash -c 'sed -i \"\" -e \"s/\\([:space:]*\\\"version\\\"[[:space:]]*\\:[[:space:]]*\\\"\\)[\\.0-9]*\\(\\\".*\\)/\\1${1}\\2/\" package.json' 0",
+    "delete-components-dep": "bash -c 'sed -i \"\" -e \"/[:space:]*\\\"dashboard-components\\\"/d\" package.json' 0"
   },
   "devDependencies": {
     "ajv": "^6.5.3",