]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Added package.js for Meteor integration
authorLuca Mussi <ing.luca.mussi@gmail.com>
Sat, 31 Jan 2015 18:23:06 +0000 (19:23 +0100)
committerChris Rebert <code@rebertia.com>
Thu, 19 Feb 2015 21:11:58 +0000 (13:11 -0800)
Closes #15716 by merging it.

README.md
package.js [new file with mode: 0644]

index a0e2f19bfc3f3aa19efa4787a14294ea121c1585..0ab28db0db8a4d5876e37cf92ef6879ac480ff6e 100644 (file)
--- 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 (file)
index 0000000..8e5e872
--- /dev/null
@@ -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('METEOR@1.0');
+  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');
+});