@@ -0,0 +1,3 @@ | |||
node_modules | |||
.jshintrc | |||
bundle.js |
@@ -0,0 +1,2 @@ | |||
build: | |||
browserify -t babelify --outfile bundle.js js/*.js |
@@ -0,0 +1,10 @@ | |||
<!DOCTYPE html> | |||
<html> | |||
<head> | |||
<title>GameJam Game</title> | |||
</head> | |||
<body> | |||
<script src="node_modules/socksugar/client.js"></script> | |||
<script src="bundle.js"></script> | |||
</body> | |||
</html> |
@@ -0,0 +1 @@ | |||
window.sock = new SockSugar("ws://localhost:8081"); |
@@ -0,0 +1,15 @@ | |||
{ | |||
"name": "gamejam-client", | |||
"version": "1.0.0", | |||
"description": "", | |||
"main": "index.js", | |||
"scripts": { | |||
"test": "echo \"Error: no test specified\" && exit 1" | |||
}, | |||
"author": "", | |||
"license": "ISC", | |||
"dependencies": { | |||
"babelify": "^6.4.0", | |||
"socksugar": "^0.3.1" | |||
} | |||
} |