From 1b2533b53da9c5602cffb5c5f3a02695580bf82b Mon Sep 17 00:00:00 2001 From: Maria Neise Date: Wed, 6 Jan 2016 11:26:19 +1300 Subject: [PATCH] Update package.json. --- package.json | 8 ++++++-- scripts/release.clj | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 444baea..607ad81 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,13 @@ { "name": "hello-npm", - "version": "0.0.1", + "version": "0.1.0", "description": "An example module to illustrate the usage of ClojureScript and npm", "author": "Maria Geller ", - "main": "lib/hello_npm.js", + "main": "release/hello_npm.js", + "repository": { + "type": "git", + "url": "git@github.com:mneise/hello-npm.git" + }, "dependencies": { }, "devDependencies": { diff --git a/scripts/release.clj b/scripts/release.clj index 78a78f6..78d0b39 100644 --- a/scripts/release.clj +++ b/scripts/release.clj @@ -6,6 +6,8 @@ (b/build "src" {:output-to "release/hello_npm.js" :output-dir "release" - :optimizations :advanced - :verbose true}) + :optimizations :simple + :target :nodejs + :verbose true + :main 'hello-npm.core}) (println "... done. Elapsed" (/ (- (System/nanoTime) start) 1e9) "seconds"))