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,6 +7,18 @@
7 7
     "@fortawesome/fontawesome-svg-core": "^1.2.4",
8 8
     "@fortawesome/free-solid-svg-icons": "^5.3.1",
9 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 22
     "autoprefixer": "7.1.6",
11 23
     "babel-cli": "^6.26.0",
12 24
     "babel-core": "6.26.0",
@@ -20,7 +32,6 @@
20 32
     "babel-preset-react": "^6.24.1",
21 33
     "babel-preset-react-app": "^3.1.2",
22 34
     "babel-runtime": "6.26.0",
23
-    "braft-editor": "^2.0.5",
24 35
     "case-sensitive-paths-webpack-plugin": "2.1.1",
25 36
     "chalk": "1.1.3",
26 37
     "css-loader": "0.28.7",
@@ -38,24 +49,15 @@
38 49
     "fs-extra": "3.0.1",
39 50
     "html-webpack-plugin": "2.29.0",
40 51
     "jest": "20.0.4",
41
-    "object-assign": "4.1.1",
42 52
     "postcss-flexbugs-fixes": "3.2.0",
43 53
     "postcss-loader": "2.0.8",
44
-    "promise": "8.0.1",
45
-    "raf": "3.4.0",
46
-    "react": "^16.5.0",
47 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 55
     "style-loader": "0.19.0",
53 56
     "sw-precache-webpack-plugin": "0.11.4",
54 57
     "url-loader": "0.6.2",
55 58
     "webpack": "3.8.1",
56 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 62
   "scripts": {
61 63
     "start": "node scripts/start.js",