Skip to content

Instantly share code, notes, and snippets.

@ehgoodenough
Created December 17, 2016 21:41
Show Gist options
  • Save ehgoodenough/ba6fe7b1de6b3229231471f3c22b82c6 to your computer and use it in GitHub Desktop.
Save ehgoodenough/ba6fe7b1de6b3229231471f3c22b82c6 to your computer and use it in GitHub Desktop.
boilerplate
{
"parser": "babel-eslint",
"rules": {
"camelcase": 1,
"indent": [1, 4],
"semi": [1, "never"],
"quotes": [1, "double"],
"brace-style": [1, "1tbs"],
"space-before-blocks": 2
}
}
node_modules
._*
*.log
.DS_Store
builds
shares

[name]

[description]

Getting Started

npm install
npm start
* {
padding: 0px;
margin: 0px;
cursor: default;
user-select: none;
box-sizing: border-box;
image-rendering: pixelated;
}
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html">
<meta name="viewport" content="maximum-scale=1, width=device-width, initial-scale=1">
<link href="index.css" rel="stylesheet" type="text/css"/>
<title>Bomberbro</title>
</head>
<body>
<div id="mount"></div>
<script src="index.js" type="text/javascript"></script>
</body>
</html>
console.log("Hello World!!!")
{
"name": "[name]",
"version": "0.0.0",
"private": true,
"description": "[description]",
"author": "Andrew McPherson <@ehgoodenough>",
"repository": {
"type": "git",
"url": "[repository.url]"
},
"dependencies": {
"afloop": "^1.0.2",
"keyb": "^1.1.0",
"pixi.js": "^4.3.0",
"shortid": "^2.2.6",
"statgrab": "^1.0.0"
},
"devDependencies": {
"codeglue": "^1.0.0"
},
"scripts": {
"start": "codeglue --stage=DEVELOPMENT --mode=SERVER",
"build": "codeglue --stage=PRODUCTION"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment