Giter VIP home page Giter VIP logo

Comments (3)

SeanGallen avatar SeanGallen commented on May 18, 2024 3

Everything I have come across says Elm is its own and separate entity. So for small projects, elm's package works fine by itself. As the community grows larger and more packages are added to the elm-packages, the need to use the normal "package.json" will grow smaller even for large projects.

Now, saying this, Elm is designed to be incorporated into larger Javascript projects. So it is made to work with a 'normal' package.json'. In How to Use Elm at Work (http://elm-lang.org/blog/how-to-use-elm-at-work), it is stress to go slow when bringing it into a large existing project.

I guess my answer to your question, is it depends on the size and needs of the project you are building.

from learn-elm.

nelsonic avatar nelsonic commented on May 18, 2024 1

@SeanGallen thanks for your answer.
I guess we need to contextualise the question ...
We need to ensure that even the smallest module has continuous integration so we know the "build status" of every part of our stack.
I don't know if Travis-CI will build an elm package without node, but as soon as we confirm this we can ditch the package.json 😉

from learn-elm.

SeanGallen avatar SeanGallen commented on May 18, 2024

Thank you for your reply.
I am still learning more about Travis-CI so I cannot answer this question with certainty but I did a quick research and found Elm's community has a Testing repo which Build passing from Travis-CI. Here is a link to it. https://github.com/elm-community/elm-test
Node and npm are still used if you look at the .travis.yml file but a "node package.json" is unneeded.

I am making an assumption here so forgive me but if the testing platform can get a travis build passing status I would wager the code you TDD using the platform should also get a build status passing. (if you pass the tests.) Also, Elm is designed to fit in with Node and JS similar to how C++ was designed for C so if we need to bring in a "normal" package.json we can do so.

Again, this is only my opinion. I would love to hear your opinion especially since I need to sharp my Travis.CI knowledge

from learn-elm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.