Add a filepizza binary.

pull/18/head
Alex Kern 11 years ago
parent 779b4b7644
commit 833021d5dd

@ -1,2 +1,3 @@
#!/usr/bin/env node
require('babel/register') require('babel/register')
module.exports = require('./lib/server') module.exports = require('./lib/server')

@ -1,9 +1,9 @@
{ {
"name": "filepizza-peer", "name": "filepizza-peer",
"version": "0.0.0", "version": "1.0.0",
"main": "server.js", "main": "server.js",
"browser": "client.js", "browser": "client.js",
"author": "Alex Kern <alex@kern.io>", "author": "Alex Kern <alex@kern.io> (http://kern.io)",
"dependencies": { "dependencies": {
"peerjs": "^0.3.14", "peerjs": "^0.3.14",
"node-uuid": "^1.4.3" "node-uuid": "^1.4.3"

@ -1,6 +1,6 @@
{ {
"name": "filepizza", "name": "filepizza",
"version": "0.0.0", "version": "0.1.0",
"description": "Free peer-to-peer file transfers in your browser.", "description": "Free peer-to-peer file transfers in your browser.",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
@ -10,7 +10,7 @@
"type": "git", "type": "git",
"url": "git@github.com:kern/filepizza.git" "url": "git@github.com:kern/filepizza.git"
}, },
"author": "Alex Kern <alex@kern.io>", "author": "Alex Kern <alex@kern.io> (http://kern.io)",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"bugs": { "bugs": {
"url": "https://github.com/kern/filepizza/issues" "url": "https://github.com/kern/filepizza/issues"
@ -42,6 +42,10 @@
"xkcd-password": "^1.2.0" "xkcd-password": "^1.2.0"
}, },
"engines": { "engines": {
"node": "0.10.x" "node": "0.12.x"
},
"preferGlobal": "true",
"bin": {
"filepizza" : "index.js"
} }
} }

Loading…
Cancel
Save