From 89a2a2286a2355b2ee913dcc9de89fd5f9e7980c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Se=CC=81rgio=20Ramos?= Date: Fri, 21 Oct 2016 14:46:20 +0100 Subject: [PATCH] build deps as devDependencies --- frontend/package.json | 41 ++++++++++++++++++++++------------------- frontend/yarn.lock | 16 ++-------------- 2 files changed, 24 insertions(+), 33 deletions(-) diff --git a/frontend/package.json b/frontend/package.json index 35f0b3e6..91db65cf 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,6 +3,11 @@ "version": "1.0.0", "private": true, "license": "private", + "main": "src/index.js", + "directories": { + "test": "test", + "lib": "src" + }, "scripts": { "start": "webpack-dev-server --open --config webpack/index.js", "lint": "eslint .", @@ -12,23 +17,9 @@ "build-locales": "NODE_ENV=test babel-node scripts/build-locales" }, "dependencies": { - "babel-cli": "^6.16.0", - "babel-core": "^6.17.0", - "babel-loader": "^6.2.5", - "babel-plugin-add-module-exports": "^0.2.1", - "babel-plugin-syntax-async-functions": "^6.13.0", - "babel-plugin-transform-es2015-modules-commonjs": "^6.16.0", - "babel-plugin-transform-object-rest-spread": "^6.16.0", - "babel-preset-react": "^6.16.0", "constant-case": "^2.0.0", - "css-loader": "^0.25.0", - "fast-async": "^6.1.1", - "json-loader": "^0.5.4", - "postcss-loader": "^1.0.0", - "ncp": "^2.0.0", "querystring": "^0.2.0", "react": "^15.3.2", - "react-css-modules": "^3.7.10", "react-dom": "^15.3.2", "react-hot-loader": "^3.0.0-beta.6", "react-intl": "^2.1.5", @@ -41,18 +32,23 @@ "redux-batched-actions": "^0.1.3", "redux-logger": "^2.7.0", "redux-promise-middleware": "^4.1.0", - "redux-thunk": "^2.1.0", - "style-loader": "^0.13.1", - "thenify": "^3.2.1", - "webpack-shell-plugin": "^0.4.3", - "webpack": "^2.1.0-beta.25" + "redux-thunk": "^2.1.0" }, "devDependencies": { "ava": "^0.16.0", + "babel-cli": "^6.16.0", + "babel-core": "^6.17.0", "babel-eslint": "^7.0.0", + "babel-loader": "^6.2.5", + "babel-plugin-add-module-exports": "^0.2.1", + "babel-plugin-syntax-async-functions": "^6.13.0", "babel-plugin-transform-async-to-generator": "^6.16.0", + "babel-plugin-transform-es2015-modules-commonjs": "^6.16.0", + "babel-plugin-transform-object-rest-spread": "^6.16.0", "babel-plugin-transform-runtime": "^6.15.0", + "babel-preset-react": "^6.16.0", "babel-register": "^6.16.3", + "css-loader": "^0.25.0", "enzyme": "^2.5.1", "eslint": "^3.8.1", "eslint-config-semistandard": "^7.0.0", @@ -61,9 +57,16 @@ "eslint-plugin-promise": "^3.3.0", "eslint-plugin-react": "^6.4.1", "eslint-plugin-standard": "^2.0.1", + "fast-async": "^6.1.1", + "json-loader": "^0.5.4", + "ncp": "^2.0.0", "nyc": "^8.3.1", + "postcss-loader": "^1.0.0", "pre-commit": "^1.1.3", "react-addons-test-utils": "^15.3.2", + "style-loader": "^0.13.1", + "thenify": "^3.2.1", + "webpack": "^2.1.0-beta.25", "webpack-dev-server": "^1.16.2", "webpack-shell-plugin": "^0.4.3" }, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 72d282b1..c9233ad0 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -2725,7 +2725,7 @@ hoek@2.x.x: version "2.16.3" resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" -hoist-non-react-statics@^1.0.3, hoist-non-react-statics@^1.0.5: +hoist-non-react-statics@^1.0.3: version "1.2.0" resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-1.2.0.tgz#aa448cf0986d55cc40773b17174b7dd066cb7cfb" @@ -3857,10 +3857,6 @@ object-keys@^1.0.10, object-keys@^1.0.8: version "1.0.11" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" -object-unfreeze@^1.0.2: - version "1.1.0" - resolved "https://registry.yarnpkg.com/object-unfreeze/-/object-unfreeze-1.1.0.tgz#69628bea1f3c9d29f4eb0ba63b38002d70ea3ce9" - object.assign@^4.0.4: version "4.0.4" resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.0.4.tgz#b1c9cc044ef1b9fe63606fc141abbb32e14730cc" @@ -4616,14 +4612,6 @@ react-broadcast@^0.1.1: dependencies: invariant "^2.2.1" -react-css-modules@^3.7.10: - version "3.7.10" - resolved "https://registry.yarnpkg.com/react-css-modules/-/react-css-modules-3.7.10.tgz#300da561e550eeec5ebc0bc8c7d51d77d88ae2d7" - dependencies: - hoist-non-react-statics "^1.0.5" - lodash "^4.6.1" - object-unfreeze "^1.0.2" - react-deep-force-update@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-2.0.1.tgz#4f7f6c12c3e7de42f345992a3c518236fa1ecad3" @@ -5310,7 +5298,7 @@ strip-json-comments@~1.0.1, strip-json-comments@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-1.0.4.tgz#1e15fbcac97d3ee99bf2d73b4c656b082bbafb91" -style-loader@^0.13.1: +style-loader: version "0.13.1" resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.13.1.tgz#468280efbc0473023cd3a6cd56e33b5a1d7fc3a9" dependencies: