Browse Source

fix: move webpack about loader and plugins to devDependences

Leo Hui 5 years ago
parent
commit
c67add9535
1 changed files with 13 additions and 11 deletions
  1. 13
    11
      package.json

+ 13
- 11
package.json View File

7
     "@fortawesome/fontawesome-svg-core": "^1.2.4",
7
     "@fortawesome/fontawesome-svg-core": "^1.2.4",
8
     "@fortawesome/free-solid-svg-icons": "^5.3.1",
8
     "@fortawesome/free-solid-svg-icons": "^5.3.1",
9
     "@fortawesome/react-fontawesome": "^0.1.3",
9
     "@fortawesome/react-fontawesome": "^0.1.3",
10
+    "braft-editor": "^2.0.5",
11
+    "object-assign": "4.1.1",
12
+    "promise": "8.0.1",
13
+    "raf": "3.4.0",
14
+    "react": "^16.5.0",
15
+    "react-dom": "^16.5.0",
16
+    "react-mde": "^5.8.0",
17
+    "resolve": "1.6.0",
18
+    "showdown": "^1.8.6",
19
+    "whatwg-fetch": "2.0.3"
20
+  },
21
+  "devDependencies": {
10
     "autoprefixer": "7.1.6",
22
     "autoprefixer": "7.1.6",
11
     "babel-cli": "^6.26.0",
23
     "babel-cli": "^6.26.0",
12
     "babel-core": "6.26.0",
24
     "babel-core": "6.26.0",
20
     "babel-preset-react": "^6.24.1",
32
     "babel-preset-react": "^6.24.1",
21
     "babel-preset-react-app": "^3.1.2",
33
     "babel-preset-react-app": "^3.1.2",
22
     "babel-runtime": "6.26.0",
34
     "babel-runtime": "6.26.0",
23
-    "braft-editor": "^2.0.5",
24
     "case-sensitive-paths-webpack-plugin": "2.1.1",
35
     "case-sensitive-paths-webpack-plugin": "2.1.1",
25
     "chalk": "1.1.3",
36
     "chalk": "1.1.3",
26
     "css-loader": "0.28.7",
37
     "css-loader": "0.28.7",
38
     "fs-extra": "3.0.1",
49
     "fs-extra": "3.0.1",
39
     "html-webpack-plugin": "2.29.0",
50
     "html-webpack-plugin": "2.29.0",
40
     "jest": "20.0.4",
51
     "jest": "20.0.4",
41
-    "object-assign": "4.1.1",
42
     "postcss-flexbugs-fixes": "3.2.0",
52
     "postcss-flexbugs-fixes": "3.2.0",
43
     "postcss-loader": "2.0.8",
53
     "postcss-loader": "2.0.8",
44
-    "promise": "8.0.1",
45
-    "raf": "3.4.0",
46
-    "react": "^16.5.0",
47
     "react-dev-utils": "^5.0.2",
54
     "react-dev-utils": "^5.0.2",
48
-    "react-dom": "^16.5.0",
49
-    "react-mde": "^5.8.0",
50
-    "resolve": "1.6.0",
51
-    "showdown": "^1.8.6",
52
     "style-loader": "0.19.0",
55
     "style-loader": "0.19.0",
53
     "sw-precache-webpack-plugin": "0.11.4",
56
     "sw-precache-webpack-plugin": "0.11.4",
54
     "url-loader": "0.6.2",
57
     "url-loader": "0.6.2",
55
     "webpack": "3.8.1",
58
     "webpack": "3.8.1",
56
     "webpack-dev-server": "2.11.3",
59
     "webpack-dev-server": "2.11.3",
57
-    "webpack-manifest-plugin": "1.3.2",
58
-    "whatwg-fetch": "2.0.3"
60
+    "webpack-manifest-plugin": "1.3.2"
59
   },
61
   },
60
   "scripts": {
62
   "scripts": {
61
     "start": "node scripts/start.js",
63
     "start": "node scripts/start.js",