Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
madhums committed Apr 30, 2013
0 parents commit 5b5b079
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules

10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
REPORTER = spec
TESTS = test/*.js

test:
@NODE_ENV=test ./node_modules/.bin/mocha \
--reporter $(REPORTER) \
--ui bdd \
$(TESTS)

.PHONY: test
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## mongoose-user
Some generic methods, statics and virtuals used for user schemas

## Installation

```sh
$ npm install mongoose-user
```

or include it in `package.json`

## Usage
todo...

## License
MIT
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
exports = module.exports = require('./lib/mongoose-user')
7 changes: 7 additions & 0 deletions lib/mongoose-user.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

/*!
* mongoose-user
* Copyright(c) 2013 Madhusudhan Srinivasa <madhums8@gmail.com>
* MIT Licensed
*/

24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "mongoose-user",
"version": "0.0.0",
"description": "Some generic methods, statics and virtuals used for user schemas",
"main": "index.js",
"scripts": {
"test": "make test"
},
"repository": {
"type": "git",
"url": "git://github.com/madhums/mongoose-user.git"
},
"keywords": [
"mongoose",
"user"
],
"devDependencies": {
"mocha": "latest",
"mongoose": "latest"
},
"author": "Madhusudhan Srinivasa",
"license": "MIT",
"readmeFilename": "README.md"
}
Empty file added test/mongoose-user.js
Empty file.

0 comments on commit 5b5b079

Please sign in to comment.