- Clone the repository and change directory to the cloned repository.
- Run
npm install
to install the dependencies - Run
npm start
to run the script - The generated data is in the
output
-folder
Get the latest GAME_MASTER file from the pokemongo-game-master repository
npm run fetch-game-master
We use this standard. Please use this, otherwise it won't be accepted.
It is possible to generate the data inside of a Docker container, so you do not need to download the dependencies on your local machine.
docker build -t $USER/pokemongo-json-pokedex .
docker run -v "$(pwd)/out:/var/lib/pokemongo-json-pokedex/output" -it $USER/pokemongo-json-pokedex
# You can find the output in the "out" folder
ls out/