Updated package.json for Node.js compatibility.

The dist file specified as the main entry point did not work in Node.js. Changed to reference the src file, similar to the browser entry point.