Skip to content

Commit

Permalink
Basic setup for Game Time
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekinney committed Jul 19, 2015
1 parent a898ec8 commit cdee0e7
Show file tree
Hide file tree
Showing 10 changed files with 7,824 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"predef": [
"document",
"window",
"-Promise"
],
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"esnext": true,
"unused": true
}
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Game Time Starter Kit

To install the dependencies:

```
npm install
```

To fire up a development server:

```
npm run server
```


To build the static files:

```js
npm run build
```
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Game Time</title>
</head>
<body>

<script src="main.bundle.js"></script>
</body>
</html>
3 changes: 3 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
const sayHello = () => console.log('Hello');

sayHello();
56 changes: 56 additions & 0 deletions main.bundle.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
/******/ var installedModules = {};

/******/ // The require function
/******/ function __webpack_require__(moduleId) {

/******/ // Check if module is in cache
/******/ if(installedModules[moduleId])
/******/ return installedModules[moduleId].exports;

/******/ // Create a new module (and put it into the cache)
/******/ var module = installedModules[moduleId] = {
/******/ exports: {},
/******/ id: moduleId,
/******/ loaded: false
/******/ };

/******/ // Execute the module function
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);

/******/ // Flag the module as loaded
/******/ module.loaded = true;

/******/ // Return the exports of the module
/******/ return module.exports;
/******/ }


/******/ // expose the modules object (__webpack_modules__)
/******/ __webpack_require__.m = modules;

/******/ // expose the module cache
/******/ __webpack_require__.c = installedModules;

/******/ // __webpack_public_path__
/******/ __webpack_require__.p = "";

/******/ // Load entry module and return exports
/******/ return __webpack_require__(0);
/******/ })
/************************************************************************/
/******/ ([
/* 0 */
/***/ function(module, exports) {

'use strict';

var sayHello = function sayHello() {
return console.log('Hello');
};

sayHello();

/***/ }
/******/ ]);
35 changes: 35 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "game-time-starter-kit",
"version": "1.0.0",
"description": "A starter kit for Turing School's Game Time project.",
"main": "index.js",
"scripts": {
"server": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js",
"build": "./node_modules/webpack/bin/webpack.js",
"test": "./node_modules/mocha/bin/mocha ./test"
},
"repository": {
"type": "git",
"url": "https://github.com/turingschool-examples/game-time-starter-kit.git"
},
"author": "Steve Kinney",
"license": "MIT",
"bugs": {
"url": "https://github.com/turingschool-examples/game-time-starter-kit/issues"
},
"homepage": "https://github.com/turingschool-examples/game-time-starter-kit",
"devDependencies": {
"babel-core": "^5.7.4",
"babel-loader": "^5.3.2",
"chai": "^3.2.0",
"css-loader": "^0.15.5",
"mocha": "^2.2.5",
"mocha-loader": "^0.7.1",
"node-libs-browser": "^0.5.2",
"node-sass": "^3.2.0",
"sass-loader": "^1.0.2",
"style-loader": "^0.12.3",
"webpack": "^1.10.1",
"webpack-dev-server": "^1.10.1"
}
}
Loading

0 comments on commit cdee0e7

Please sign in to comment.