Skip to content

Commit

Permalink
add deploy gh-pages script
Browse files Browse the repository at this point in the history
  • Loading branch information
mmckegg committed Apr 20, 2015
1 parent 678d405 commit 18c374e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
npm-debug.log
build
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Web Audio School</title>
</head>
<body>
<script src="bundle.js" type="text/javascript"></script>
</body>
</html>
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@
"observ-struct": "^6.0.0",
"through2": "^0.6.5"
},
"devDependencies": {},
"devDependencies": {
"buildbranch": "0.0.3"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "beefy browser-entry.js -- -t [ ./lib/evalify -f lessons/index.js -f styles/index.js ]"
"start": "beefy browser-entry.js -- -t [ ./lib/evalify -f lessons/index.js -f styles/index.js ]",
"clean-static": "rm -rf build",
"build-static": "npm run clean-static && mkdir build && cp index.html build/index.html && browserify browser-entry -o build/bundle.js",
"deploy": "npm run build-static && buildbranch gh-pages build"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 18c374e

Please sign in to comment.