heapsource/mongoose-attachments-localfs — pull request #19 by trevormcleod (2014-04-22 21:20:51+00:00)
Title: Tm js change dependencies

- Move 'mongoose-attachments' dependecy to devDependencies
- localfs would load local mongoose-attachments module which caused
issues in a production environment using two attachment strategies

- Cleaned package.json file
- contained two 'scripts' properties with two testing strategies
- container two 'devDependencies' with different dependencies

- Moved & reconciled tests from 'test/' to 'tests/'
- removed tests with no assertions
- moved tests to tests/*-test.js so 'npm test' would run them

- moved dependency on 'mongoose-attachments' to 'devDependencies'
- when 'mongoose-attachments' is a dependency (not devDependency), the
module reads its copy vs the host module's, preventing the use of
two strategies (localfs & knox)
- removed reference to a branch of a fork of the 'mongoose-attachments' module
- added reference to the latest 'mongoose-attachments' module