From e31c1897df54966c3fd7f733c468c78711adb619 Mon Sep 17 00:00:00 2001 From: James Badger Date: Wed, 29 Oct 2014 12:55:46 -0600 Subject: [PATCH] Build and minify when package is installed Move dependencies for builds --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 9f2a79c..8baebe2 100644 --- a/package.json +++ b/package.json @@ -16,12 +16,17 @@ "arctic", "maps" ], + "scripts": { + "postinstall": "jake build" + }, "author": "GeoSensor Web Lab", "license": "BSD-2-Clause", - "devDependencies": { - "http-server": "^0.7.1", + "dependencies": { "jake": "^8.0.9", - "leaflet": "^0.7.3", "uglify-js": "^2.4.15" + }, + "devDependencies": { + "http-server": "^0.7.1", + "leaflet": "^0.7.3" } }