aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Mussi <[email protected]>2015-01-31 19:23:06 +0100
committerChris Rebert <[email protected]>2015-02-19 13:11:58 -0800
commit90e7fc418b0424ad01c7af6b87b43d4d1596342d (patch)
tree0b231379bc281359a30fab10682daea4cef1adc4
parentd0ec85081224fc48c7898f5b72b29aa98d3ddf6a (diff)
downloadbootstrap-90e7fc418b0424ad01c7af6b87b43d4d1596342d.tar.xz
bootstrap-90e7fc418b0424ad01c7af6b87b43d4d1596342d.zip
Added package.js for Meteor integration
Closes #15716 by merging it.
-rw-r--r--README.md1
-rw-r--r--package.js22
2 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index a0e2f19bf..0ab28db0d 100644
--- a/README.md
+++ b/README.md
@@ -28,6 +28,7 @@ Four quick start options are available:
- Clone the repo: `git clone https://github.com/twbs/bootstrap.git`.
- Install with [Bower](http://bower.io): `bower install bootstrap`.
- Install with [npm](https://www.npmjs.com): `npm install bootstrap`.
+- Install with [Meteor](https://www.meteor.com/): `meteor add twbs:bootstrap`.
Read the [Getting started page](http://getbootstrap.com/getting-started/) for information on the framework contents, templates and examples, and more.
diff --git a/package.js b/package.js
new file mode 100644
index 000000000..8e5e87246
--- /dev/null
+++ b/package.js
@@ -0,0 +1,22 @@
+// package metadata file for Meteor.js
+
+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.2',
+ git: 'https://github.com/twbs/bootstrap.git'
+});
+
+Package.onUse(function (api) {
+ api.versionsFrom('[email protected]');
+ api.use('jquery', 'client');
+ api.addFiles([
+ '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',
+ 'dist/css/bootstrap.css',
+ 'dist/js/bootstrap.js',
+ ], 'client');
+});