Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用nodejs自动化manifest.js生成 #2

Open
soda-x opened this issue Aug 13, 2012 · 2 comments
Open

使用nodejs自动化manifest.js生成 #2

soda-x opened this issue Aug 13, 2012 · 2 comments
Milestone

Comments

@soda-x
Copy link
Owner

soda-x commented Aug 13, 2012

在项目中加入 package.json ,该json文件和之前的manifest.js 基本一致, 但是这个json文件由nodejs来调用,
另外对版本会有更多的控制,如果用户设定不需要版本那则不加入版本信息,如果设定为最新,那每次都会去获取最新版本的js,如果设定为特定版本号,则忽略是否有最新版本
并最终调用该描述文件生成manifest.js

@lifesinger
Copy link

package.json 目前在 spm 中已经有一套约定:

https://github.com/seajs/spm/wiki/package.json

注意保持兼容 ^o^

@soda-x
Copy link
Owner Author

soda-x commented Aug 14, 2012

@lifesinger 木有问题 XD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants