📺 Add github pages deploy task

This commit is contained in:
Joshua Seigler 2017-09-12 13:12:50 -04:00
parent 7a3df002ee
commit 1d0caf22b3
4 changed files with 19 additions and 2 deletions

View file

@ -11,7 +11,6 @@
<div id="transactionList"></div> <div id="transactionList"></div>
<script src="https://blockchain.masternode.io/socket.io/socket.io.js"></script>
<script src="bundle.js"></script> <script src="bundle.js"></script>
</body> </body>
</html> </html>

View file

@ -1,5 +1,7 @@
'use strict'; 'use strict';
const io = require('socket.io-client');
var socket = io("https://insight.dash.org:443/"); var socket = io("https://insight.dash.org:443/");
var transactionList = document.getElementById('transactionList'); var transactionList = document.getElementById('transactionList');
var muteButton = document.getElementById('muteToggle'); var muteButton = document.getElementById('muteToggle');

View file

@ -12,10 +12,15 @@
"less": "^2.7.2", "less": "^2.7.2",
"socket.io": "^2.0.3" "socket.io": "^2.0.3"
}, },
"scripts": {}, "scripts": {
"watch": "brunch watch -s",
"build": "brunch build",
"deploy": "npm run build && git-directory-deploy --directory public/"
},
"devDependencies": { "devDependencies": {
"browser-sync-brunch": "^0.0.9", "browser-sync-brunch": "^0.0.9",
"brunch": "^2.10.10", "brunch": "^2.10.10",
"git-directory-deploy": "^1.5.1",
"less-brunch": "^2.10.0" "less-brunch": "^2.10.0"
} }
} }

View file

@ -1298,6 +1298,13 @@ getpass@^0.1.1:
dependencies: dependencies:
assert-plus "^1.0.0" assert-plus "^1.0.0"
git-directory-deploy@^1.5.1:
version "1.5.1"
resolved "https://registry.yarnpkg.com/git-directory-deploy/-/git-directory-deploy-1.5.1.tgz#c4fad8c270d678d5f309fbddeac1eda60cad7fd2"
dependencies:
lodash "^4.14.2"
minimist "^1.1.0"
glob-base@^0.3.0: glob-base@^0.3.0:
version "0.3.0" version "0.3.0"
resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4" resolved "https://registry.yarnpkg.com/glob-base/-/glob-base-0.3.0.tgz#dbb164f6221b1c0b1ccf82aea328b497df0ea3c4"
@ -1849,6 +1856,10 @@ lodash@^3.0.1, lodash@^3.10.1:
version "3.10.1" version "3.10.1"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6"
lodash@^4.14.2:
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
lodash@~1.0.1: lodash@~1.0.1:
version "1.0.2" version "1.0.2"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551" resolved "https://registry.yarnpkg.com/lodash/-/lodash-1.0.2.tgz#8f57560c83b59fc270bd3d561b690043430e2551"