json bower.json

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json bower.json相关的知识,希望对你有一定的参考价值。

{
  "name": "bobcatenergy",
  "private": true,
  "dependencies": {
    "bootstrap-sass-official": "~3.3.1",
    "modernizr": "~2.8.1",
    "fontawesome": "~4.3.0",
    "matchHeight": "~0.5.2",
    "jasny-bootstrap": "~3.1.3",
    "smooth-scroll": "https://github.com/cferdinandi/smooth-scroll.git",
    "keep-ratio": "~0.1.1",
    "60fps-scroll": "~0.1.1"
  },
  "overrides": {
    "modernizr": {
      "main": "./modernizr.js"
    },
    "bootstrap-sass-official": {
      "main": [
        "./assets/stylesheets/_bootstrap.scss",
        "./assets/javascripts/bootstrap/transition.js",
        "./assets/javascripts/bootstrap/alert.js",
        "./assets/javascripts/bootstrap/button.js",
        "./assets/javascripts/bootstrap/carousel.js",
        "./assets/javascripts/bootstrap/collapse.js",
        "./assets/javascripts/bootstrap/dropdown.js",
        "./assets/javascripts/bootstrap/modal.js",
        "./assets/javascripts/bootstrap/tooltip.js",
        "./assets/javascripts/bootstrap/popover.js",
        "./assets/javascripts/bootstrap/scrollspy.js",
        "./assets/javascripts/bootstrap/tab.js",
        "./assets/javascripts/bootstrap/affix.js",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.eot",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.svg",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.ttf",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.woff"
      ]
    },
    "jasny-bootstrap": {
      "main": [
        "./js/offcanvas.js",
        "./scss/_offcanvas.scss"
      ]
    },
    "smooth-scroll": {
      "main": [
        "./dist/js/smooth-scroll.js"
      ]
    },
    "60fps-scroll": {
      "main": [
        "./dist/60fps-scroll.js"
      ]
    }
  }
}

以上是关于json bower.json的主要内容,如果未能解决你的问题,请参考以下文章

bower.json 中的 ~ 和 ^ 有啥区别?

json bower.json

如何使用 bower_components 中已安装的软件包更新 bower.json

bower install 是不是需要在与 bower.json 相同的文件夹中运行?

“EMALFORMED 无法读取 bower.json” “意外的令牌 /”

bower.json 的版本范围