flosse / sloc

simple tool to count SLOC (source lines of code)
MIT License
945 stars 83 forks source link

package.json optimizations #22

Closed stevenvachon closed 10 years ago

stevenvachon commented 10 years ago

bin and lib paths are already relative to the package.json file.

bin only needs to be an object if the executable name differs from name or when supplying multiple names.

files makes npm install --production installs much lighter.

scripts don't need to target executables directly as they are added to PATH during npm install.

stevenvachon commented 10 years ago

Sorry for the ridiculous amount of commits; I was using github.com's editor and missed things.

flosse commented 10 years ago

thx!

stevenvachon commented 10 years ago

No prob!