mirror of
https://github.com/zenorocha/clipboard.js.git
synced 2023-08-10 21:12:48 +03:00
Create composer.json for instalation with composer (#467)
* Create composer.json for instalation with composer The installation is much simpler with Composer and https://github.com/RobLoach/component-installer After merged you can test it: ``` composer config repositories.zenorocha-clipboardjs vcs "https://github.com/zenorocha/clipboard.js/" composer require zenorocha-clipboardjs:dev-master ``` Before merged you can test using my git fork. Composer creates a "components" folder that contains the "clipboardjs" whith all files spec in "files" of composer.json. You can then register the "package" at https://packagist.org In this way the installation would be simpler: `composer require zenorocha-clipboardjs:dev-master` * Remove icon
This commit is contained in:
parent
2d5b2df811
commit
f7e2f58c96
25
composer.json
Normal file
25
composer.json
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "zenorocha/clipboardjs",
|
||||
"description": "Modern copy to clipboard. No Flash. Just 3kb gzipped https://clipboardjs.com",
|
||||
"type": "component",
|
||||
"homepage": "https://clipboardjs.com/",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Zeno Rocha",
|
||||
"url": "http://zenorocha.com/"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"robloach/component-installer": "*"
|
||||
},
|
||||
"extra": {
|
||||
"component": {
|
||||
"scripts": [
|
||||
"dist/clipboard.js"
|
||||
],
|
||||
"files": [
|
||||
"dist/clipboard.min.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user