Added script to pull PvPoke's gamemaster.json and slice it by key into smaller JSON files under dist/data/. This eliminates the need to constantly sync PvPoke's newest gamemaster.json manually ( although I have removed the contents of src/data at this point ). New keys can easily be added, and the opportunity for post-processing could be added.
Currently the keys [ "moves", "pokemon" ] are targeted.
Usage:
npm run build;
node ./dist/sandbox/slice-upstream-gm;
ls ./dist/data/;
# ==> moves.json pokemon.json
Added script to pull PvPoke's
gamemaster.json
and slice it by key into smaller JSON files underdist/data/
. This eliminates the need to constantly sync PvPoke's newestgamemaster.json
manually ( although I have removed the contents ofsrc/data
at this point ). New keys can easily be added, and the opportunity for post-processing could be added. Currently the keys[ "moves", "pokemon" ]
are targeted.Usage: