-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4.82 KB
/
package.json
File metadata and controls
136 lines (136 loc) · 4.82 KB
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
{
"name": "@ls1intum/apollon",
"version": "3.4.6",
"description": "A lightweight UML diagram editor for web applications",
"homepage": "https://github.com/ls1intum/apollon#readme",
"bugs": "https://github.com/ls1intum/apollon/issues",
"license": "MIT",
"author": {
"name": "Stephan Krusche",
"email": "krusche@tum.de",
"url": "https://aet.cit.tum.de/krusche"
},
"main": "lib/es5/index.js",
"module": "lib/es6/index.js",
"typings": "lib/es6/index.d.ts",
"exports": {
".": {
"types": "./lib/es6/index.d.ts",
"import": "./lib/es6/index.js",
"require": "./lib/es5/index.js",
"default": "./lib/es6/index.js"
},
"./package.json": "./package.json"
},
"repository": "github:ls1intum/apollon",
"sideEffects": false,
"engines": {
"node": ">=24.7.0",
"npm": ">=11.5.1"
},
"type": "module",
"scripts": {
"postinstall": "husky",
"start": "webpack serve --config ./webpack/webpack.dev.js",
"build": "rm -rf dist && webpack --config ./webpack/webpack.prod.js",
"lint": "npm run lint:ts && npm run lint:css",
"lint:ts": "eslint \"src/main/**/*.{ts,tsx,js,jsx}\"",
"lint:css": "stylelint \"src/**/*.{css,scss}\" --allow-empty-input",
"prepare": "rm -rf lib && tsc -p tsconfig.es5.json && tsc -p tsconfig.json",
"prettier:check": "prettier --check 'src/{main,tests}/**/*.{json,ts,tsx,js,jsx,css,scss,html}'",
"prettier:write": "prettier --write 'src/{main,tests}/**/*.{json,ts,tsx,js,jsx,css,scss,html}'",
"test": "jest -w=4",
"test:coverage": "jest --collectCoverage -w=4",
"test:watch": "jest --watch -w=4",
"update": "ncu -i --format group",
"publish:patch": "npm run prepare && npm run test && npm run docs:copy-api && npm version patch && npm publish",
"publish:minor": "npm run prepare && npm run test && npm run docs:copy-api && npm version minor && npm publish",
"publish:major": "npm run prepare && npm run test && npm run docs:copy-api && npm version major && npm publish",
"docs:copy-api": "cp lib/es6/apollon-editor.d.ts lib/es6/typings.d.ts lib/es6/compat/helpers.d.ts docs/user/api && cp lib/es6/packages/diagram-type.d.ts docs/dev/api",
"docs:prepare": "npm run docs:copy-api && cd docs && pip3 install -r requirements.txt",
"docs:build": "cd docs && make clean && make html",
"docs:watch": "npm run docs:build && serve -p 8088 docs/build/html & chokidar \"docs/source/**/*\" \"docs/images/**/*\" -c \"npm run docs:build\""
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": "stylelint --fix",
"*.{ts,tsx,js,css,md}": "prettier --write"
},
"dependencies": {
"fast-json-patch": "3.1.1",
"is-mobile": "5.0.0",
"react": "18.3.1",
"react-color": "2.19.3",
"react-dom": "18.3.1",
"react-redux": "8.1.3",
"react-tooltip": "5.30.0",
"redux": "4.2.1",
"redux-saga": "1.4.2",
"redux-thunk": "2.4.2",
"rxjs": "7.8.2",
"styled-components": "5.3.11",
"tslib": "2.8.1"
},
"overrides": {
"@babel/runtime": "7.28.6",
"jsdom": "26.1.0",
"postcss": "8.5.6",
"semver": "7.7.3",
"word-wrap": "1.2.5",
"tough-cookie": "6.0.0"
},
"devDependencies": {
"@stylelint/postcss-css-in-js": "0.38.0",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@types/jest": "29.5.14",
"@types/react": "18.3.27",
"@types/react-color": "3.0.13",
"@types/react-dom": "18.3.7",
"@types/react-redux": "7.1.34",
"@types/redux-mock-store": "1.5.0",
"@types/styled-components": "5.1.36",
"@typescript-eslint/eslint-plugin": "8.53.1",
"@typescript-eslint/parser": "8.53.1",
"circular-dependency-plugin": "5.2.2",
"copy-webpack-plugin": "13.0.1",
"css-loader": "7.1.2",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jsdoc": "62.4.1",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-react": "7.37.5",
"fork-ts-checker-webpack-plugin": "9.1.0",
"html-webpack-plugin": "5.6.6",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"jest-html-reporter": "4.3.0",
"jest-styled-components": "7.2.0",
"lint-staged": "16.2.7",
"postcss": "8.5.6",
"postcss-syntax": "0.36.2",
"prettier": "3.8.1",
"redux-mock-store": "1.5.5",
"serve": "14.2.5",
"sleep-promise": "9.1.0",
"style-loader": "4.0.0",
"stylelint": "16.26.1",
"stylelint-config-recommended": "17.0.0",
"stylelint-config-styled-components": "0.1.1",
"stylelint-processor-styled-components": "1.10.0",
"ts-jest": "29.4.6",
"ts-loader": "9.5.4",
"typescript": "5.9.3",
"typescript-eslint": "8.53.1",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-dev-server": "5.2.3",
"webpack-merge": "6.0.1"
}
}