Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
niquola committed Jul 15, 2015
1 parent 7bb3241 commit 2ef531e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
4 changes: 2 additions & 2 deletions bin/plpl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env coffee
path = require('path')
fs = require('fs')
lib = path.join(path.dirname(fs.realpathSync(__filename)), '../lib')
require(lib + '/cli.js').run()
lib = path.join(path.dirname(fs.realpathSync(__filename)), '../src')
require(lib + '/cli').run()
20 changes: 13 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,25 @@
},
"devDependencies": {
"coffee": "latest",
"coffee-script": "^1.9.3",
"jasmine-node": "latest",
"pg-native":"latest"
"pg-native": "latest"
},
"author": "niquola",
"engines": { "node": ">=0.10" },
"engines": {
"node": ">=0.10"
},
"homepage": "https://github.com/niquola/plpl",
"files": ["bin", "lib", "src"],
"files": [
"bin",
"lib",
"src"
],
"scripts": {
"publish": "coffee -o lib/ -c src/ && npm publish",
"watch": "webpack --progress --colors --watch",
"watch": "coffee -w --output lib --compile src",
"build": "`npm bin`/coffee --output lib --compile src && ls lib -R",
"test": "",
"test-watch": "",
"watch": "coffee -w --output lib --compile src"
"test": "",
"test-watch": ""
}
}
2 changes: 1 addition & 1 deletion sample/env.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export DATABASE_URL=postgres://localhost:5432/test
export DATABASE_URL=postgres://nicola:nicola@localhost:5432/test
export MIGRATIONS_DIR=./migrations

0 comments on commit 2ef531e

Please sign in to comment.