spm打seajs压缩包摘抄

来源:互联网 发布:网欣软件 中标 编辑:程序博客网 时间:2024/05/16 09:22

FieldDescriptionname*name of the package in lowercase, use a - or . as a separator between wordsversion*semantic versioning like 1.0.0descriptiona brief description of the packagekeywordsan array of keywordshomepageurl of the package's websiteauthorauthor of the package: Hsiaoming Yang <me@lepture.com> or { "name": "Hsiaoming Yang", "email": "me@lepture.com" }maintainersan array of maintainers, just like authorrepositoryspecify the place where the code is hosted. { "type": "git", "url": "http://github.com/isaacs/npm.git" }bugsthe url to the package's issue tracker and / or the email address to which issues should be reported.licenselicensespm* spm.mainthe only entry point of the package, default index.js, or could be set to index.css for a css-only packagespm.outputan array of other files needed to be outputspm.dependenciesspecify dependencies relation of the packagespm.devDependenciesspecify dependencies relation of the package in developing situationspm.testsspecify all test files, support glob patterns: tests/*-spec.jsspm.buildArgsspecify the cli arguments for spm buildspm.ignorean array of ignore files in package, same function as .spmignorespm.scriptslike npm.scripts, handle around some spm commands, it support prebuildpostbuildpreinstallpostinstall,prepublishpostpublish.

{  "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"    }  }}


0 0
原创粉丝点击