dillonkearns / elm-typescript-interop

Generate TypeScript declaration files for your elm ports!
BSD 3-Clause "New" or "Revised" License
165 stars 13 forks source link

Add `prepare` script to `package.json` #25

Closed derrickbeining closed 4 years ago

derrickbeining commented 4 years ago

This commit adds a prepare script which performs the build step so that users of elm-typescript-interop can invoke the program with npx from source hosted by an arbitrary remote git repository, instead of only being able to invoke the prebuilt version distributed by the npm registry. This would allow users to use unpublished versions, branches, or forks of elm-typescript-interop with npx via its support for passing a git repository as an argument

dillonkearns commented 4 years ago

Nice, I wasn't familiar with this option! Thank you for this! 🙏

Sorry for the slow response on this one, I've been trying to juggle my other open source projects as well!