Test Failed
Branch master (1006b0)
by Julien
02:54
created

resources/assets/bootstrap/package.js   A

Complexity

Total Complexity 2
Complexity/F 2

Size

Lines of Code 27
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
dl 0
loc 27
rs 10
c 1
b 0
f 0
cc 0
nc 1
mnd 1
bc 3
fnc 1
bpm 3
cpm 2
noi 1
1
// package metadata file for Meteor.js
2
3
/* jshint strict:false */
4
/* global Package:true */
5
6
Package.describe({
7
  name: 'twbs:bootstrap',  // http://atmospherejs.com/twbs/bootstrap
8
  summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.',
9
  version: '3.3.7',
10
  git: 'https://github.com/twbs/bootstrap.git'
11
});
12
13
Package.onUse(function (api) {
14
  api.versionsFrom('[email protected]');
15
  api.use('jquery', 'client');
16
  var assets = [
17
    'dist/fonts/glyphicons-halflings-regular.eot',
18
    'dist/fonts/glyphicons-halflings-regular.svg',
19
    'dist/fonts/glyphicons-halflings-regular.ttf',
20
    'dist/fonts/glyphicons-halflings-regular.woff',
21
    'dist/fonts/glyphicons-halflings-regular.woff2'
22
  ];
23
  if (api.addAssets) {
24
    api.addAssets(assets, 'client');
25
  } else {
26
    api.addFiles(assets, 'client', { isAsset: true });
27
  }
28
  api.addFiles([
29
    'dist/css/bootstrap.css',
30
    'dist/js/bootstrap.js'
31
  ], 'client');
32
});
33