Specifying version numbers in Bower

前端 未结 1 1568
故里飘歌
故里飘歌 2021-01-03 19:25

When writing bower.json you can specify version numbers in your dependencies. Sometimes I see people writing

{
...
    \"devDependencies\" : {
        \"grun         


        
1条回答
  •  被撕碎了的回忆
    2021-01-03 20:07

    It's semver and the notation is the same as >=0.3.13 <0.4.0, which will match all patch releases after and including 0.3.13, but not 0.4.0. This means you'll get bug fixes (patch), but not new features (minor). >=0.3.13 is not recommended as it will match anything above which will at some point break.

    0 讨论(0)
提交回复
热议问题