2.0.0 • Published 6 years ago

elm-skeleton v2.0.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
6 years ago

Elm Skeleton

npm.io

Set up a new Elm project or add a feature to an existing project.

The skeleton produced will be set up to be used as a programWithFlags, so will not work with elm-reactor.

Install:

$ npm install -g elm-move
$ npm install -g elm-skeleton

To Use:

For a new project

$ elm-skeleton BrandNewProject

Verify that the path and namespace are correct when prompted, and then include the new elm-package.json.

For building on an existing project

A larger project might have many elm-architecture-adherent folders and files.

Supposing the following folder structure, let's add another feature to Miscellany/Doohickeys.

assets
|
|-- elm
|    |
|    |-- Widgets
|    |
|    |-- Miscellany
|    |    |
|    |    |-- Doohickeys
|    |
...
$ cd assets/elm
$ elm-skeleton Miscellany/Doohickeys/Whatsit

Verify that the prompt and namespace are correct when prompted.

Creating a new elm skeleton
Path: Miscellany/Doohickeys/Whatsit
Namespace: Miscellany-Doohickeys-Whatsit
Are the path and namespace correct?
1) Yes
2) No
#?

Notice that the namespace we'll be using for the stylesheet matches the directory.

Do not add a new elm-package.json.

2.0.0

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago