bpmn-visualization
Version:
A TypeScript library for visualizing process execution data on BPMN diagrams
178 lines (177 loc) • 6.89 kB
JSON
{
"name": "bpmn-visualization",
"version": "0.46.0",
"type": "module",
"sideEffects": false,
"description": "A TypeScript library for visualizing process execution data on BPMN diagrams",
"keywords": [
"typescript",
"bpmn",
"visualization",
"process",
"analytics",
"browser"
],
"homepage": "https://github.com/process-analytics/bpmn-visualization-js#readme",
"bugs": "https://github.com/process-analytics/bpmn-visualization-js/issues",
"license": "Apache-2.0",
"contributors": [
{
"name": "Thomas Bouffard",
"url": "https://github.com/tbouffard"
},
{
"name": "Céline Souchet",
"url": "https://github.com/csouchet"
},
{
"name": "Marcin Michniewicz",
"url": "https://github.com/aibcmars"
}
],
"repository": {
"type": "git",
"url": "git+https://github.com/process-analytics/bpmn-visualization-js.git"
},
"browser": "dist/bpmn-visualization.esm.js",
"module": "dist/bpmn-visualization.esm.js",
"types": "dist/not-supported-ts-versions.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/bpmn-visualization.d.ts",
"default": "./dist/bpmn-visualization.esm.js"
}
},
"./package.json": "./package.json"
},
"typesVersions": {
">=4.0.2": {
"*": [
"dist/bpmn-visualization.d.ts"
]
}
},
"files": [
"dist",
"NOTICE"
],
"scripts": {
"dev": "vite",
"all": "run-s clean lint lint-check build test",
"clean": "rimraf build dist",
"build": "tsc --noEmit",
"build-bundles": "rollup --strictDeprecations -c",
"generate-types": "run-s generate-types:*",
"generate-types:lib": "tsc --project tsconfig.npm-package.json --emitDeclarationOnly --declaration --declarationDir build/types",
"generate-types:dist": "api-extractor run --local --verbose",
"generate-types:not-supported-ts-versions": "node scripts/generate-types-for-not-supported-ts-versions.mjs",
"generate-types:add-license-header": "node scripts/add-license-header.mjs",
"prepack": "run-s clean generate-types build-bundles",
"demo": "run-s demo:*",
"demo:build": "tsc --noEmit && vite build",
"demo:prepare": "node scripts/prepare-demo-for-publish.mjs",
"demo-preview": "vite preview",
"docs": "run-s docs:*",
"docs:user": "node scripts/generate-users-documentation.mjs",
"docs:api": "typedoc --tsconfig ./tsconfig.typedoc.json src/bpmn-visualization.ts",
"lint": "eslint \"**/*.{js,cjs,mjs,ts,cts,mts}\" --max-warnings 0 --quiet --fix",
"lint-check": "eslint \"**/*.{js,cjs,mjs,ts,cts,mts}\" --max-warnings 0",
"test": "run-s test:unit test:integration test:e2e",
"test:unit": "jest --runInBand --config=./test/unit/jest.config.cjs",
"test:unit:coverage": "npm run test:unit -- --coverage",
"test:integration": "jest --runInBand --config=./test/integration/jest.config.cjs",
"test:integration:coverage": "npm run test:integration -- --coverage",
"test:unit:watch": "npm run test:unit:coverage -- --watchAll",
"test:e2e": "cross-env JEST_IMAGE_SNAPSHOT_TRACK_OBSOLETE=1 jest --runInBand --detectOpenHandles --config=./test/e2e/jest.config.cjs",
"test:e2e:verbose": "cross-env DEBUG=bv:test:*,pw:browser* npm run test:e2e",
"test:e2e:coverage": "npm run test:e2e -- --coverage",
"test:perf": "jest --runInBand --detectOpenHandles --config=./test/performance/jest.config.cjs",
"test:perf:verbose": "cross-env DEBUG=bv:test:*,pw:browser* npm run test:perf",
"test:perf:compile": "tsc -p test/performance/",
"test:bundles": "jest --runInBand --detectOpenHandles --config=./test/bundles/jest.config.cjs",
"test:bundles:verbose": "cross-env DEBUG=bv:*,pw:browser* npm run test:bundles",
"version-prepare": "node scripts/manage-version-in-files.mjs && git commit --no-verify -a -m \"chore(release): prepare version for release\"",
"version": "IS_RELEASING=true node scripts/manage-version-in-files.mjs && git add .",
"postversion": "node scripts/manage-version-in-files.mjs && git commit --no-verify -a -m \"chore(release): prepare version for new developments\"",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"prepare": "run-s prepare:*",
"prepare:husky": "husky",
"utils-all": "run-s utils:build utils:test:*",
"utils:build": "rollup --strictDeprecations --config scripts/utils/rollup.config.mjs",
"utils:test:json": "node ./scripts/utils/dist/utils.mjs test/fixtures/bpmn/simple-start-task-end.bpmn --output json",
"utils:test:model": "node ./scripts/utils/dist/utils.mjs test/fixtures/bpmn/simple-start-task-end.bpmn --output model"
},
"dependencies": {
"@typed-mxgraph/typed-mxgraph": "~1.0.8",
"es-toolkit": "~1.33.0",
"fast-xml-parser": "5.0.8",
"mxgraph": "4.2.2"
},
"devDependencies": {
"@asciidoctor/core": "~3.0.4",
"@microsoft/api-extractor": "~7.52.1",
"@rollup/plugin-commonjs": "~28.0.3",
"@rollup/plugin-node-resolve": "~16.0.0",
"@rollup/plugin-terser": "~0.4.4",
"@tailwindcss/postcss": "~4.0.12",
"@types/debug": "~4.1.12",
"@types/jest-image-snapshot": "~6.4.0",
"@types/minimist": "~1.2.5",
"@typescript-eslint/eslint-plugin": "~8.26.1",
"@typescript-eslint/parser": "~8.26.1",
"clipboardy": "~4.0.0",
"cross-env": "~7.0.3",
"cssnano": "~7.0.6",
"debug": "~4.4.0",
"eslint": "~8.57.0",
"eslint-config-prettier": "~10.1.1",
"eslint-import-resolver-typescript": "~3.8.4",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jest": "~28.11.0",
"eslint-plugin-jest-extended": "^3.0.0",
"eslint-plugin-notice": "~1.0.0",
"eslint-plugin-playwright": "~2.2.0",
"eslint-plugin-prettier": "~5.2.3",
"eslint-plugin-unicorn": "~56.0.1",
"expect-playwright": "~0.8.0",
"fs-extra": "~11.3.0",
"husky": "~9.1.7",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jest-extended": "~4.0.2",
"jest-html-reporter": "~4.0.1",
"jest-html-reporters": "~3.1.7",
"jest-image-snapshot": "~6.4.0",
"jest-playwright-preset": "~4.0.0",
"jest-sonar": "~0.2.16",
"lint-staged": "~15.4.3",
"minimist": "~1.2.8",
"npm-run-all": "~4.1.5",
"pinst": "~3.0.0",
"playwright": "~1.51.0",
"postcss": "~8.5.3",
"postcss-cli": "~11.0.0",
"prettier": "~3.5.3",
"rimraf": "~6.0.1",
"rollup": "~4.35.0",
"rollup-plugin-cleanup": "~3.2.1",
"rollup-plugin-node-externals": "~8.0.0",
"rollup-plugin-sizes": "~1.1.0",
"rollup-plugin-typescript2": "~0.36.0",
"tailwindcss": "~4.0.8",
"ts-jest": "~29.2.6",
"typedoc": "~0.27.9",
"typescript": "~5.8.2",
"vite": "~6.2.1"
},
"overrides": {
"@types/node": "^20.17.24"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix"
]
}
}