Closed Tolsi closed 9 years ago
I think you should to edit the file package.json before of npm install
May be then replace my deps with your custom boostrap
I just make meteor add mrt:bootstrap-list-filter
to install and I can't edit the package dependencies.
mm yes I understood.. Do you think that the best way is completely remove deps in package.json and smart.json??
Maybe just delete dependency in configs and write in readme that you must manually add bootsrap package?
in the majority of cases, I think it is useful to include dependencies in pkg.json
I think that anyone who installs this package already has some developments with bootstrap and already install it. But your package - your rules.
maybe, thanks for your suggestions! I now want to add some new features, and after I'll think better about this
this issue can be solved using npm peerDependencies
"peerDependencies": {
"bootstrap": "^3.4.5"
}
@stefanocudini, I put that script using the last version of bootstrap as example. I think your proyect is compatilbe with old versions of bootstrap. Also remember to remove the bootstrap dependency from dependencies
property.
I have used in my project package
mizzao: bootstrap-3
and after the installation of this package some page elements stopped working due to the presence of twobootstrap.js
files in the page. This error was difficult to catch. Maybe to give the user to choose bootrap package that he wants to use and remove that because of dependencies?