package.js 964 B

1234567891011121314151617181920212223242526272829303132
  1. // package metadata file for Meteor.js
  2. /* jshint strict:false */
  3. /* global Package:true */
  4. Package.describe({
  5. name: 'twbs:bootstrap', // http://atmospherejs.com/twbs/bootstrap
  6. summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
  7. version: '3.3.7',
  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. });