Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request : Provide different templates #384

Open
Tarektouati opened this issue Nov 12, 2019 · 2 comments
Open

Feature request : Provide different templates #384

Tarektouati opened this issue Nov 12, 2019 · 2 comments

Comments

@Tarektouati
Copy link

Is this a bug report?

No, just a feature request.

Hi, maybe we could provide more templates to users, like Elm apps with navigation pre-configured and up and running.
Also bootstrap the project with package.json with some useful scripts like :

"scripts": {
    "build": "elm-app build",
    "start": "elm-app start",
    "make": "elm make",
    "repl": "elm repl",
    "reactor": "elm reactor",
    "test": "elm-test"
  }

Thanks.

@jangerhard
Copy link

jangerhard commented Dec 13, 2019

Hi,

The command elm-app already has these built-in:

Usage: elm-app <command>

where <command> is one of:
    build, start, test, eject, repl, init, reactor, make, install, bump, diff, publish

You can also initialize your own package.json and use custom commands.

@Tarektouati
Copy link
Author

Hi @jangerhard .
This feature request is more about including package.json file at the root directory of the project generated by create-elm-app. with these scripts set in it.
And maybe to add some boilerplate, to more easily setup SPA, etc ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants