Browse Source

finished main script

Brandon Wong 9 years ago
parent
commit
723f864174
1 changed files with 1 additions and 46 deletions
  1. 1 46
      maker.sh

+ 1 - 46
maker.sh

@@ -32,52 +32,7 @@ mkdir $foldername/src $foldername/test
 
 echo "created $foldername at $folderpath"
 
-cp $maker_folder/package.regular.json $folderpath/$foldername/package.json
-
-echo 'temp exit'
-exit
-
-#cat >package.json <<EOL
-#{
-#  "name": "$foldername",
-#  "version": "0.1.0",
-#  "scripts": {
-#    "test": "echo \"Error: no test specified\" && exit 1",
-#    "postinstall": "npm run compile",
-#    "compile-test": "babel test --out-dir test-build",
-#    "compile-src": "babel src --out-dir build",
-#    "compile": "npm run compile-src; npm run compile-test",
-#    "watch": "nodemon --watch src --watch test --exec \"npm run compile --silent\"",
-#    "serverwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && node build/server.js\"",
-#    "testwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && npm test\""
-#  },
-#  "dependencies": {
-#    "babel-cli": "^6.6.5",
-#    "babel-preset-es2015": "^6.6.0"
-#  },
-#  "devDependencies": {
-#    "blue-tape": "^0.2.0",
-#    "nodemon": "^1.9.1",
-#    "tape": "^4.5.1"
-#  },
-#  "private": true
-#}
-#EOL
-
-#cat >.babelrc <<EOL
-#{
-#  "presets": ["es2015"]
-#}
-#EOL
-
-#cat >.gitignore <<EOL
-#.idea
-#node_modules
-#build
-#test-build
-#npm-debug*
-#*.swp
-#EOL
+cp -R $maker_folder/$projecttype/. $folderpath/$foldername
 
 
 echo "done."