Skip to content

Commit

Permalink
Merge pull request #2988 from landsman/composer
Browse files Browse the repository at this point in the history
resolved Composer
  • Loading branch information
tjschuck authored Jun 6, 2018
2 parents 61eb5e4 + 89a79a2 commit 57ba728
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ This file is generated by `grunt build`, do not edit it by hand.
main:
src: 'LICENSE.md'
dest: 'public/'
php:
src: 'composer.json'
dest: 'public/'

coffee:
options:
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ https://github.com/harvesthq/chosen/releases/

### Package managers

Chosen is available through [Bower](https://bower.io/) and [npm](https://www.npmjs.com),
Chosen is available through [Bower](https://bower.io/), [npm](https://www.npmjs.com) and [Composer](https://getcomposer.org/),
_however, the package names are not the same_.

To install with Bower:
Expand All @@ -28,6 +28,12 @@ To install with npm:
npm install chosen-js
```

To install with Composer:

```
composer require harvesthq/chosen
```

The compiled files for these packages are automatically generated and stored in a [2nd Chosen repository](https://github.com/harvesthq/chosen-package). No pull requests will be accepted to that repository.

### Contributing to this project
Expand Down
36 changes: 36 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "harvesthq/chosen",
"description": "Chosen is a JavaScript plugin that makes select boxes user-friendly. It is currently available in both jQuery and Prototype flavors.",
"authors": [
{
"name": "Patrick Filler",
"homepage": "https://github.com/pfiller"
},
{
"name": "Christophe Coevoet",
"homepage": "https://github.com/stof"
},
{
"name": "Ken Earley",
"homepage": "https://github.com/kenearley"
},
{
"name": "Koen Punt",
"homepage": "https://github.com/koenpunt"
}
],
"keywords": [
"select",
"multiselect",
"dropdown",
"form",
"input",
"ui"
],
"type": "library",
"license": "MIT",
"minimum-stability": "stable",
"homepage": "https://harvesthq.github.io/chosen/",
"require": {
}
}

0 comments on commit 57ba728

Please sign in to comment.