Blame view

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