diff options
author | varac <varacanero@zeromail.org> | 2017-06-01 13:10:15 +0200 |
---|---|---|
committer | Tayane Fernandes <tayane.rmf@gmail.com> | 2017-06-02 11:15:33 -0300 |
commit | 9c1122984df8b0932901a33cde7d9eb4a5337241 (patch) | |
tree | 1b948c79a16b9f22ef52c55ed6d947a689e056bc | |
parent | 72af667b0b9d2383ed42688f4cf11075a85c81e2 (diff) |
Split node modules into production and development groups
The rationale behind this is that we now a too complex dependency graphs
of node modules (~1000 !).
This breaks at least under certain circumstances like installing the
modules on a shared folder inside vagrant.
This should fix #1076.
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | web-ui/package.json | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -22,6 +22,7 @@ install_py: service/requirements.txt service/test_requirements.txt requirements_js: @cd web-ui;\ + npm install --production;\ npm install;\ node_modules/.bin/bower install diff --git a/web-ui/package.json b/web-ui/package.json index 2ef337a2..de165008 100644 --- a/web-ui/package.json +++ b/web-ui/package.json @@ -36,7 +36,9 @@ "i18next-browser-languagedetector": "1.0.1", "i18next-xhr-backend": "1.2.1", "iframe-resizer": "3.5.7", - "imagemin": "5.2.1", + "imagemin": "5.2.1" + }, + "dependencies": { "imagemin-pngquant": "5.0.0", "imagemin-svgo": "5.2.0", "isomorphic-fetch": "2.2.1", |