-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpackage.json
More file actions
199 lines (199 loc) · 9.7 KB
/
package.json
File metadata and controls
199 lines (199 loc) · 9.7 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
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
{
"name": "siemens-element",
"version": "48.9.0",
"description": "Siemens Element open source theme",
"license": "MIT",
"private": true,
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/siemens/element.git"
},
"author": {
"name": "Siemens AG",
"email": "info@siemens.com"
},
"type": "module",
"engines": {
"node": "^24.0.0",
"yarn": "Please use NPM to install dependencies",
"npm": "11"
},
"commitlint": {
"extends": [
"@siemens/commitlint-config/.commitlintrc.js"
]
},
"prettier": "@siemens/prettier-config/.prettierrc.json",
"scripts": {
"start": "ng serve",
"start:prod": "http-server dist/element-examples -s -p 4200 -a 127.0.0.1",
"format": "prettier --log-level warn --write .",
"lint:format": "prettier --check .",
"lint:commit": "commitlint --from=origin/main",
"lint:scss": "stylelint **.scss",
"lint:ng": "ng lint",
"lint:playwright:eslint": "eslint -c playwright/eslint.config.js playwright",
"build:examples": "ng build",
"build:examples:prod": "ng build --configuration production",
"build:examples:aot": "ng build --configuration aot",
"build:all": "npm run translate:build && npm run lib:build && npm run schematics:build && npm run live-preview:build && npm run charts:build && npm run native-charts:build && npm run dashboards:build && npm run maps:build",
"build:all:update-translatable-keys": "npm exec update-translatable-keys",
"lib:build": "ng build element-ng && cpy \"projects/element-ng/*.scss\" \"./dist/@siemens/element-ng\" && cpy \"{LICENSE.md,README.md}\" \"./dist/@siemens/element-ng/\"",
"lib:test": "cross-env TZ=utc ng test element-ng",
"lib:test:browser": "cross-env TZ=utc HEADLESS=0 ng test element-ng",
"schematics:build": "tsc -p projects/element-ng/tsconfig.schematics.json",
"schematics:test": "tsx --tsconfig projects/element-ng/tsconfig.schematics.spec.json node_modules/jasmine/bin/jasmine.js --config=projects/element-ng/jasmine.json",
"translate:test": "ng test element-translate-ng",
"translate:build": "ng build element-translate-ng && cpy LICENSE.md \"./dist/@siemens/element-translate-ng/\"",
"docs:build": "uv run mkdocs build --strict",
"docs:build:api": "cross-env DOCS_COMPOSER=true DOCS_COMPOSER_OPTIONS='{ \"structured\": true, \"structuredRemoveEncoded\": true }' uv run mkdocs build --strict",
"docs:build:generate": "cross-env DOCS_COMPOSER=true DOCS_COMPOSER_GENERATE=true DOCS_COMPOSER_OPTIONS='{ \"structured\": true, \"structuredRemoveEncoded\": true, \"structuredExcludeGenerated\": true }' uv run mkdocs build --strict",
"docs:serve": "uv run mkdocs serve",
"docs:serve:api": "cross-env DOCS_COMPOSER=true uv run mkdocs serve",
"docs:serve:generate": "cross-env DOCS_COMPOSER=true DOCS_COMPOSER_GENERATE=true uv run mkdocs serve",
"icon-viewer:build-docs": "ng build icon-viewer --configuration=production",
"icon-viewer:serve": "ng serve icon-viewer",
"live-preview:build": "ng build live-preview && cpy LICENSE.md \"./dist/@siemens/live-preview/\"",
"prepare": "husky; exit 0",
"prepare-brand": "cpy --flat node_modules/@simpl/brand/assets/favicon/sie-favicon_internet_64px.png docs/_src --rename=favicon.png && cpy --flat node_modules/@simpl/brand/assets/favicon/sie-favicon_internet_64px.png src --rename=favicon.png && cpy --flat node_modules/@simpl/brand/assets/favicon/sie-favicon_internet_64px.png projects/dashboards-demo/src --rename=favicon.png && cpy --flat node_modules/@simpl/brand/assets/favicon/sie-favicon_internet_64px.png projects/dashboards-demo/mfe/src --rename=favicon.png",
"postversion": "npm run format",
"charts:test": "ng test charts-ng",
"charts:build": "ng build charts-ng && cpy \"{LICENSE.md,projects/charts-ng/README.md}\" \"./dist/@siemens/charts-ng/\"",
"native-charts:test": "ng test native-charts-ng",
"native-charts:build": "ng build native-charts-ng && cpy LICENSE.md \"./dist/@siemens/native-charts-ng/\"",
"maps:test": "ng test maps-ng",
"maps:build": "ng build maps-ng && cpy \"{LICENSE.md,projects/maps-ng/README.md}\" \"./dist/@siemens/maps-ng/\"",
"dashboards:test": "ng test dashboards-ng",
"dashboards:build": "ng build dashboards-ng && cpy LICENSE.md \"./dist/@siemens/dashboards-ng/\"",
"dashboards-demo:build-all:esm": "ng run dashboards-demo:build-esm:production && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production,bridge --output-hashing none && ng run dashboards-demo-mfe:build-esm:production",
"dashboards-demo:build-all": "ng build dashboards-demo --configuration demo-deployment && npm run dashboards-demo:build:webcomponents && ng build dashboards-demo-mfe --configuration production --output-hashing none",
"dashboards-demo:build-and-run-all:esm": "npm run dashboards-demo:build-all:esm && http-server dist/dashboards-demo-esm -s -p 4204 -a 127.0.0.1",
"dashboards-demo:build-and-run-all": "npm run dashboards-demo:build-all && http-server dist/dashboards-demo -s -p 4201 -a 127.0.0.1",
"dashboards-demo:run-all:local": "npm run dashboards-demo:build:webcomponents && (ng serve dashboards-demo-mfe & http-server dist/dashboards-demo-webcomponents -s -p 4202 & ng serve dashboards-demo)",
"dashboards-demo:run-all:esm:local": "rm -rf dist/dashboards-demo-esm && npm run dashboards-demo:build:webcomponents && (ng serve dashboards-demo-mfe & http-server dist/dashboards-demo-webcomponents -s -p 4202 & ng run dashboards-demo-mfe:serve-esm & ng run dashboards-demo:serve-esm) ",
"dashboards-demo:build:webcomponents": "ng build dashboards-demo-webcomponents --configuration production --output-hashing none && node projects/dashboards-demo/webcomponents/concat.cjs",
"api-goldens:test": "npm exec tsx tools/api-goldens/index",
"api-goldens:accept": "npm exec tsx tools/api-goldens/index -- accept",
"api-goldens:build-accept": "rimraf .angular dist && npm run build:all && npm run api-goldens:accept"
},
"workspaces": [
"projects/element-ng",
"projects/element-translate-cli",
"projects/element-translate-ng",
"projects/element-theme",
"projects/live-preview",
"projects/charts-ng",
"projects/maps-ng",
"projects/native-charts-ng",
"projects/dashboards-ng",
"projects/dashboards-demo",
"projects/icon-viewer"
],
"dependencies": {
"@angular-architects/module-federation": "20.0.0",
"@angular-architects/native-federation": "21.1.0",
"@angular/cdk": "21.0.6",
"@angular/common": "21.0.8",
"@angular/core": "21.0.8",
"@angular/elements": "21.0.8",
"@angular/forms": "21.0.8",
"@angular/platform-browser": "21.0.8",
"@angular/router": "21.0.8",
"@module-federation/enhanced": "2.0.0",
"@ngx-formly/bootstrap": "6.3.12",
"@ngx-formly/core": "6.3.12",
"@ngx-translate/core": "16.0.4",
"@siemens/element-icons": "^1.0.0",
"@siemens/ngx-datatable": "25.0.0",
"@softarc/native-federation-node": "^3.3.4",
"ag-grid-angular": "^34.3.1",
"ag-grid-community": "^34.3.1",
"echarts": "6.0.0",
"es-module-shims": "^2.0.0",
"flag-icons": "7.5.0",
"google-libphonenumber": "3.2.44",
"gridstack": "12.4.2",
"ngx-image-cropper": "9.1.6",
"ol": "10.7.0",
"ol-ext": "4.0.37",
"ol-mapbox-style": "13.2.0",
"rxjs": "7.8.2",
"tslib": "2.8.1"
},
"devDependencies": {
"@angular-builders/custom-esbuild": "21.0.3",
"@angular-devkit/build-angular": "21.0.5",
"@angular/build": "21.0.5",
"@angular/cli": "21.0.5",
"@angular/compiler": "21.0.8",
"@angular/compiler-cli": "21.0.8",
"@angular/language-service": "21.0.8",
"@angular/localize": "21.0.8",
"@axe-core/playwright": "4.11.0",
"@commitlint/cli": "20.4.1",
"@commitlint/config-conventional": "20.4.1",
"@eslint/js": "9.39.2",
"@microsoft/api-extractor": "7.56.2",
"@playwright/test": "1.57.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@siemens/commitlint-config": "4.1.0",
"@siemens/eslint-config-angular": "4.1.0",
"@siemens/eslint-plugin-defaultvalue": "4.1.0",
"@siemens/prettier-config": "4.1.0",
"@siemens/stylelint-config-scss": "4.1.0",
"@types/geojson": "7946.0.16",
"@types/google-libphonenumber": "7.4.30",
"@types/jasmine": "5.1.15",
"@types/node": "24.10.11",
"angular-eslint": "21.2.0",
"axe-html-reporter": "2.2.11",
"concat": "1.0.3",
"cpy-cli": "7.0.0",
"cross-env": "10.1.0",
"eslint": "9.39.2",
"eslint-plugin-headers": "1.3.3",
"eslint-plugin-perfectionist": "5.5.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-tsdoc": "0.5.0",
"http-server": "14.1.1",
"husky": "9.1.7",
"jasmine": "5.13.0",
"jasmine-core": "5.13.0",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
"karma-firefox-launcher": "2.1.3",
"karma-jasmine": "5.1.0",
"karma-jasmine-html-reporter": "2.2.0",
"karma-jasmine-seed-reporter": "0.2.0",
"karma-junit-reporter": "2.0.1",
"karma-spec-reporter": "0.0.36",
"ng-packagr": "21.0.1",
"piscina": "5.1.4",
"postcss": "8.5.6",
"postcss-scss": "4.0.9",
"prettier": "3.8.1",
"semantic-release": "25.0.3",
"semver": "7.7.4",
"stylelint": "16.26.1",
"stylelint-scss": "7.0.0",
"stylelint-use-logical-spec": "5.0.1",
"tsx": "4.21.0",
"typescript": "5.9.3",
"typescript-eslint": "8.54.0"
},
"optionalDependencies": {
"@siemens-ux/design-tokens": "^0.3.1",
"@simpl/brand": "3.1.0",
"@simpl/docs-composer": "11.16.7"
},
"overrides": {
"@microsoft/api-extractor": {
"typescript": "$typescript"
},
"@simpl/brand": {
"@siemens/element-theme": "file:projects/element-theme"
}
}
}