Forráskód Böngészése

small bugfixes and tweaks

Brandon Wong 7 éve%!(EXTRA string=óta)
szülő
commit
9f3a414116
4 módosított fájl, 1 hozzáadás és 5 törlés
  1. 0 1
      maker.sh
  2. 0 1
      react/package.json
  3. 1 2
      redux/package.json
  4. 0 1
      service/package.json

+ 0 - 1
maker.sh

@@ -34,7 +34,6 @@ fi
 #mkdir $foldername
 git init $foldername
 folderpath=`dirname $foldername`
-mkdir $foldername/src $foldername/test
 
 echo "created $foldername at $folderpath"
 

+ 0 - 1
react/package.json

@@ -4,7 +4,6 @@
   "version": "0.1.0",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-    "postinstall": "npm run compile",
     "compile-prod": "cross-env NODE_ENV=production npm run compile",
     "compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
     "compile-both": "npm run compile-src; npm run compile-frontend",

+ 1 - 2
redux/package.json

@@ -4,13 +4,12 @@
   "version": "0.1.0",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1",
-    "postinstall": "npm run compile",
     "compile-prod": "cross-env NODE_ENV=production npm run compile",
     "compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
     "compile-both": "npm run compile-src; npm run compile-frontend",
     "compile-test": "babel test --out-dir test-build",
     "compile-src": "babel src --out-dir build",
-    "compile-frontend": "webpack build/main.js build/bundle.js --module-bind 'js=babel-loader'",
+    "compile-frontend": "webpack build/main.js build/bundle.js",
     "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent\""
   },
   "dependencies": {

+ 0 - 1
service/package.json

@@ -5,7 +5,6 @@
   "version": "0.1.0",
   "scripts": {
     "test": "node test-build/service.js",
-    "postinstall": "npm run compile",
     "compile-prod": "cross-env NODE_ENV=production npm run compile",
     "compile": "npm run compile-src && npm run compile-test",
     "compile-test": "babel test --out-dir test-build",