tauren / tmpl-precompile

Precompile jade templates into executable functions
MIT License
25 stars 7 forks source link

Follow NPM best practices #4

Open tauren opened 13 years ago

tauren commented 13 years ago

I just read this blog post about using NPM and realized some updates should be made to tmpl-precompile to follow suggestions about version numbering of dependencies. http://blog.nodejitsu.com/package-dependencies-done-right

Bottom line is it is better to specify something like this:

"dependencies": {
  "jade": "0.x.x",
  "uglify-js": "1.x.x", 
  "async": "0.1.x"
},

Than this:

"dependencies": {
  "jade": ">= 0.13.0",
  "uglify-js": ">= 1.0.1", 
  "async": ">= 0.1.9"
},
jescalan commented 11 years ago

Once #14 is closed, it will take care of this.