不知道我当前项目使用哪些构建工具?

时间:2018-01-23 06:29:13

标签: javascript reactjs build build-tools

我正在研究react / redux的持续项目。但是,不知道它使用哪种构建工具? 无论是webpack,Gulp,Grunt等。?

这是我的package.json文件。

{
  "name": "some-project",
  "version": "0.1.0",
  "private": true,
  "dependencies": {
    "firebase": "^4.6.2",
    "firebase-admin": "^5.4.3",
    "font-awesome": "^4.7.0",
    "lodash": "^4.17.4",
    "moment": "^2.19.1",
    "react": "^15.6.1",
    "react-bootstrap": "^0.31.5",
    "react-bootstrap-table": "^4.1.3",
    "react-document-title": "^2.0.3",
    "react-dom": "^15.6.1",
    "react-dropzone": "^4.2.1",
    "react-firebase": "^2.2.7-4",
    "react-firebase-file-uploader": "^2.4.1",
    "react-notification-system-redux": "^1.2.0",
    "react-redux": "^5.0.6",
    "react-router-dom": "^4.2.2",
    "react-scripts": "1.0.17",
    "redux": "^3.7.2",
    "redux-form": "^7.1.2",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.2.0",
    "remote-redux-devtools": "^0.5.12"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject"
  }
}

1 个答案:

答案 0 :(得分:0)

  

创建React App - 零配置?

     

如果你正在使用React,你可能很熟悉   创建反应的应用程序内。它是用于构建的官方命令行界面   使用ZERO配置对应用程序进行反应。

ZERO配置?怎么可能?

create-react-app将所有webpack配置隐藏到包react-scripts中。使用create-react-app,我可以毫不费力地享受Facebook创建的所有配置,而且我不需要自己配置。

但是......您无法更改Facebook create-react-app提供的默认配置。 Facebook提供了2个选项,允许您更改默认配置...

参考:https://thehackernews.com/2016/01/doorbell-hacking-wifi-pasword.html