-
Notifications
You must be signed in to change notification settings - Fork 34
/
package.js
25 lines (21 loc) · 1.11 KB
/
package.js
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
Package.describe({
summary: "Provides bootstrap 3."
});
Package.on_use(function (api) {
api.use('jquery');
var path = Npm.require('path');
var asset_path = path.join('bootstrap-3');
api.add_files(path.join(asset_path, 'css', 'bootstrap.css'), 'client');
api.add_files(path.join(asset_path, 'css', 'bootstrap-glyphicons.css'), 'client');
api.add_files(path.join(asset_path, 'js', 'bootstrap.js'), 'client');
// fonts
api.add_files(path.join(asset_path, 'fonts', 'glyphiconshalflings-regular.eot'), 'client');
api.add_files(path.join(asset_path, 'fonts', 'glyphiconshalflings-regular.otf'), 'client');
api.add_files(path.join(asset_path, 'fonts', 'glyphiconshalflings-regular.ttf'), 'client');
api.add_files(path.join(asset_path, 'fonts', 'glyphiconshalflings-regular.svg'), 'client');
api.add_files(path.join(asset_path, 'fonts', 'glyphiconshalflings-regular.woff'), 'client');
// XXX this makes the paths to the icon sets absolute. it needs
// to be included _after_ the standard bootstrap css so
// that its styles take precedence.
api.add_files(path.join('bootstrap-override.css'), 'client');
});