apiaryio/curl-trace-parser

Convert Coffee to JS

zzen opened this issue · 2 comments

zzen commented

Don't publish code with require("coffee-script") into npm, it's bad habit. Some people use CoffeeScript, others don't.

Instead - have a quick build task that compiles CoffeeScript into JavaScript and publish that. More details (.gitignore, .npmignore, the prepublish script etc.) are here:

http://stackoverflow.com/questions/13645824/can-i-write-npm-package-in-coffeescript

I do not publish NPM package with a CoffeeScript run-time dependency, of course. It's only a part of the package. I'll add /src to the .npmignore.

I added /src to .npmignore. Solved.