tsepen
@tsepen
Frontend developer

Какие из зависимостей можно перенести в devdependencies?

React. Нужно перенести из dependencies зависимости в devdependencies (package.json). Подскажите какие перенести а какие оставить?

"dependencies": {
    "chalk": "1.1.3",
    "classnames": "^2.2.6",
    "dotenv": "4.0.0",
    "dotenv-expand": "4.2.0",
    "file-loader": "1.1.5",
    "fs-extra": "3.0.1",
    "history": "^4.7.2",
    "jest": "20.0.4",
    "npm": "^6.4.1",
    "object-assign": "4.1.1",
    "promise": "8.0.1",
    "raf": "3.4.0",
    "react": "^16.4.2",
    "react-dom": "^16.4.2",
    "react-helmet": "^5.2.0",
    "react-redux": "^5.0.7",
    "react-router": "^4.3.1",
    "react-router-dom": "^4.3.1",
    "react-router-redux": "^4.0.8",
    "redux": "^4.0.0",
    "redux-actions": "^2.6.1",
    "redux-thunk": "^2.3.0"
  },


"devDependencies": {
    "autoprefixer": "7.1.6",
    "babel-eslint": "^7.2.3",
    "babel-loader": "^7.1.2",
    "babel-core": "6.26.0",
    "babel-jest": "20.0.3",
    "babel-preset-react-app": "^3.1.2",
    "babel-runtime": "6.26.0",
    "css-loader": "0.28.7",
    "case-sensitive-paths-webpack-plugin": "2.1.1",
    "extract-text-webpack-plugin": "3.0.2",
    "eslint": "^4.10.0",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-loader": "^1.9.0",
    "eslint-plugin-react": "^7.4.0",
    "redux-logger": "^3.0.6",
    "webpack": "3.8.1",
    "webpack-dev-server": "2.11.3",
    "webpack-manifest-plugin": "1.3.2",
    "react-dev-utils": "^5.0.2",
    "eslint-config-react-app": "^2.1.0",
    "eslint-plugin-flowtype": "2.39.1",
    "eslint-plugin-import": "2.8.0",
    "eslint-plugin-jsx-a11y": "5.1.1",
    "postcss-flexbugs-fixes": "3.2.0",
    "postcss-loader": "2.0.8",
    "resolve": "1.6.0",
    "style-loader": "0.19.0",
    "sw-precache-webpack-plugin": "0.11.4",
    "url-loader": "0.6.2",
    "html-webpack-plugin": "2.29.0",
    "whatwg-fetch": "2.0.3"
  }
  • Вопрос задан
  • 600 просмотров
Пригласить эксперта
Ответы на вопрос 1
@lnked
dotenv
dotenv-expand
file-loader
fs-extra
jest
npm
chalk


а whatwg-fetch я думаю лучше перенести в dependencies
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы