framework-for-react 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +4 -1
package/README.md CHANGED
@@ -10,7 +10,7 @@ framework-for-react
10
10
 
11
11
  #### 使用说明
12
12
 
13
- 1. 这是一个针对react18,使用webpack5进行打包的简洁工具包,包含babel预置v7,各种预置loader,react-router等工具,开箱即用
13
+ 1. 这是一个针对react18,使用webpack5进行打包的简洁工具包,包含babel预置v7,各种预置loader,react-router, axios 等工具,开箱即用
14
14
  2. 使用示例
15
15
  ```
16
16
  *** dev.js ***
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "framework-for-react",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "framework for react18",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,8 @@
23
23
  "license": "ISC",
24
24
  "dependencies": {
25
25
  "@babel/core": "^7.18.5",
26
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
27
+ "@babel/plugin-proposal-decorators": "^7.20.7",
26
28
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
27
29
  "@babel/plugin-syntax-jsx": "^7.17.12",
28
30
  "@babel/plugin-transform-runtime": "^7.18.5",
@@ -31,6 +33,7 @@
31
33
  "@babel/preset-react": "^7.18.6",
32
34
  "@babel/runtime": "^7.18.3",
33
35
  "autoprefixer": "^10.4.7",
36
+ "axios": "^1.3.5",
34
37
  "babel-loader": "^8.2.5",
35
38
  "classnames": "^2.3.1",
36
39
  "copy-webpack-plugin": "^8.1.1",