UNPKG

@maxgraph/core

Version:

maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.

78 lines (77 loc) 2.01 kB
{ "name": "@maxgraph/core", "license": "Apache-2.0", "private": false, "version": "0.21.0", "type": "module", "sideEffects": [ "**/*.css" ], "description": "maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.", "keywords": [ "browser", "canvas", "diagram", "graph", "svg" ], "main": "lib/cjs/index.js", "module": "lib/esm/index.js", "types": "lib/esm/index.d.ts", "exports": { ".": { "import": { "types": "./lib/esm/index.d.ts", "default": "./lib/esm/index.js" }, "require": { "types": "./lib/cjs/index.d.ts", "default": "./lib/cjs/index.js" } }, "./css/*": "./css/*", "./images/*": "./images/*", "./i18n/*": "./i18n/*", "./package.json": "./package.json", "./xsd/*": "./xsd/*" }, "files": [ "css", "lib", "images", "i18n", "xsd" ], "homepage": "https://github.com/maxGraph/maxGraph", "repository": { "type": "git", "url": "git+https://github.com/maxGraph/maxGraph.git" }, "bugs": { "url": "https://github.com/maxGraph/maxGraph/issues" }, "scripts": { "clean": "rimraf lib", "dev": "tsc --watch", "build": "run-s build:*", "build:esm": "tsc --version && tsc", "build:cjs": "tsc --version && tsc --outDir lib/cjs --module commonjs && node scripts/generate-cjs-package-json.mjs", "check:circular-dependencies": "madge --circular --extensions js lib", "check:npm-package": "attw --pack", "docs:api": "typedoc src/index.ts", "prepack": "run-s clean build", "test": "jest --runInBand", "test-check": "tsc --noEmit --project tsconfig.test.json" }, "devDependencies": { "@arethetypeswrong/cli": "~0.18.2", "@swc/core": "~1.13.1", "@swc/jest": "~0.2.39", "jest": "~30.0.5", "jest-environment-jsdom": "~30.0.5", "npm-run-all": "~4.1.5", "madge": "~8.0.0", "rimraf": "~6.0.1", "typedoc": "~0.28.7" } }