Necessary Package Manager

    elm-spa

    6.0.4 • 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.4
    
    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:ryannhg/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

    Install

    npm i elm-spa

    DownloadsWeekly Downloads

    977

    Version

    6.0.4

    License

    BSD-3-Clause

    Unpacked Size

    71 kB

    Total Files

    40

    Last publish

    Collaborators

    • ryannhg