zoukankan      html  css  js  c++  java
  • 保存一份自己常用的packjson

    这里是一份专门针对react的插件配置,
    有:
    es5的转换器,有ie的promise垫片,有蚂蚁金服的anth,还有用于消息通信的pubsub订阅发布系统,虽然现在不用了。。。。

    用于发请求的axios,
    还有css-loader,style-loader 这两个合作用于在js中引入css

    {
      "name": "react-webpack",
      "version": "1.0.0",
      "description": "",
      "main": "webpack.config.js",
      "scripts": {
        "start": "webpack-dev-server --inline --hot"
      },
      "author": "",
      "license": "ISC",
      "devDependencies": {
        "antd": "^2.10.0",
        "axios": "^0.16.1",
        "babel-core": "^6.24.1",
        "babel-loader": "^7.0.0",
        "babel-plugin-import": "^1.1.1",
        "babel-preset-es2015": "^6.24.1",
        "babel-preset-react": "^6.24.1",
        "extract-text-webpack-plugin": "^2.1.0",
        "html-webpack-plugin": "^2.28.0",
        "jsx-loader": "^0.13.2",
        "path": "^0.12.7",
        "postcss-loader": "^1.3.3",
        "react": "^15.5.4",
        "react-dom": "^15.5.4",
        "react-tap-event-plugin": "^2.0.1",
        "webpack": "^2.4.1",
        "webpack-dev-server": "^2.4.5",
    "es6-promise": "^4.1.0",
    "pubsub-js": "^1.5.6",
      },
      "dependencies": {
        "css-loader": "^0.28.1",
        "style-loader": "^0.17.0"
      }
    }
    
    
  • 相关阅读:
    ibatis学习笔记
    记ibatis使用动态列查询问题(remapresults)
    jQuery(九)、ajax对象操作
    jQuery(八)、ajax
    jQuery(七)、效果和动画
    jQuery(六)、事件
    jQuery(五)、筛选
    jQuery(四)、文档处理
    jQuery(三)、属性、CSS
    jQuery(二)、选择器
  • 原文地址:https://www.cnblogs.com/daowangzhizhu-pt/p/6858830.html
Copyright © 2011-2022 走看看