package.js 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Package.describe({
  2. name: 'wekan-cfs-access-point',
  3. version: '0.1.50',
  4. summary: 'CollectionFS, add ddp and http accesspoint capability',
  5. git: 'https://github.com/zcfs/Meteor-cfs-access-point.git'
  6. });
  7. Npm.depends({
  8. "content-disposition": "0.5.0"
  9. });
  10. Package.onUse(function(api) {
  11. api.versionsFrom('1.0');
  12. // This imply is needed for tests, and is technically probably correct anyway.
  13. api.imply([
  14. 'wekan-cfs-base-package'
  15. ]);
  16. api.use([
  17. //CFS packages
  18. 'wekan-cfs-base-package@0.0.30',
  19. 'wekan-cfs-file@0.1.16',
  20. //Core packages
  21. 'check',
  22. 'ejson',
  23. //Other packages
  24. 'wekan-cfs-http-methods@0.0.29',
  25. 'wekan-cfs-http-publish@0.0.13'
  26. ]);
  27. api.addFiles([
  28. 'access-point-common.js',
  29. 'access-point-handlers.js',
  30. 'access-point-server.js'
  31. ], 'server');
  32. api.addFiles([
  33. 'access-point-common.js',
  34. 'access-point-client.js'
  35. ], 'client');
  36. });
  37. Package.onTest(function (api) {
  38. api.versionsFrom('1.0');
  39. api.use([
  40. //CFS packages
  41. 'wekan-cfs-access-point',
  42. 'wekan-cfs-standard-packages@0.0.2',
  43. 'wekan-cfs-gridfs@0.0.0',
  44. //Core packages
  45. 'test-helpers',
  46. 'http',
  47. 'tinytest',
  48. 'underscore',
  49. 'ejson',
  50. 'ordered-dict',
  51. 'random',
  52. 'deps'
  53. ]);
  54. api.addFiles('tests/client-tests.js', 'client');
  55. api.addFiles('tests/server-tests.js', 'server');
  56. });