component.json ? #6

Closed
lepture opened this Issue Mar 22, 2013 · 3 comments

Comments

Projects
None yet
3 participants
Owner

lepture commented Mar 22, 2013

使用 component.json 代替 package.json

大致字段:

{
  "family": "arale",
  "name": "base",
  "version": "1.0.0",
  "description": "......",
  "repository": {....},
  "homepage": "...",
  ...
  "alias": {...},
  "main": ["base.js", "i18n/*.js"]
}

有些担心文件名重复的问题, Bower 用的 component.json 就讨论过 twitter/bower#110
似乎还要考虑规范性什么的, 没理清楚

Owner

lepture commented Mar 23, 2013

https://gist.github.com/skiant/4134821

想了一下,还是维持现状。

还是用 package.json 吧,spm 的配置不多

@lepture lepture closed this Mar 29, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment