Tuesday, 2 May 2017

Use any version as bower/npm dependency

I have a library that depend on jQuery and latest version of my library have:

"dependencies": {
    "jquery": "~2"
}

is it possible to use

"dependencies": {
    "jquery": "any"
}

or

"dependencies": {
    "jquery": "*"
}

so it use any version that fit for other dependencies.

I can't seems to find any documentation about it, is it possible to do the same in npm?



via jcubic

No comments:

Post a Comment