Liking cljdoc? Tell your friends :D

automaton-build.project.package-json


add-dependenciesclj

(add-dependencies package-json deps)

Adds 'dependencies' and 'devDependencies' from deps map onto a package-json map.

Adds 'dependencies' and 'devDependencies' from `deps` map onto a `package-json` map.
raw docstring

compare-package-json-depsclj

(compare-package-json-deps deps1 deps2)

Returns the one with higher version

Returns the one with higher version
raw docstring

get-dependenciesclj

(get-dependencies package-json)

load-package-jsonclj

(load-package-json dir)

Read the package.json from dir. Returns the content of a file as a clojure map. Params:

  • dir the directory of the application
Read the package.json from dir.
 Returns the content of a file as a clojure map.
Params:
* `dir` the directory of the application
raw docstring

package-jsonclj


package-json-pathclj

(package-json-path app-dir)

write-package-jsonclj

(write-package-json target-dir content)

Saves package-json content to a json file in target-dir with content.

Saves package-json content to a json file in `target-dir` with `content`.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close