feat: add CommonJS support to npm package by tbouffard · Pull Request #826 · maxGraph/maxGraph
The new commonjs resources are built with a new tsc command and now referenced in the package.json file. Add new examples using CommonJS with Node.js to demonstrate the new support: - TypeScript example: show the integration with jest and ts-jest - JavaScript example: use `maxGraph` in a headless environment with Node.js (and jsdom). This example exports Graph Model as XML, and exports the rendered Graph to SVG. In addition, add missing git extension in the repository attribute of the package.json file.
tbouffard
marked this pull request as ready for review
tbouffard
deleted the
feat/824-add_commonjs_support_in_npm_package
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters