Files
HackFlowy/package.json
T
DC* b4d3eab02c Heroku integration with foreman
Add foreman configuration for Heroku:
- To test production configuration execute NODE_ENV=production foreman
  start
- Database connection configuration now handles "use_env_variable" which
  should be defined as a environment variable such as "DATABASE_URL"
  with a proper database URI connection string, ie:
  postgres://user:password@db.example.com:5432/database
- Added package.json configuration to run migrations and db seed after
  `npm install`

Update frontend models to match sequelize definition.
Update views to work according to the changes above.
Handling isCompleted and parentId apropiately for PostgreSQL databases
2014-08-14 22:05:54 -03:00

26 lines
676 B
JSON

{
"name": "hackflowy",
"version": "0.0.1",
"description": "A simple WorkFlowy clone",
"dependencies": {
"express": "~3.1.0",
"path": "~0.4.9",
"pg": "~3.4.1",
"sequelize": "~1.7.9",
"socket.io": "~1.0.6",
"config": "~1.0.2"
},
"devDependencies": {
"sqlite3": "~2.1.0"
},
"engines": {
"node": "0.10.x"
},
"scripts": {
"start": "node server.js",
"db:migrate": "./node_modules/sequelize/bin/sequelize -m --config config/database.json",
"db:seed": "node db/seed/initial_tasks.js",
"postinstall": "npm run db:migrate && npm run db:seed"
}
}