我刚刚为插件设置了一个bower.json文件。
我使用bower register <package_name> <git_repo_link>
注册了包,但它运行正常。
但是,当我使用bower install <package_name>
时,它会删除所有内容,包括我要求它忽略的.md
个文件。
是什么给出了?
下面是我的bower.json文件:
{
"name": "restive",
"version": "1.3.0",
"homepage": "https://github.com/obihill/restive.js",
"authors": [
"Obinwanne Hill <my_email_address>"
],
"description": "Restive.JS is a Responsive + Adaptive Web Design and Development Framework.",
"dependencies": {
"jquery": ">=1.7"
},
"main": "./restive.js",
"keywords": [
"restive",
"restive.js",
"restivejs",
"responsive",
"adaptive",
"mobile",
"chess"
],
"ignore": [
"**/.*",
"*.md",
"*.txt",
"Gruntfile.js"
],
"license": "MIT"
}