forked from https://github.com/vvakame/atom-dts-generator
$ git clone git@github.com:atom/atom.git
$ cd atom
$ npm install
$ cd build
$ npm install
$ grunt build-docs
$ cd ../
$ ls -la la docs/output/api.json
$ ./setup.sh
$ grunt
$ npm run gen
$ tsc --noImplicitAny --module commonjs atom.d.ts