【发布时间】:2013-03-16 08:59:44
【问题描述】:
我用 bower 正确安装了 es5-shim:
bower install es5-shim
但它不包含主文件,因此在列出来源时我得到一个空列表:
bower list --sources
{}
我查看了es5-shim repo,它只有一个package.json,其中包含“main”的定义:“es5-shim.js”
component.json 是如何生成的?
似乎错过了主要属性。这是我在安装时进入 components/es5-shim 的component.json。
【问题讨论】: