From 90e7fc418b0424ad01c7af6b87b43d4d1596342d Mon Sep 17 00:00:00 2001 From: Luca Mussi Date: Sat, 31 Jan 2015 19:23:06 +0100 Subject: [PATCH] Added package.js for Meteor integration Closes #15716 by merging it. --- README.md | 1 + package.js | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 package.js diff --git a/README.md b/README.md index a0e2f19bfc..0ab28db0db 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 0000000000..8e5e87246c --- /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('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'); +});