1. 程式人生 > >React框架搭建但頁面應用package.json基本包和依賴包

React框架搭建但頁面應用package.json基本包和依賴包

5.5 2.0 server 4.5 ack logs ostc style pac

{
  //依賴包
"devDependencies": {
  //babel
"babel-core": "6.24.1", "babel-loader": "7.0.0", "babel-preset-es2015": "6.24.1", "babel-preset-react": "6.24.1", "babel-preset-stage-0": "6.24.1",
  //css & sass
"css-loader": "0.28.0", "node-sass": "4.5.2", "postcss-loader": "^2.0.5", //自動添加css前綴,自動考慮兼容性
"sass-loader": "6.0.3", "style-loader": "0.17.0",
  //webpack 和 webpack-dev-server
"webpack": "2.4.1", "webpack-dev-server": "2.4.5" }, "dependencies": {
  //要用es2016更高級的功能,babel必須引用包
"babel-polyfill": "^6.23.0",
  //密碼加密包
"md5": "2.2.1",
  //React radux router
"react": "15.5.4", "react-dom": "15.5.4",
"react-redux": "4.4.6", "react-router": "3.0.0", "react-router-redux": "4.0.7", "redux": "3.6.0" } }

React框架搭建但頁面應用package.json基本包和依賴包