Reputation:
I have seen projects with one or both of them and both files contain dependencies and project info. What is the difference and are both valid with version 0.19.0?
Upvotes: 6
Views: 1017
Reputation: 29106
elm-package.json
is the package manifest used in 0.18. elm.json
is the package manifest used in 0.19. It mostly serves the same purpose but uses a different schema that amongst other changes now separates direct from indirect dependencies.
Some more information is available in/via the 0.19 upgrade guide
Upvotes: 14