Created
February 12, 2018 18:27
-
-
Save avescodes/a2c1a1efc53f9edf73cdad03ddeb201a to your computer and use it in GitHub Desktop.
Projectionist Projections for Phoenix 1.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"lib/*.ex": { | |
"type": "module", | |
"alternate": "test/{}_test.exs" | |
}, | |
"test/*_test.exs": { | |
"type": "test", | |
"alternate": "lib/{}.ex" | |
}, | |
"lib/**/controllers/*_controller.ex": { | |
"type": "controller", | |
"alternate": "test/{dirname}/controllers/{basename}_controller_test.exs" | |
}, | |
"lib/**/templates/*.html.eex": { | |
"type": "template", | |
"alternate": "lib/{dirname}/views/{basename}_view.ex" | |
}, | |
"lib/**/views/*_view.ex": { | |
"type": "view", | |
"alternate": "test/{dirname}/views/{basename}_view_test.ex" | |
}, | |
"lib/*/router.ex": { | |
"type": "router", | |
"alternate": "lib/{}/router.ex" | |
}, | |
"README.md": { "type": "docs" }, | |
"docs/*.md": { "type": "docs" }, | |
"assets/css/*.css": { "type": "css" }, | |
"assets/js/*.js": { "type": "js" }, | |
"config/*.exs": { "type": "config" }, | |
"config/config.exs": { "type": "config" }, | |
"mix.exs": { "type": "mix" }, | |
"priv/repo/seeds.exs": { "type": "seeds" }, | |
"priv/repo/migrations/*.exs": { | |
"type": "migration", | |
"make": "mix ecto.migrate" | |
}, | |
"*": { | |
"console": "iex -S mix", | |
"make": "mix compile", | |
"start": "mix phx.server" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment