Skip to content

Instantly share code, notes, and snippets.

Created January 5, 2013 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4462764 to your computer and use it in GitHub Desktop.
Save anonymous/4462764 to your computer and use it in GitHub Desktop.
// You can compile this using:
// $ node -e 'console.log(JSON.stringify(require("./package")));' > package.json
//
// Also you can add this hook to .git/hooks/pre-commit to automatically do it on every commit:
// if [ `git diff --cached --name-only HEAD | grep '^package.js$' | wc -l` -ne "0" ]; then
// echo 'package.js modified, compiling it'
// node -e 'console.log(JSON.stringify(require("./package")));' > package.json
// git add package.json
// fi
module.exports = {
WARNING: "You should not modify package.json yourself, change package.js and compile it instead",
// general info
author: "Alex Kocharin",
name: "private-package",
version: "0.3.1",
repository: {
type: "git",
url: "git://github.com/rlidwka/private-package.git",
},
engines: {
node: ">= 0.8",
},
main: "server.js",
engines: {
node: ">= 0.6",
},
// main dependencies
dependencies: {
// require express 3
express: ">= 3.0.1",
// https://github.com/jed/cookies/pull/18
cookies: ">= 0.3.4",
async: ">= 0.1.22",
// date packages
"date-utils": ">= 1.2.12",
strftime: ">= 0.4.7",
// severe bug fixed by me, but not yet approved: https://github.com/TooTallNate/node-time/pull/22
time: "git://github.com/rlidwka/node-time.git",
// this package is outdated in NPM, trouble with startRecording
"tropo-webapi": ">= 1.0.16",
// another critical bug here: https://github.com/stevegraham/twilio-js/pull/3
"twilio-js": "git://github.com/rlidwka/twilio-js.git",
// TODO: unfixed bug: https://github.com/visionmedia/jade/issues/761
// also waiting for this PR: https://github.com/visionmedia/jade/pull/629
// the same PR rebased: https://github.com/visionmedia/jade/pull/812
jade: "git://github.com/rlidwka/jade.git",
nodemailer: ">= 0.3.31",
mailparser: ">= 0.2.30",
// we require "type: raw" for bunyan logs that appears in 0.10
bunyan: ">= 0.16.4",
// severe bug fixed, but not yet pushed to the repository: https://github.com/milewise/mongode/pull/6
// also this one: https://github.com/milewise/mongode/pull/7
mongode: "git://github.com/rlidwka/mongode.git",
// bug: https://github.com/andris9/simplesmtp/pull/17
simplesmtp: ">= 0.1.25",
// it's my own assets manager, opensource and released as npm module
//"asset-pipeline": ">= 0.2.0",
"asset-pipeline": "git://github.com/rlidwka/asset-pipeline.git",
// assets compilers
less: ">= 1.3.1",
ejs: ">= 0.8.3",
// for development only
hotswap: ">= 1.0.0",
hashish: "*",
// for API reference
marked: "*",
highlight: "*",
// there's a lot of nexmo modules, but none really good; this one at least working
"node-nexmo-api": "*",
},
// stuff for tests
devDependencies: {
mocha: "*",
},
scripts: {
test: "mocha tests || ./node_modules/mocha/.bin/mocha -t 5000 tests",
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment