lumo-project

0.0.4 • Public • Published

lumo-project

Coordination for lumo based cljs projects.

Provides a simple mechanism for managing cljs dependencies via npm, scripts for running builds and an improved repl experience.

Installation

first, install lumo at version 1.8.0-beta or higher.

then:

npm install -g lumo-project

Configuration

lumo-project pulls config from your package.json using the lumo key. The following options are considered:

  • dependencies: array of cljs dependencies to be added to the classpath on startup. These are expected to be found in the node_modules dir.
  • src-path: array of cljs src code paths to add to the classpath on startup
  • main the main entrypoint function of the project, used in the run and build commands
{
  "name": "example-package",
  "lumo": {
    "dependencies": {
      "foo": "0.0.1",
      "bar": "0.0.2"
    },
    "src-paths": [
      "src"
    ],
    "main": "hello.core/hello"
  },
}

Example Usage

# starts repl with deps in classpath
lumo-project 

# builds runable js 
lumo-project build

Todo

  • maven deps (how to install these?)
  • pretty repl
  • release to npm
  • build parameters

Package Sidebar

Install

npm i lumo-project

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • bhurlow