json NPM包JSON - 来自:browsenpm.org/package.json
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了json NPM包JSON - 来自:browsenpm.org/package.json相关的知识,希望对你有一定的参考价值。
{
"name": "module-name",
"version": "10.3.1",
"description": "An example module to illustrate the usage of a package.json",
"author": "Your Name <you.name@example.org>",
"contributors": [
{
"name": "Foo Bar",
"email": "foo.bar@example.com"
}],
"bin": {
"module-name": "./bin/module-name"
},
"scripts": {
"test": "vows --spec --isolate",
"start": "node index.js",
"prepublish": "coffee --bare --compile --output lib/foo src/foo/*.coffee"
},
"main": "lib/foo.js",
"repository": {
"type": "git",
"url": "https://github.com/nodejitsu/browsenpm.org"
},
"bugs": {
"url": "https://github.com/nodejitsu/browsenpm.org/issues"
},
"keywords": ["nodejitsu", "example", "browsenpm"],
"dependencies": {
"primus": "*",
"async": "~0.8.0",
"express": "4.2.x",
"winston": "git://github.com/flatiron/winston#master",
"bigpipe": "bigpipe/pagelet",
"plates": "https://github.com/flatiron/plates/tarball/master"
},
"devDependencies": {
"vows": "^0.7.0",
"assume": "<1.0.0 || >=2.3.1 <2.4.5 || >=2.5.2 <3.0.0",
"pre-commit": "*"
},
"preferGlobal": true,
"private": true,
"publishConfig": {
"registry": "https://your-private-hosted-npm.registry.nodejitsu.com"
},
"license": "MIT"
}
以上是关于json NPM包JSON - 来自:browsenpm.org/package.json的主要内容,如果未能解决你的问题,请参考以下文章
来自另一个仓库的 npm 包?
来自 github 的 npm 包,缺少文件
如何在 package.json 中拥有来自不同注册表的 npm 依赖项?
npm 通过package.json来安装第三方包
json NPM-启动包
来自 registry.nodejs.org 的 json 对象显示错误