{{ message }}
Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
223 lines (223 loc) · 8.72 KB
/
Copy pathpackage.json
File metadata and controls
223 lines (223 loc) · 8.72 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
{
"name": "modelscript",
"version": "0.0.0",
"private": true,
"description": "ModelScript",
"keywords": [
"modelscript"
],
"homepage": "https://modelscript.org",
"bugs": {
"url": "https://github.com/modelscript/modelscript/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/modelscript/modelscript.git"
},
"license": "AGPL-3.0-or-later",
"author": "Mohamad Omar Nachawati <omar@modelscript.org>",
"type": "module",
"workspaces": [
"apps/*",
"apps/ide/github-fs",
"packages/*",
"packages/examples/*",
"languages/*"
],
"scripts": {
"bench:parser": "npm run bench:parser --workspace=@modelscript/modelica",
"bench:triplestore": "npx tsx scripts/benchmark-triplestore.ts",
"prebuild": "mkdir -p data",
"build": "nx run-many --target=build --parallel=8",
"build:affected": "nx affected --target=build --parallel=8",
"build:all": "nx run-many --target=build --parallel=8",
"build:extension": "npx tsx apps/cli/src/main.ts generate extension languages/modelica/src/language.ts languages/sysml2/src/language.ts languages/step/src/language.ts languages/owl2/src/language.ts languages/csv/language.ts languages/modelscript/src/language.ts --outdir dist/extension",
"build:ide:extension": "npm run build-extension --workspace=@modelscript/ide",
"build:libs": "nx run-many --target=build --exclude=@modelscript/docs,@modelscript/web --parallel=8",
"ci:act": "bash scripts/run-act.sh pull_request",
"ci:act:build": "bash scripts/run-act.sh -j build_and_deploy",
"ci:act:lint": "bash scripts/run-act.sh -j lint",
"ci:act:test": "bash scripts/run-act.sh -j test",
"ci:full": "bash scripts/ci-local.sh --full",
"ci:local": "bash scripts/ci-local.sh",
"ci:quick": "bash scripts/ci-local.sh --quick",
"clean": "nx run-many --target=clean",
"coverage:consolidate": "npx tsx scripts/consolidate-coverage.ts",
"predev": "mkdir -p data",
"dev": "nx run-many --target=dev --projects=@modelscript/api,@modelscript/web,@modelscript/ide,@modelscript/docs --parallel=5",
"dev:api": "npm run dev --workspace=@modelscript/api",
"dev:docs": "npm run dev --workspace=@modelscript/docs",
"dev:ide": "npm run dev --workspace=@modelscript/ide",
"dev:playground": "npm run dev --workspace=@modelscript/web",
"dev:site": "npm run dev --workspace=@modelscript/docs",
"dev:vscode": "npx tsx apps/cli/src/main.ts sandbox languages/modelica/src/language.ts languages/sysml2/src/language.ts languages/step/src/language.ts languages/owl2/src/language.ts languages/csv/language.ts languages/modelscript/src/language.ts",
"dev:web": "npm run dev --workspace=@modelscript/web",
"docker:build": "docker compose build",
"docker:down": "docker compose down",
"docker:logs": "docker compose logs -f",
"docker:up": "docker compose up -d",
"format": "prettier . --write",
"lint": "nx affected --target=lint --parallel=4 && npm run lint:scripts",
"lint:all": "nx run-many --target=lint --parallel=4 && npm run lint:scripts",
"lint:cycles": "npx nx graph --file=graph.json && node scripts/check-nx-cycles.js",
"lint:filenames": "npx tsx scripts/lint-filenames.ts",
"lint:headers": "npx tsx scripts/normalize-headers.ts --check",
"lint:scripts": "eslint scripts eslint.config.ts --no-warn-ignored",
"package:ide:extension": "npm run build-extension --workspace=@modelscript/ide && (cd apps/ide/dist/extension && npx --yes @vscode/vsce package --no-dependencies --allow-star-activation --out ../)",
"prepare": "husky",
"preview:ide": "npx tsx apps/ide/src/preview-static.ts",
"release": "nx release",
"release:dry-run": "nx release --dry-run",
"test": "node scripts/test-coordinator.js affected",
"test:all": "node scripts/test-coordinator.js run-many",
"test:consolidate": "npx tsx scripts/consolidate-test-reports.ts",
"test:modelica": "npx tsx languages/modelica/tests/testsuite-runner.ts",
"test:modelica:both": "npx tsx languages/modelica/tests/testsuite-runner.ts --flattener=both",
"test:modelica:both:allow-wasm": "npx tsx languages/modelica/tests/testsuite-runner.ts --flattener=both --allow-wasm-failures --wasm-baseline=languages/modelica/tests/wasm-parity-baseline.json",
"test:modelica:coverage": "npm run test:omc:coverage --workspace=@modelscript/modelica",
"test:modelica:js": "npx tsx languages/modelica/tests/testsuite-runner.ts --flattener=ts",
"test:modelica:update": "npx tsx languages/modelica/tests/testsuite-runner.ts --update --omc",
"test:modelica:wasm": "npx tsx languages/modelica/tests/testsuite-runner.ts --flattener=wasm",
"test:msl": "npx tsx languages/modelica/tests/msl-comparison-runner.ts",
"test:msl:diagram": "npx tsx languages/modelica/tests/msl-comparison-runner.ts --stage=diagram",
"test:msl:flatten": "npx tsx languages/modelica/tests/msl-comparison-runner.ts --stage=flatten",
"test:msl:icon": "npx tsx languages/modelica/tests/msl-comparison-runner.ts --stage=icon",
"test:msl:sim": "npx tsx languages/modelica/tests/msl-comparison-runner.ts --stage=simulate",
"test:quick": "node scripts/test-coordinator.js affected",
"test:single": "npx tsx languages/modelica/tests/testsuite-runner.ts",
"typecheck": "nx affected --target=typecheck --parallel=4",
"typecheck:all": "nx run-many --target=typecheck --parallel=4"
},
"lint-staged": {
"*.{ts,tsx}": [
"npx tsx scripts/lint-filenames.ts",
"eslint --config eslint.config.ts --no-warn-ignored",
"prettier --write --ignore-unknown"
],
"*.{js,mjs,cjs,json,md,yml,css}": "prettier --write --ignore-unknown"
},
"overrides": {
"@antv/x6-plugin-selection": {
"@antv/x6": "^3.1.7"
},
"@babel/core": "^7.29.6",
"@babel/plugin-transform-modules-systemjs": "^7.29.4",
"@hono/node-server": "^1.19.15",
"@humanfs/node": "^0.16.8",
"@mermaid-js/parser": "^1.2.0",
"@modelcontextprotocol/sdk": "^1.32.1",
"@modelscript/docs": {
"mermaid": {
"katex": "^0.19.0"
}
},
"@modelscript/web": {
"mermaid": {
"katex": "^0.19.0"
}
},
"@nx/devkit": {
"brace-expansion": "^5.0.12"
},
"@react-router/dev": "^7.18.4",
"@react-router/node": "^7.18.4",
"@react-router/serve": "^7.18.4",
"@sigstore/core": "^3.2.1",
"@sigstore/verify": "^3.1.1",
"@simple-git/argv-parser": "^2.0.1",
"@vue/server-renderer": "^3.5.44",
"adm-zip": "^0.6.1",
"axios": "^1.20.0",
"baseline-browser-mapping": "^2.11.25",
"body-parser": "^2.3.0",
"browserslist": "^4.28.7",
"d3-color": "^3.1.0",
"dompurify": "^3.4.16",
"esbuild": "^0.28.1",
"fast-uri": "^3.1.8",
"fflate": "^0.8.3",
"form-data": "^4.0.6",
"hono": "^4.13.5",
"http-cache-semantics": "^4.3.0",
"image-size": "^2.0.4",
"immutable": "^5.1.8",
"ip-address": "^10.7.1",
"js-yaml": "^4.3.2",
"katex": "^0.19.0",
"mermaid": {
"katex": "^0.19.0"
},
"monaco-editor": {
"dompurify": "^3.4.16"
},
"morgan": "^1.12.1",
"multer": "^2.4.0",
"nanoid": "^3.3.18",
"nx": {
"brace-expansion": "^5.0.12"
},
"postcss": "^8.5.23",
"postcss-selector-parser": "^7.1.3",
"proxy-addr": "^2.0.8",
"qs": "^6.16.0",
"react-router": "^7.18.4",
"react-router-dom": "^7.18.4",
"sigstore": "^4.1.1",
"simple-git": "^4.0.2",
"smol-toml": "^1.7.1",
"source-map-js": "^1.2.2",
"tar": "^7.5.22",
"test-exclude": {
"brace-expansion": "^5.0.12",
"glob": {
"brace-expansion": "^2.1.7"
}
},
"three": "^0.184.0",
"tmp": "^0.2.7",
"undici": "^7.29.1",
"uuid": "^11.1.1",
"valibot": "^1.4.2",
"vitepress": {
"vite": "^6.4.3"
},
"vue": "^3.5.44",
"ws": "^8.21.0",
"yaml": "^2.9.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-conventional": "^19.8.0",
"@eslint/config-array": "^0.19.2",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^10.0.1",
"@nx/js": "^22.7.12",
"@types/node": "^25.3.2",
"ajv": "^8.17.0",
"esbuild": "^0.28.1",
"eslint": "^10.12.0",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-react-refresh": "^0.5.2",
"expect": "^30.5.2",
"glob": "^13.0.6",
"globals": "^17.4.0",
"husky": "^9.1.7",
"jiti": "^2.6.1",
"lint-staged": "^16.4.0",
"lodash.merge": "^4.6.2",
"nx": "^22.7.12",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.3.0",
"prettier-plugin-packagejson": "^3.0.0",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"rimraf": "^6.1.0",
"source-map": "^0.8.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.3"
},
"engines": {
"node": ">=24"
}
}
You can’t perform that action at this time.
