Skip to content

Commit

Permalink
first files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuno Silva authored and Nuno Silva committed Dec 14, 2014
1 parent 1af164e commit 1551ed7
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
REPORTER = spec
TEST_CMD = @NODE_ENV=test clear && ./node_modules/.bin/mocha \
"test/**/*.js" \
--reporter $(REPORTER) \
--check-leaks

test:
$(TEST_CMD)

test-w:
$(TEST_CMD) --watch

trace:
node ~/node/tracegl.js app.js

deploy:
./node_modules/.bin/browserify ./obb.js -r ./obb.js --standalone obb -o dist/obb-engine.js

.PHONY: test test-w trace deploy
7 changes: 7 additions & 0 deletions auth.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
(function auth(exports) {

var auth = exports;

auth.package = require('./package.json');

})(exports);
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name" : "obb-authentication",
"version" : "0.0.1",
"main" : "./auth.js",
"private" : false,
"scripts" : {
"test" : "./node_modules/.bin/mocha --recursive --reporter spec --check-leaks",
"browserify" : "./node_modules/.bin/browserify ./obb.js -r ./obb.js --standalone obb -o dist/obb-engine.js",
"coveralls": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec --recursive && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"repository": {
"type" : "git",
"url" : "https://github.com/orionsbelt-battlegrounds/authentication.git"
},
"dependencies" : {
"underscore":"*",
"restify":"*"
},
"devDependencies" : {
"mocha" : "*",
"expect.js" : "*",
"browserify" : "*",
"node-inspector": "*",
"coveralls": "*",
"istanbul": "*",
"mocha-lcov-reporter": "*"
}
}

0 comments on commit 1551ed7

Please sign in to comment.