Permalink
Browse files

Initial skeleton commit

  • Loading branch information...
0 parents commit d7b3c04b66d4a5581a00e395fe19608ed1cf5204 @leecrossley committed Oct 26, 2013
Showing with 106 additions and 0 deletions.
  1. +22 −0 .gitignore
  2. +5 −0 .travis.yml
  3. +42 −0 Gruntfile.js
  4. +1 −0 README.md
  5. +29 −0 package.json
  6. +7 −0 spec/spec.js
  7. 0 src/server.js
@@ -0,0 +1,22 @@
+_SpecRunner.html
+.grunt
+
+# Mac crap
+.DS_Store
+._.DS_Store
+._*
+
+# Node crap
+lib-cov
+*.seed
+*.log
+*.csv
+*.dat
+*.out
+*.pid
+*.gz
+pids
+logs
+results
+npm-debug.log
+node_modules
@@ -0,0 +1,5 @@
+language: node_js
+node_js:
+ - "0.10"
+before_script:
+ - npm install -g grunt-cli
@@ -0,0 +1,42 @@
+module.exports = function (grunt) {
+ grunt.initConfig({
+ pkg: grunt.file.readJSON("package.json"),
+ jshint: {
+ all: [
+ "*.js",
+ "src/*.js",
+ "spec/*.js",
+ "!src/server.min.js"
+ ]
+ },
+ watch: {
+ files: [
+ "*.js",
+ "src/*.js",
+ "spec/*.js",
+ "!src/server.min.js"
+ ],
+ tasks: ["test"]
+ },
+ jasmine: {
+ src: "src/server.js",
+ options: {
+ specs: "spec/server.js"
+ }
+ },
+ uglify: {
+ my_target: {
+ files: {
+ "src/server.min.js": [
+ "src/server.js"
+ ]
+ }
+ }
+ }
+ });
+ grunt.loadNpmTasks("grunt-contrib-watch");
+ grunt.loadNpmTasks("grunt-contrib-jshint");
+ grunt.loadNpmTasks("grunt-contrib-jasmine");
+ grunt.loadNpmTasks("grunt-contrib-uglify");
+ grunt.registerTask("test", ["jshint", "uglify", "jasmine"]);
+};
@@ -0,0 +1 @@
+# appsassin [![Build Status](https://travis-ci.org/leecrossley/appsassin.png?branch=master)](https://travis-ci.org/leecrossley/appsassin)
@@ -0,0 +1,29 @@
+{
+ "name": "appsassin-server",
+ "description": "#HackManchester",
+ "homepage": "http://appsass.in",
+ "version": "0.0.1",
+ "main": "src/server.min.js",
+ "scripts": {
+ "test": "grunt test"
+ },
+ "repository": {
+ "type": "git",
+ "url": "git@github.com:leecrossley/appsassin.git"
+ },
+ "engines": {
+ "node": ">= 0.8.x"
+ },
+ "devDependencies": {
+ "grunt": "~0.4.1",
+ "grunt-shell": "~0.5.x",
+ "grunt-contrib-watch": "~0.5.x",
+ "grunt-contrib-jshint": "~0.6.x",
+ "grunt-contrib-jasmine": "~0.5.x",
+ "grunt-contrib-uglify": "~0.2.x",
+ "grunt-cli": "~0.1.x"
+ },
+ "dependencies": {
+ "functional.js": "~0.2.3"
+ }
+}
@@ -0,0 +1,7 @@
+describe("server", function() {
+
+ it("should not be a broken world", function() {
+ expect(true).toBeTruthy();
+ });
+
+});
No changes.

0 comments on commit d7b3c04

Please sign in to comment.