Skip to content

Commit 487a1ae

Browse files
committed
making file structure consistent with new plugins
1 parent dbe12be commit 487a1ae

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/basic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var feathers = require('feathers'),
22
bodyParser = require('body-parser'),
3-
mongoService = require('../lib/feathers-mongodb');
3+
mongoService = require('../lib');
44

55
// Create a feathers instance.
66
var app = feathers()
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"David Luecke <[email protected]> (http://neyeon.com)",
3333
"Marshall Thompson <[email protected]>"
3434
],
35-
"main": "lib/feathers-mongodb.js",
35+
"main": "lib/",
3636
"scripts": {
3737
"publish": "git push origin --tags",
3838
"release:patch": "npm version patch && npm publish",

test/test.js renamed to test/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ var DatabaseCleaner = require('database-cleaner');
44
var databaseCleaner = new DatabaseCleaner('mongodb');
55
var errors = require('feathers').errors.types;
66

7-
var mongodb = require('./../lib/feathers-mongodb');
8-
var service = mongodb('test');
7+
var mongodb = require('../lib');
8+
var service = mongodb('people');
99
var _ids = {};
1010

1111
function clean(done) {

0 commit comments

Comments
 (0)