Created separate npm install for postal.diagnostics. Moved package.json files to lib/node

This commit is contained in:
Jim Cowart 2012-04-24 21:35:40 -04:00
parent e2155cc1ef
commit 67a02992b2
7 changed files with 118 additions and 30 deletions

View file

@ -8,7 +8,7 @@ mv ./lib/standard/postal.amd.min.js ./lib/amd/postal.min.js
mv ./lib/standard/postal.diagnostics.amd.js ./lib/amd/postal.diagnostics.js
mv ./lib/standard/postal.diagnostics.amd.min.js ./lib/amd/postal.diagnostics.min.js
mv ./lib/standard/postal.diagnostics.node.js ./lib/node/postal.diagnostics.js
mv ./lib/standard/postal.diagnostics.node.js ./lib/node/diags/postal.diagnostics.js
mv ./lib/standard/postal.node.js ./lib/node/postal.js
rm ./lib/standard/postal.diagnostics.node*
rm ./lib/standard/postal.node*

12
lib/node/.npmignore Normal file
View file

@ -0,0 +1,12 @@
build-browser-diags.json
build-browser.json
build-all.sh
nodetesthost.js
example
node_modules
spec
src
ext
lib/browser
lib/amd
diags

View file

@ -2,9 +2,10 @@ build-browser-diags.json
build-browser.json
build-all.sh
nodetesthost.js
example/
node_modules/
spec/
src/
ext/
lib/browser/
example
node_modules
spec
src
ext
lib/browser
lib/amd

View file

@ -0,0 +1,47 @@
{
"name" : "postal.diagnostics",
"description" : "Wiretap add-on for postal.js allowing configurable console.logging output of messages being published through postal's message bus.",
"version" : "0.6.0",
"homepage" : "http://github.com/ifandelse/postal.js",
"repository" : {
"type" : "git",
"url" : "git://github.com/ifandelse/postal.js.git"
},
"author" : {
"name" : "Jim Cowart",
"email" : "jim@ifandelse.com",
"url" : "http://freshbrewedcode.com/jimcowart"
},
"contributors": [
{
"name" : "Jim Cowart",
"email" : "jim@ifandelse.com",
"url" : "http://freshbrewedcode.com/jimcowart"
}
],
"bugs" : {
"email" : "jim@ifandelse.com",
"url" : "http://github.com/ifandelse/postal.js/issues"
},
"directories" : { "lib" : "./" },
"main" : "./postal.diagnostics.js",
"engines" : {
"node" : ">=0.4.0"
},
"dependencies" : {
"underscore" : ">=1.1.7",
"postal" : ">=0.6.0"
},
"bundleDependencies" : [ "underscore", "postal" ],
"devDependencies" : {},
"licenses" : [
{
"type" : "MIT",
"url" : "http://www.opensource.org/licenses/mit-license.php"
},
{
"type" : "GPL",
"url" : "http://www.opensource.org/licenses/gpl-3.0.html"
}
]
}

51
lib/node/package.json Normal file
View file

@ -0,0 +1,51 @@
{
"name" : "postal",
"description" : "Pub/Sub library providing wildcard subscriptions, complex message handling, etc. Works server and client-side.",
"version" : "0.6.0",
"homepage" : "http://github.com/ifandelse/postal.js",
"repository" : {
"type" : "git",
"url" : "git://github.com/ifandelse/postal.js.git"
},
"author" : {
"name" : "Jim Cowart",
"email" : "jim@ifandelse.com",
"url" : "http://freshbrewedcode.com/jimcowart"
},
"contributors": [
{
"name" : "Jim Cowart",
"email" : "jim@ifandelse.com",
"url" : "http://freshbrewedcode.com/jimcowart"
},
{
"name" : "Alex Robson",
"email" : "asrobson@gmail.com",
"url" : "http://freshbrewedcode.com/alexrobson"
}
],
"bugs" : {
"email" : "jim@ifandelse.com",
"url" : "http://github.com/ifandelse/postal.js/issues"
},
"directories" : { "lib" : "./" },
"main" : "./postal.js",
"engines" : {
"node" : ">=0.4.0"
},
"dependencies" : {
"underscore" : ">=1.1.7"
},
"bundleDependencies" : [ "underscore" ],
"devDependencies" : {},
"licenses" : [
{
"type" : "MIT",
"url" : "http://www.opensource.org/licenses/mit-license.php"
},
{
"type" : "GPL",
"url" : "http://www.opensource.org/licenses/gpl-3.0.html"
}
]
}

View file

@ -1,23 +0,0 @@
{
"author" : "Jim Cowart <jim@ifandelse.com> (http://ifandelse.com)",
"name" : "postal",
"description" : "Pub/Sub library providing wildcard subscriptions, complex message handling, etc. Works server and client-side.",
"version" : "0.6.0",
"homepage" : "http://github.com/ifandelse/postal.js",
"repository" : {
"type" : "git",
"url" : "git://github.com/ifandelse/postal.js.git"
},
"main" : "./lib/node/postal.js",
"engines" : {
"node" : ">=0.4.0"
},
"dependencies" : {
"underscore" : ">=1.1.7"
},
"bundleDependencies" : [ "underscore" ],
"devDependencies" : {},
"directories" : {
"lib" : "./lib/node"
}
}