Maintenance update
Exports
Main change is about module exports and file structure
Separate internal files in package are gone (e.g. war3-model/mdx/parse
)
Instead package now provides multiple ways to use it:
- Common-js way
- ES Module way
- Direct browser usage with globals and es-modules
Also instead of providing full-size js & ts in package there are now full js and small typings for ts
Fixes
Infinite loop in mdl parse
Deps & infra
- gl-matrix 2 -> 3
- Typescript 1? -> 4.4
- tslint -> eslint
- browserify -> rollup & webpack
- codemirror -> monaco
war3-model
requires the same node.js@4, nothing changed here
Other
- Better package.json with more infos
- Better docs