package.js 965 B

123456789101112131415161718192021222324252627282930313233
  1. // package metadata file for Meteor.js
  2. /* jshint strict:false */
  3. /* global Package:true */
  4. Package.describe({
  5. name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap
  6. summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
  7. version: '3.4.1',
  8. git: 'https://github.com/twbs/bootstrap.git'
  9. });
  10. Package.onUse(function (api) {
  11. api.versionsFrom('METEOR@1.0');
  12. api.use('jquery', 'client');
  13. var assets = [
  14. 'dist/fonts/glyphicons-halflings-regular.eot',
  15. 'dist/fonts/glyphicons-halflings-regular.svg',
  16. 'dist/fonts/glyphicons-halflings-regular.ttf',
  17. 'dist/fonts/glyphicons-halflings-regular.woff',
  18. 'dist/fonts/glyphicons-halflings-regular.woff2'
  19. ];
  20. if (api.addAssets) {
  21. api.addAssets(assets, 'client');
  22. } else {
  23. api.addFiles(assets, 'client', { isAsset: true });
  24. }
  25. api.addFiles([
  26. 'dist/css/bootstrap.css',
  27. 'dist/js/bootstrap.js'
  28. ], 'client');
  29. });