diff --git a/README.md b/README.md index 1f0b7cc..884224c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ You will need [Leiningen][1] 2.0 or above installed. To start a web server for the application, run: - lein run + lein npm install + lein run ## License diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..a16f310 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,13 @@ +{ + "name": "geocsv", + "version": "0.1.0-SNAPSHOT", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "leaflet": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.3.1.tgz", + "integrity": "sha512-adQOIzh+bfdridLM1xIgJ9VnJbAUY3wqs/ueF+ITla+PLQ1z47USdBKUf+iD9FuUA8RtlT6j6hZBfZoA6mW+XQ==" + } + } +} diff --git a/project.clj b/project.clj index 3ba53f9..9992b17 100644 --- a/project.clj +++ b/project.clj @@ -39,6 +39,7 @@ [selmer "1.12.18"]] :min-lein-version "2.0.0" + :npm {:dependencies [[leaflet "1.3.1"]]} :source-paths ["src/clj" "src/cljs" "src/cljc"] :test-paths ["test/clj"] @@ -46,7 +47,11 @@ :target-path "target/%s/" :main ^:skip-aot geocsv.core - :plugins [[lein-cljsbuild "1.1.7"]] + :plugins [[lein-cljsbuild "1.1.7"] + [lein-codox "0.10.7"] + [lein-npm "0.6.2"] + [lein-release "1.0.5"]] + :clean-targets ^{:protect false} [:target-path [:cljsbuild :builds :app :compiler :output-dir] [:cljsbuild :builds :app :compiler :output-to]] :figwheel diff --git a/resources/html/home.html b/resources/html/home.html index d3d806d..95b7037 100644 --- a/resources/html/home.html +++ b/resources/html/home.html @@ -6,7 +6,7 @@