Merge pull request #1079 from pixelated/split_node_modules
authorTayane Fernandes <tayane.rmf@gmail.com>
Fri, 2 Jun 2017 14:33:05 +0000 (11:33 -0300)
committerGitHub <noreply@github.com>
Fri, 2 Jun 2017 14:33:05 +0000 (11:33 -0300)
Split node modules

Makefile
web-ui/package.json

index b597c3f..899b6c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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
 
index 2ef337a..e1f971d 100644 (file)
@@ -14,7 +14,6 @@
     "babel-preset-es2015": "6.18.0",
     "babel-preset-react": "6.22.0",
     "babel-preset-stage-0": "6.22.0",
-    "bower": "1.7.9",
     "copy-webpack-plugin": "4.0.1",
     "css-loader": "0.26.1",
     "dompurify": "0.8.4",
     "expect": "1.20.2",
     "fetch-mock": "5.9.4",
     "file-loader": "0.10.0",
-    "font-awesome": "4.7.0",
     "handlebars": "4.0.5",
     "he": "1.1.0",
     "html-minifier": "2.1.6",
-    "i18next": "6.1.2",
-    "i18next-browser-languagedetector": "1.0.1",
-    "i18next-xhr-backend": "1.2.1",
-    "iframe-resizer": "3.5.7",
     "imagemin": "5.2.1",
-    "imagemin-pngquant": "5.0.0",
-    "imagemin-svgo": "5.2.0",
-    "isomorphic-fetch": "2.2.1",
     "jasmine-flight": "4.0.0",
     "jasmine-jquery": "2.1.1",
-    "jquery": "3.1.1",
-    "jquery-file-upload": "4.0.5",
-    "jquery-ui": "1.12.1",
-    "jsdom": "9.10.0",
-    "jshint": "2.9.2",
-    "json-loader": "0.5.4",
     "karma": "0.13.19",
     "karma-chrome-launcher": "0.2.2",
     "karma-coverage": "0.2.7",
     "karma-junit-reporter": "0.2.2",
     "karma-phantomjs-launcher": "1.0.1",
     "karma-requirejs": "1.0.0",
-    "material-ui": "0.17.0",
-    "minify": "2.0.13",
+    "jshint": "2.9.2",
     "mocha": "3.2.0",
     "mocha-webpack": "0.7.0",
-    "modernizr": "3.3.1",
+    "watch": "0.19.1",
+    "webpack": "1.14.0",
+    "webpack-node-externals": "1.5.4",
+    "minify": "2.0.13",
     "node-sass": "4.5.0",
     "nyc": "10.1.2",
+    "jsdom": "9.10.0"
+  },
+  "dependencies": {
+    "bower": "1.7.9",
+    "font-awesome": "4.7.0",
+    "i18next": "6.1.2",
+    "i18next-browser-languagedetector": "1.0.1",
+    "i18next-xhr-backend": "1.2.1",
+    "iframe-resizer": "3.5.7",
+    "imagemin-pngquant": "5.0.0",
+    "imagemin-svgo": "5.2.0",
+    "isomorphic-fetch": "2.2.1",
+    "jquery": "3.1.1",
+    "jquery-file-upload": "4.0.5",
+    "jquery-ui": "1.12.1",
+    "json-loader": "0.5.4",
+    "material-ui": "0.17.0",
+    "modernizr": "3.3.1",
     "postcss-loader": "1.2.2",
     "quoted-printable": "1.0.1",
     "react": "15.4.2",
     "typeahead.js": "0.11.1",
     "url-loader": "0.5.7",
     "utf8": "2.1.2",
-    "validator": "7.0.0",
-    "watch": "0.19.1",
-    "webpack": "1.14.0",
-    "webpack-node-externals": "1.5.4"
+    "validator": "7.0.0"
   },
   "scripts": {
     "test": "npm run lint --silent && npm run build:statics --silent && npm run test:unit && npm run test:integration",