From 40430e606013d05bdcbcd17b8d6d00cef638be87 Mon Sep 17 00:00:00 2001 From: WaffleSouffle Date: Fri, 8 Apr 2016 15:02:06 +0100 Subject: [PATCH] Update hapi-hbs to so "npm install" works issue #21. --- hapi-hbs/config/default.json | 19 +++++++++++++++++++ hapi-hbs/package.json | 23 +++++++++++++---------- 2 files changed, 32 insertions(+), 10 deletions(-) create mode 100644 hapi-hbs/config/default.json diff --git a/hapi-hbs/config/default.json b/hapi-hbs/config/default.json new file mode 100644 index 0000000..db769c4 --- /dev/null +++ b/hapi-hbs/config/default.json @@ -0,0 +1,19 @@ +{ + "isDev": true, + "isSecure": false, + "session": { + "host": "localhost", + "port": 6379, + "db": 1, + "secret": "bang!", + "secure": false + }, + "http": { + "listen": "localhost", + "port": 3000 + }, + "client": { + "apiUrl": "http://localhost:3000", + "debugMode": true + } +} diff --git a/hapi-hbs/package.json b/hapi-hbs/package.json index b7ed968..505b58b 100644 --- a/hapi-hbs/package.json +++ b/hapi-hbs/package.json @@ -2,16 +2,16 @@ "name": "hapi-hbs", "author": "Matt Hernandez ", "version": "0.0.0", - "main": "server.js", "dependencies": { + "ampersand-app": "^1.0.0", "ampersand-dom": "^1.2.1", - "ampersand-form-view": "^2.0.0", - "ampersand-input-view": "^2.0.0", - "ampersand-model": "^4.0.0", - "ampersand-rest-collection": "^2.0.0", - "ampersand-router": "^1.0.1", + "ampersand-form-view": "^3.1.1", + "ampersand-input-view": "^4.0.5", + "ampersand-model": "^5.0.3", + "ampersand-rest-collection": "^4.0.0", + "ampersand-router": "^3.0.1", "ampersand-view": "^7.0.1", - "ampersand-view-switcher": "^1.0.2", + "ampersand-view-switcher": "^2.0.0", "andlog": "^1.0.0", "async": "^0.9.0", "browserify-handlebars": "^1.0.0", @@ -19,11 +19,13 @@ "domify": "^1.3.0", "domready": "^1.0.5", "favicon-setter": "^0.1.1", - "getconfig": "^1.0.0", + "getconfig": "^2.1.0", "handlebars": "^2.0.0", "hapi": "^8.0.0", + "local-links": "^1.2.0", + "lodash": "^4.0.0", "moonboots_hapi": "^4.0.0", - "stylizer": "^1.0.0", + "stylizer": "^2.1.0", "templatizer": "^1.0.0", "underscore": "^1.6.0" }, @@ -39,5 +41,6 @@ "trailing": true, "undef": true, "white": true - } + }, + "main": "server.js" }