Microsoft/TypeScript — pull request #961 by jedmao (2014-10-25 06:29:31+00:00)
Title: Introduce .editorconfig file

See http://editorconfig.org/ for details.

package.json was changed to 2-space indentation here, because that's what npm commands will change it to, whenever a command is run. It's quite common for json files, so they've all been set the same, just like a bower.json file would be as well.