git clone --recursive https://github.com/Slayer95/Pokemon-Showdown-Factory.git
npm install
cd Pokemon-Showdown-Factory
cd Pokemon-Showdown && npm install --production && cd ..
git pull origin master
git submodule update --remote
node index
The output is written to factory-sets.json
.