[tor-commits] [donate/master] All the packages are devDependencies

peterh at torproject.org peterh at torproject.org
Mon Jun 24 21:23:20 UTC 2019


commit 855262f1275280d3c791d0f5e4e86b72cc9feaa3
Author: peterh <peterh at giantrabbit.com>
Date:   Mon Jun 24 11:29:06 2019 -0700

    All the packages are devDependencies
    
    The js file we build has all the dependencies, so they aren't needed to
    run the site.
---
 package.json | 14 ++++++--------
 yarn.lock    |  1 +
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/package.json b/package.json
index f713cc02..f3149286 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,9 @@
   "license": "BSD-3-Clause",
   "name": "tor-donate",
   "version": "0.0.1",
-  "dependencies": {
+  "devDependencies": {
+    "babel-core": "^6.26.3",
+    "babel-plugin-transform-runtime": "^6.23.0",
     "babel-polyfill": "^6.26.0",
     "braintree-web": "^2.29.0",
     "breakpoint-sass": "^2.7.0",
@@ -14,22 +16,18 @@
     "mkdirp": "^0.5.1",
     "node-normalize-scss": "^1.3.2",
     "numeral": "^2.0.6",
+    "parcel-bundler": "^1.11.0",
     "react": "^16.8.3",
     "react-dom": "^16.8.3",
     "react-popper": "^1.3.3",
     "react-stripe-elements": "^2.0.3",
     "round-to": "^2.0.0",
+    "sass": "^1.17.2",
+    "style-loader": "^0.13.1",
     "tav": "^0.1.0",
     "vinyl-named": "^1.1.0",
     "walk": "^2.3.9"
   },
-  "devDependencies": {
-    "babel-core": "^6.26.3",
-    "babel-plugin-transform-runtime": "^6.23.0",
-    "parcel-bundler": "^1.11.0",
-    "sass": "^1.17.2",
-    "style-loader": "^0.13.1"
-  },
   "scripts": {
     "build": "parcel build --out-dir public/dist src/js/index.js",
     "clean": "rm -rf public/dist",
diff --git a/yarn.lock b/yarn.lock
index 7eabd63b..06898a5a 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2920,6 +2920,7 @@ is-resolvable@^1.0.0:
 is-stream@^1.0.1:
   version "1.1.0"
   resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
+  integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
 
 is-svg@^2.0.0:
   version "2.1.0"





More information about the tor-commits mailing list