https://github.com/librariesio/mix-deps-json
:strawberry: A service that eats up mix.exs files and spits out dependencies as JSON.
https://github.com/librariesio/mix-deps-json
dependencies elixir librariesio mix parser
Last synced: about 1 year ago
JSON representation
:strawberry: A service that eats up mix.exs files and spits out dependencies as JSON.
- Host: GitHub
- URL: https://github.com/librariesio/mix-deps-json
- Owner: librariesio
- License: mit
- Created: 2015-03-24T12:51:19.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-05-09T22:18:33.000Z (about 7 years ago)
- Last Synced: 2025-04-02T06:22:17.787Z (about 1 year ago)
- Topics: dependencies, elixir, librariesio, mix, parser
- Language: Elixir
- Homepage: https://libraries.io/github/librariesio/mix-deps-json
- Size: 104 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# mix-deps-json
[](https://travis-ci.org/librariesio/mix-deps-json)
[](http://inch-ci.org/github/librariesio/mix-deps-json)
[](https://github.com/librariesio/mix-deps-json/blob/master/LICENSE.txt)
[](https://hub.docker.com/r/librariesio/mix-deps-json/)
This is a minimal elixir proxy that accepts a mix.exs file as a POST body, and spits out the project dependencies as JSON for [Libraries.io](https://libraries.io).
Processed requests return a status code of 200 and JSON body, failed requests will return 422 and ":(" as the body.
## Docker
You can use Docker to run mix-deps-json
First, install Docker. If you've got run macOS or Windows, Docker for Mac/Windows makes this really easy.
If you have Windows Home Edition, you'll need to download and run Docker Toolbox.
Then, run:
docker run -t -e PORT=5000 -p 5000:5000 mix-deps-json
mix-deps-json will be running on http://localhost:5000.
Note: You can add PORT to a .env file instead of supplying them directly on the command-line.
## Development
Source hosted at [GitHub](http://github.com/librariesio/mix-deps-json).
Report issues/feature requests on [GitHub Issues](http://github.com/librariesio/mix-deps-json/issues). Follow us on Twitter [@librariesio](https://twitter.com/librariesio). We also hangout on [Gitter](https://gitter.im/librariesio/support).
### Note on Patches/Pull Requests
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
future version unintentionally.
* Add documentation if necessary.
* Commit, do not change procfile, version, or history.
* Send a pull request. Bonus points for topic branches.
## Copyright
Copyright (c) 2016 Andrew Nesbitt. See [LICENSE](https://github.com/librariesio/mix-deps-json/blob/master/LICENSE) for details.