Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

component.json ? #6

Closed
lepture opened this Issue · 3 comments

3 participants

@lepture
Owner

使用 component.json 代替 package.json

大致字段:

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

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

@lepture
Owner

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

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

@lifesinger
Owner

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

@lepture lepture closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.