This will ensure that when the compeller is invoked it will create a JSON specification file.
This could be a seriously dangerous side effect that would make testing an awful experience and honestly needs a better solution.
One thing could be to add a command to the CLI that can find the typescript file, but it would mean that we need to have a compeller.js configuration to point at the file location, and I think we have all got enough configuration files in our project.
Another option would be to somehow bind to the usage of compeller and find it with the CLI.
TODO
[x] Require node env to generate not be production
closes: #15
This will ensure that when the compeller is invoked it will create a JSON specification file.
This could be a seriously dangerous side effect that would make testing an awful experience and honestly needs a better solution.
One thing could be to add a command to the CLI that can find the typescript file, but it would mean that we need to have a
compeller.js
configuration to point at the file location, and I think we have all got enough configuration files in our project.Another option would be to somehow bind to the usage of compeller and find it with the CLI.
TODO