Socket
Socket
Sign inDemoInstall

elm-spa

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-spa

single page apps made easy


Version published
Weekly downloads
907
increased by45.82%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 12 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc