elm-spa

6.0.6 • Public • Published

elm-spa cli

the command-line interface for elm-spa

installation

npm install -g elm-spa@latest

usage

$ elm-spa help
elm-spa – version 6.0.6

Commands:
elm-spa new . . . . . . . . .  create a new project
elm-spa add <url> . . . . . . . . create a new page
elm-spa build . . . . . . one-time production build
elm-spa server  . . . . . . start a live dev server

Other commands:
elm-spa gen . . . . generates code without elm make
elm-spa watch . . . .  runs elm-spa gen as you code

Visit https://elm-spa.dev for more!

learn more

Check out the official guide at https://elm-spa.dev!

contributing

The CLI is written with TypeScript + NodeJS. Here's how you can get started contributing:

git clone git@github.com:ryan-haskell/elm-spa  # clone the repo
cd elm-spa/src/cli                        # enter the CLI folder
npm start                                 # run first time dev setup
npm run dev     # compiles as you code
npm run build   # one-time production build
npm run test    # run test suite

playing with the CLI locally

Here's how you can make the elm-spa command work with your local build of this repo.

npm remove -g elm-spa   # remove any existing `elm-spa` installs
npm link                # make `elm-spa` refer to our local code

Dependents (0)

Package Sidebar

Install

npm i elm-spa

Weekly Downloads

624

Version

6.0.6

License

BSD-3-Clause

Unpacked Size

71 kB

Total Files

40

Last publish

Collaborators

  • ryannhg