spm打seajs压缩包摘抄
2015-08-27 11:48
597 查看
Field | Description |
---|---|
name* | name of the package in lowercase, use a -or .as a separator between words |
version* | semantic versioning like 1.0.0 |
description | a brief description of the package |
keywords | an array of keywords |
homepage | url of the package's website |
author | author of the package: Hsiaoming Yang <me@lepture.com>or { "name": "Hsiaoming Yang", "email": "me@lepture.com" } |
maintainers | an array of maintainers, just like author |
repository | specify the place where the code is hosted. { "type": "git", "url": "http://github.com/isaacs/npm.git" } |
bugs | the url to the package's issue tracker and / or the email address to which issues should be reported. |
license | license |
spm* | |
spm.main | the only entry point of the package, default index.js, or could be set to index.cssfor a css-only package |
spm.output | an array of other files needed to be output |
spm.dependencies | specify dependencies relation of the package |
spm.devDependencies | specify dependencies relation of the package in developing situation |
spm.tests | specify all test files, support glob patterns: tests/*-spec.js |
spm.buildArgs | specify the cli arguments for spm build |
spm.ignore | an array of ignore files in package, same function as .spmignore |
spm.scripts | like npm.scripts, handle around some spm commands, it support prebuild, postbuild, preinstall, postinstall, prepublish, postpublish. |
{ "name": "arale-calendar", "version": "1.1.0", "description": "Calendar widget.", "keywords": [ "widget", "month", "datepicker" ], "author": "Hsiaoming Yang <me@lepture.com>", "maintainers": [ "hotoo <hotoo.cn@gmail.com>", "shengyan <shengyan1985@gmail.com>" ], "homepage": "http://aralejs.org/calendar/", "repository": { "type": "git", "url": "https://github.com/aralejs/calendar.git" }, "bugs": { "url": "https://github.com/aralejs/calendar/issues" }, "license": "MIT", "spm": { "main": "calendar.js", "dependencies": { "jquery": "1.7.2", "moment": "2.6.0", "arale-base": "1.1.0", "arale-position": "1.1.0", "arale-iframe-shim": "1.1.0", "handlebars": "1.3.0", "arale-widget": "1.2.0" }, "devDependencies": { "expect.js": "0.3.1" }, "tests": "tests/*-spec.js", "ignore": ["dist"], "buildArgs": "--ignore jquery", "scripts": { "prepublish": "lessc index.less index.css" } } }
相关文章推荐
- 产品经理必用的 13 款工具
- rpm安装mysql
- Automation Test in Maya Plugin Development
- 浅谈 OneAPM 在 express 项目中的实践
- 浅谈 OneAPM 在 express 项目中的实践
- RPM方式安装MySQL5.6
- rpm -e yum 之后
- 产品经理的PRD到底该怎么写?
- 业务性产品经理(商业领域)笔试题
- and5.1PowerManagerService深入分析(一) PMS的初始化以及低功耗模式
- 产品经理专业技能之BRD/MRD/PRD文档撰写
- 产品经理(PM)一秒理解MRD、PRD、BRD
- 闪存产业变革 PMC闪存迎来了革命大浪潮
- 产品经理如何成为敏捷团队中有效的一员
- 成为产品经理之前
- RPM软件包管理
- 安装RPM包或者安装源码包
- MPMoviePlayerController播放视频时黑屏
- APMserv常见问题
- APMserv常见问题