-
Notifications
You must be signed in to change notification settings - Fork 33
/
package.json
178 lines (178 loc) · 6.76 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "bpmn-visualization",
"version": "0.45.0-post",
"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.27.0",
"fast-xml-parser": "4.5.0",
"mxgraph": "4.2.2",
"strnum": "1.0.5"
},
"devDependencies": {
"@asciidoctor/core": "~3.0.4",
"@microsoft/api-extractor": "~7.47.11",
"@rollup/plugin-commonjs": "~28.0.1",
"@rollup/plugin-node-resolve": "~15.3.0",
"@rollup/plugin-terser": "~0.4.4",
"@types/debug": "~4.1.12",
"@types/jest-image-snapshot": "~6.4.0",
"@types/minimist": "~1.2.5",
"@typescript-eslint/eslint-plugin": "~8.18.0",
"@typescript-eslint/parser": "~8.18.0",
"autoprefixer": "~10.4.20",
"clipboardy": "~4.0.0",
"cross-env": "~7.0.3",
"cssnano": "~7.0.6",
"debug": "~4.3.7",
"eslint": "~8.57.0",
"eslint-config-prettier": "~9.1.0",
"eslint-import-resolver-typescript": "~3.7.0",
"eslint-plugin-import": "~2.31.0",
"eslint-plugin-jest": "~28.9.0",
"eslint-plugin-jest-extended": "^2.4.0",
"eslint-plugin-notice": "~1.0.0",
"eslint-plugin-playwright": "~2.1.0",
"eslint-plugin-prettier": "~5.2.1",
"eslint-plugin-unicorn": "~56.0.1",
"expect-playwright": "~0.8.0",
"fs-extra": "~11.2.0",
"husky": "~9.1.7",
"jest": "~29.7.0",
"jest-environment-jsdom": "~29.7.0",
"jest-extended": "~4.0.2",
"jest-html-reporter": "~3.10.2",
"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.2.11",
"minimist": "~1.2.8",
"npm-run-all": "~4.1.5",
"pinst": "~3.0.0",
"playwright": "~1.48.1",
"postcss": "~8.4.49",
"postcss-cli": "~11.0.0",
"prettier": "~3.4.2",
"rimraf": "~6.0.1",
"rollup": "~4.27.4",
"rollup-plugin-cleanup": "~3.2.1",
"rollup-plugin-node-externals": "~7.1.3",
"rollup-plugin-sizes": "~1.0.6",
"rollup-plugin-typescript2": "~0.36.0",
"tailwindcss": "~3.4.16",
"ts-jest": "~29.2.5",
"typedoc": "~0.26.11",
"typescript": "~5.4.5",
"vite": "~5.4.11"
},
"overrides": {
"@types/node": "^16.18.0"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,cts,mts}": [
"eslint --fix"
]
}
}