Adds .npmignore and pkg.main to supports package managers such as cortex(ctx.io) or browserify