package.json 5.11 KB
Newer Older
1
{
zhanghaozhe committed
2
  "name": "mr-julyedu",
3 4 5
  "version": "0.1.0",
  "private": true,
  "dependencies": {
6
    "@babel/core": "7.2.2",
7
    "@babel/plugin-proposal-decorators": "^7.4.4",
FE committed
8
    "@babel/runtime": "^7.7.7",
zhanghaozhe committed
9
    "@loadable/component": "^5.10.1",
10
    "@svgr/webpack": "4.1.0",
2  
xuzhenghua committed
11
    "antd-mobile": "^2.3.1",
zhanghaozhe committed
12
    "autoprefixer": "^9.6.0",
zhanghaozhe committed
13
    "axios": "^0.19.2",
14 15 16 17 18 19 20
    "babel-core": "7.0.0-bridge.0",
    "babel-eslint": "9.0.0",
    "babel-jest": "23.6.0",
    "babel-loader": "8.0.5",
    "babel-plugin-named-asset-import": "^0.3.1",
    "babel-preset-react-app": "^7.0.2",
    "bfj": "6.1.1",
zhanghaozhe committed
21
    "callapp-lib": "^2.1.8",
22
    "case-sensitive-paths-webpack-plugin": "2.2.0",
zhanghaozhe committed
23
    "crypto-js": "^3.1.9-1",
24
    "css-loader": "1.0.0",
zhanghaozhe committed
25
    "date-fns": "^2.14.0",
26 27 28 29 30 31 32 33 34 35
    "dotenv": "6.0.0",
    "dotenv-expand": "4.2.0",
    "eslint": "5.12.0",
    "eslint-config-react-app": "^3.0.8",
    "eslint-loader": "2.1.1",
    "eslint-plugin-flowtype": "2.50.1",
    "eslint-plugin-import": "2.14.0",
    "eslint-plugin-jsx-a11y": "6.1.2",
    "eslint-plugin-react": "7.12.4",
    "file-loader": "2.0.0",
36
    "formik": "^1.5.8",
37
    "fs-extra": "7.0.1",
38
    "hammerjs": "^2.0.8",
39
    "html-webpack-plugin": "4.0.0-alpha.2",
xuzhenghua committed
40
    "html2canvas": "^1.0.0-rc.5",
zhanghaozhe committed
41
    "http-proxy-middleware": "^0.19.1",
42 43 44 45 46
    "identity-obj-proxy": "3.0.0",
    "jest": "23.6.0",
    "jest-pnp-resolver": "1.0.2",
    "jest-resolve": "23.6.0",
    "jest-watch-typeahead": "^0.2.1",
FE committed
47
    "js-base64": "^2.5.1",
zhanghaozhe committed
48
    "js-cookie": "^2.2.0",
FE committed
49
    "json-stringify-safe": "^5.0.1",
50 51
    "less": "^3.9.0",
    "less-loader": "^4.1.0",
zhanghaozhe committed
52
    "lodash": "^4.17.15",
53
    "mini-css-extract-plugin": "0.5.0",
xuzhenghua committed
54
    "node-sass": "^4.13.0",
55 56 57 58 59 60
    "optimize-css-assets-webpack-plugin": "5.0.1",
    "pnp-webpack-plugin": "1.2.1",
    "postcss-flexbugs-fixes": "4.1.0",
    "postcss-loader": "3.0.0",
    "postcss-preset-env": "6.5.0",
    "postcss-safe-parser": "4.0.1",
xuzhenghua committed
61
    "prop-types": "^15.7.2",
xuzhenghua committed
62
    "qrcode": "^1.3.3",
zhanghaozhe committed
63
    "qs": "^6.7.0",
64
    "react": "^16.8.6",
xuzhenghua committed
65
    "react-ace": "^8.0.0",
66
    "react-app-polyfill": "^0.2.2",
FE committed
67
    "react-copy-to-clipboard": "^5.0.1",
68
    "react-dev-utils": "^8.0.0",
69
    "react-dom": "^16.8.6",
zhanghaozhe committed
70
    "react-infinite-scroller": "^1.2.4",
xuzhenghua committed
71
    "react-lazy-load": "^3.0.13",
xuzhenghua committed
72
    "react-mobile-swiper": "^1.1.4",
baiguangyao committed
73
    "react-redux": "^7.0.2",
zhanghaozhe committed
74
    "react-router-dom": "^5.0.1",
zhanghaozhe committed
75
    "react-spinners": "^0.5.4",
2  
xuzhenghua committed
76
    "react-sticky": "^6.0.3",
baiguangyao committed
77
    "redux": "^4.0.1",
baiguangyao committed
78 79 80
    "redux-immutable": "^4.0.0",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.3.0",
81
    "resolve": "1.10.0",
.  
baiguangyao committed
82 83
    "sass-loader": "^7.1.0",
    "sass-resources-loader": "^2.0.0",
zhanghaozhe committed
84
    "socket.io": "^2.2.0",
zhanghaozhe committed
85
    "store2": "^2.11.2",
86
    "style-loader": "0.23.1",
zhanghaozhe committed
87
    "swiper": "^4.5.1",
88 89
    "terser-webpack-plugin": "1.2.2",
    "url-loader": "1.1.2",
xuzhenghua committed
90
    "video.js": "^7.6.5",
FE committed
91
    "web-launch-app": "^2.1.9",
92 93 94 95
    "webpack": "4.28.3",
    "webpack-dev-server": "3.1.14",
    "webpack-manifest-plugin": "2.0.4",
    "workbox-webpack-plugin": "3.6.3"
96 97
  },
  "scripts": {
98 99 100
    "start": "node scripts/start.js",
    "build": "node scripts/build.js",
    "test": "node scripts/test.js"
101 102 103 104
  },
  "eslintConfig": {
    "extends": "react-app"
  },
105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155
  "browserslist": [
    ">0.2%",
    "not dead",
    "not ie <= 11",
    "not op_mini all"
  ],
  "jest": {
    "collectCoverageFrom": [
      "src/**/*.{js,jsx,ts,tsx}",
      "!src/**/*.d.ts"
    ],
    "resolver": "jest-pnp-resolver",
    "setupFiles": [
      "react-app-polyfill/jsdom"
    ],
    "testMatch": [
      "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
      "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}"
    ],
    "testEnvironment": "jsdom",
    "testURL": "http://localhost",
    "transform": {
      "^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
      "^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
    },
    "transformIgnorePatterns": [
      "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
      "^.+\\.module\\.(css|sass|scss)$"
    ],
    "moduleNameMapper": {
      "^react-native$": "react-native-web",
      "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
    },
    "moduleFileExtensions": [
      "web.js",
      "js",
      "web.ts",
      "ts",
      "web.tsx",
      "tsx",
      "json",
      "web.jsx",
      "jsx",
      "node"
    ],
    "watchPlugins": [
      "/Users/baiguangyao/project/my-julyedu/node_modules/jest-watch-typeahead/filename.js",
      "/Users/baiguangyao/project/my-julyedu/node_modules/jest-watch-typeahead/testname.js"
    ]
  },
baiguangyao committed
156
  "babel": {
157 158 159
    "presets": [
      "react-app"
    ],
baiguangyao committed
160 161
    "plugins": [
      [
162 163 164 165 166 167
        "@babel/plugin-proposal-decorators",
        {
          "legacy": true
        }
      ],
      [
baiguangyao committed
168 169 170
        "import",
        {
          "libraryName": "antd-mobile",
zhanghaozhe committed
171
          "style": "css"
baiguangyao committed
172 173 174 175 176
        }
      ]
    ]
  },
  "devDependencies": {
xuzhenghua committed
177
    "@babel/runtime": "^7.7.2",
178
    "babel-plugin-import": "^1.11.0",
zhanghaozhe committed
179 180
    "browserslist": "^4.6.6",
    "caniuse-lite": "^1.0.30000989",
zhanghaozhe committed
181
    "classnames": "^2.2.6",
zhanghaozhe committed
182
    "mockjs": "^1.0.1-beta3",
zhanghaozhe committed
183
    "postcss-px-to-viewport": "^1.1.0",
184
    "sass-resources-loader": "^2.0.0"
185
  },
186
  "theme": "./src/assets/theme/config.js"
187
}