@moddota/dota-data
v0.45.0
Published
Auto-generated Dota 2 resource dumps
Downloads
35
Readme
dota-data
Auto-generated Dota 2 resource dumps.
Data from this package is available on ModDota API page (previously dota.tools).
To update from a new dump
For contributors:
If you want to update from an API dump
- Check out this repository
- Install with
npm ci - Run
npm run auto-dumpand wait for the script to finish and dota to close. - Run
npm run buildto generate all package files. - Commit changes
- Create a pull request
If you are updating the API manually
- Edit the corresponding
.tsfiles (i.e.modifier-properties.ts) - Run
npm cithennpm run buildin the root of the repository - You should now have corresponding
.jsonfiles re-generated (i.e.api.json) - Commit changes
- Create a pull request
For maintainers:
- Run
npm version minor - Push with tags
