Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
186 lines (186 loc) · 16.8 KB
/
Copy pathpackage.json
File metadata and controls
186 lines (186 loc) · 16.8 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
{
"name": "ci-scripts",
"main": "out/index.js",
"types": "out/index.d.ts",
"files": [
"out"
],
"scripts": {
"all_dev": "ts-node ./scripts/all_dev.ts --extension=\"all\"",
"all": "npm ci && concurrently \"npm run build:qt-cli\" \"npm run ci:qt-lib && npm run compile:qt-lib && npm run prepareNatvisFiles && npm run ci:all && npm run ci-lint:all && npm run package:all && npm run install-ext:all_sync\"",
"all_sync": "npm run build:qt-cli && npm run ci:qt-lib && npm run prepareNatvisFiles && npm run compile:qt-lib && npm run ci:all_sync && npm run ci-lint:all_sync && npm run package:all_sync && npm run install-ext:all_sync",
"all_dev:qt-core": "ts-node ./scripts/all_dev.ts --extension=\"qt-core\"",
"all_dev:qt-qml": "ts-node ./scripts/all_dev.ts --extension=\"qt-qml\"",
"all_dev:qt-cpp": "ts-node ./scripts/all_dev.ts --extension=\"qt-cpp\"",
"all_dev:qt-python": "ts-node ./scripts/all_dev.ts --extension=\"qt-python\"",
"all_dev:qt-ui": "ts-node ./scripts/all_dev.ts --extension=\"qt-ui\"",
"all_dev:qt-csharp": "ts-node ./scripts/all_dev.ts --extension=\"qt-csharp\"",
"test:qt-core": "ts-node ./scripts/test.ts --extension=\"qt-core\"",
"test:qt-cpp": "ts-node ./scripts/test.ts --extension=\"qt-cpp\"",
"test:qt-qml": "ts-node ./scripts/test.ts --extension=\"qt-qml\"",
"test:qt-ui": "ts-node ./scripts/test.ts --extension=\"qt-ui\"",
"test:qt-python": "ts-node ./scripts/test.ts --extension=\"qt-python\"",
"test:qt-csharp": "ts-node ./scripts/test.ts --extension=\"qt-csharp\"",
"test:all": "ts-node ./scripts/test.ts --extension=\"all\"",
"lint": "npm run prettierWrite && eslint scripts --fix --cache",
"lint:qt-core": "cd qt-core && npm run lint",
"lint:qt-qml": "cd qt-qml && npm run lint",
"lint:qt-cpp": "cd qt-cpp && npm run lint",
"lint:qt-python": "cd qt-python && npm run lint",
"lint:qt-ui": "cd qt-ui && npm run lint",
"lint:qt-csharp": "cd qt-csharp && npm run lint",
"lint:qt-lib": "cd qt-lib && npm run lint",
"lint:all": "concurrently \"npm run lint\" \"npm run lint:qt-lib\" \"npm run lint:qt-core\" \"npm run lint:qt-cpp\" \"npm run lint:qt-python\" \"npm run lint:qt-ui\" \"npm run lint:qt-qml\" \"npm run lint:qt-csharp\"",
"lint:all_sync": "npm run lint && npm run lint:qt-lib && npm run lint:qt-core && npm run lint:qt-cpp && npm run lint:qt-python && npm run lint:qt-ui && npm run lint:qt-qml && npm run lint:qt-csharp",
"pretest": "npm run prettierWrite && npx tsc --incremental --noEmit && eslint scripts --fix --cache",
"pretest:qt-core": "cd qt-core && npm run pretest",
"pretest:qt-qml": "cd qt-qml && npm run pretest",
"pretest:qt-cpp": "cd qt-cpp && npm run pretest",
"pretest:qt-python": "cd qt-python && npm run pretest",
"pretest:qt-ui": "cd qt-ui && npm run pretest",
"pretest:qt-csharp": "cd qt-csharp && npm run pretest",
"pretest:qt-lib": "cd qt-lib && npm run pretest",
"pretest:all": "concurrently \"npm run pretest\" \"npm run pretest:qt-lib\" \"npm run pretest:qt-core\" \"npm run pretest:qt-cpp\" \"npm run pretest:qt-python\" \"npm run pretest:qt-ui\" \"npm run pretest:qt-qml\" \"npm run pretest:qt-csharp\"",
"pretest:all_sync": "npm run pretest && npm run pretest:qt-lib && npm run pretest:qt-core && npm run pretest:qt-cpp && npm run pretest:qt-python && npm run pretest:qt-ui && npm run pretest:qt-qml && npm run pretest:qt-csharp",
"ci-lint:qt-core": "ts-node ./scripts/ci_lint.ts --dir=\"qt-core\" --exclude_licenses=\"qt-core\" && npm run checkLicenses -- --dir=\"qt-core/webview-ui\" --exclude=\"qt-core-webview\" && npm run checkSbom -- --dir=\"qt-core/webview-ui\"",
"ci-lint:qt-qml": "ts-node ./scripts/ci_lint.ts --dir=\"qt-qml\" --exclude_licenses=\"qt-qml\"",
"ci-lint:qt-cpp": "ts-node ./scripts/ci_lint.ts --dir=\"qt-cpp\" --exclude_licenses=\"qt-cpp\"",
"ci-lint:qt-python": "ts-node ./scripts/ci_lint.ts --dir=\"qt-python\" --exclude_licenses=\"qt-python\"",
"ci-lint:qt-ui": "ts-node ./scripts/ci_lint.ts --dir=\"qt-ui\" --exclude_licenses=\"qt-ui\"",
"ci-lint:qt-csharp": "ts-node ./scripts/ci_lint.ts --dir=\"qt-csharp\" --exclude_licenses=\"qt-csharp\"",
"ci-lint:qt-lib": "npm run checkStyle -- --dir=\"qt-lib\" && npm run eslint -- --dir=\"qt-lib\" && npm run checkPackage -- --dir=\"qt-lib\"",
"ci-lint:all": "concurrently \"npm run ci-lint\" \"npm run ci-lint:qt-lib\" \"npm run ci-lint:qt-core\" \"npm run ci-lint:qt-cpp\" \"npm run ci-lint:qt-python\" \"npm run ci-lint:qt-ui\" \"npm run ci-lint:qt-qml\" \"npm run ci-lint:qt-csharp\" \"npm run checkChangelog:all_ext_pack\"",
"ci-lint:all_sync": "npm run ci-lint && npm run ci-lint:qt-lib && npm run ci-lint:qt-core && npm run ci-lint:qt-cpp && npm run ci-lint:qt-python && npm run ci-lint:qt-ui && npm run ci-lint:qt-qml && npm run ci-lint:qt-csharp",
"ci-lint": "npm run prettierCheck && eslint scripts",
"install-ext:qt-core": "ts-node ./scripts/install-ext.ts --dir=\"qt-core\" --name=\"qt-core\"",
"install-ext:qt-qml": "ts-node ./scripts/install-ext.ts --dir=\"qt-qml\" --name=\"qt-qml\"",
"install-ext:qt-cpp": "ts-node ./scripts/install-ext.ts --dir=\"qt-cpp\" --name=\"qt-cpp\"",
"install-ext:qt-python": "ts-node ./scripts/install-ext.ts --dir=\"qt-python\" --name=\"qt-python\"",
"install-ext:qt-ui": "ts-node ./scripts/install-ext.ts --dir=\"qt-ui\" --name=\"qt-ui\"",
"install-ext:qt-csharp": "ts-node ./scripts/install-ext.ts --dir=\"qt-csharp\" --name=\"qt-csharp\"",
"install-ext:all": "concurrently \"npm run install-ext:qt-core\" \"npm run install-ext:qt-cpp\" \"npm run install-ext:qt-python\" \"npm run install-ext:qt-ui\" \"npm run install-ext:qt-qml\" \"npm run install-ext:qt-csharp\"",
"install-ext:all_sync": "npm run install-ext:qt-core && npm run install-ext:qt-ui && npm run install-ext:qt-cpp && npm run install-ext:qt-python && npm run install-ext:qt-qml && npm run install-ext:qt-csharp",
"install:qt-core": "cd qt-core && npm run install:all",
"install:qt-qml": "cd qt-qml && npm install",
"install:qt-cpp": "cd qt-cpp && npm install",
"install:qt-python": "cd qt-python && npm install",
"install:qt-ui": "cd qt-ui && npm install",
"install:qt-csharp": "cd qt-csharp && npm install",
"install:qt-lib": "cd qt-lib && npm install",
"install:all": "concurrently \"npm install\" \"npm run install:qt-lib\" \"npm run install:qt-core\" \"npm run install:qt-cpp\" \"npm run install:qt-python\" \"npm run install:qt-ui\" \"npm run install:qt-qml\" \"npm run install:qt-csharp\"",
"install:all_sync": "npm install && npm run install:qt-lib && npm run install:qt-core && npm run install:qt-cpp && npm run install:qt-python && npm run install:qt-ui && npm run install:qt-qml && npm run install:qt-csharp",
"eslint": "ts-node ./scripts/eslint.ts",
"ci:qt-core": "cd qt-core && npm run ci:all",
"ci:qt-qml": "cd qt-qml && npm ci",
"ci:qt-cpp": "cd qt-cpp && npm ci",
"ci:qt-python": "cd qt-python && npm ci",
"ci:qt-ui": "cd qt-ui && npm ci",
"ci:qt-csharp": "cd qt-csharp && npm ci",
"ci:qt-lib": "cd qt-lib && npm ci",
"ci:all": "npm ci && concurrently \"npm run ci:qt-lib\" \"npm run ci:qt-core\" \"npm run ci:qt-cpp\" \"npm run ci:qt-python\" \"npm run ci:qt-ui\" \"npm run ci:qt-qml\" \"npm run ci:qt-csharp\"",
"ci:all_sync": "npm ci && npm run ci:qt-lib && npm run ci:qt-core && npm run ci:qt-cpp && npm run ci:qt-python && npm run ci:qt-ui && npm run ci:qt-qml && npm run ci:qt-csharp",
"package:qt-core": "ts-node ./scripts/package.ts --extension=\"qt-core\"",
"package:qt-qml": "ts-node ./scripts/package.ts --extension=\"qt-qml\"",
"package:qt-cpp": "ts-node ./scripts/package.ts --extension=\"qt-cpp\"",
"package:qt-python": "ts-node ./scripts/package.ts --extension=\"qt-python\"",
"package:qt-ui": "ts-node ./scripts/package.ts --extension=\"qt-ui\"",
"package:qt-csharp": "ts-node ./scripts/package.ts --extension=\"qt-csharp\"",
"package:all": "concurrently \"npm run package:qt-core\" \"npm run package:qt-cpp\" \"npm run package:qt-python\" \"npm run package:qt-ui\" \"npm run package:qt-qml\" \"npm run package:qt-csharp\"",
"package:all_sync": "npm run package:qt-core && npm run package:qt-cpp && npm run package:qt-python && npm run package:qt-ui && npm run package:qt-qml && npm run package:qt-csharp",
"compile:qt-core": "cd qt-core && npm run compile",
"compile:qt-qml": "cd qt-qml && npm run compile",
"compile:qt-cpp": "npm run prepareNatvisFiles && cd qt-cpp && npm run compile",
"compile:qt-python": "cd qt-python && npm run compile",
"compile:qt-ui": "cd qt-ui && npm run compile",
"compile:qt-csharp": "cd qt-csharp && npm run compile",
"compile:qt-lib": "cd qt-lib && npm run compile",
"compile:all": "concurrently \"npm run compile:qt-core\" \"npm run compile:qt-cpp\" \"npm run compile:qt-python\" \"npm run compile:qt-ui\" \"npm run compile:qt-qml\" \"npm run compile:qt-csharp\"",
"compile:all_sync": "npm run compile:qt-core && npm run compile:qt-cpp && npm run compile:qt-python && npm run compile:qt-ui && npm run compile:qt-qml && npm run compile:qt-csharp && npm run compile:qt-lib",
"checkLicenses": "ts-node ./scripts/check_licenses.ts",
"checkSbom": "ts-node ./scripts/check_sbom.ts",
"checkPackage": "ts-node ./scripts/check_package.ts",
"checkStyle": "ts-node ./scripts/check_style.ts",
"checkChangelog": "ts-node ./scripts/check_changelog.ts",
"checkChangelog:qt-all-pack": "ts-node ./scripts/check_changelog.ts --dir=\"extension_packs/qt\"",
"checkChangelog:qt-wasm-pack": "ts-node ./scripts/check_changelog.ts --dir=\"extension_packs/wasm\"",
"checkChangelog:qt-cpp-pack": "ts-node ./scripts/check_changelog.ts --dir=\"extension_packs/cpp\"",
"checkChangelog:qt-python-pack": "ts-node ./scripts/check_changelog.ts --dir=\"extension_packs/python\"",
"checkChangelog:qt-csharp-pack": "ts-node ./scripts/check_changelog.ts --dir=\"extension_packs/csharp\"",
"checkUnused:qt-core": "ts-node ./scripts/check_unused.ts --dir=\"qt-core\"",
"checkUnused:qt-cpp": "ts-node ./scripts/check_unused.ts --dir=\"qt-cpp\"",
"checkUnused:qt-qml": "ts-node ./scripts/check_unused.ts --dir=\"qt-qml\"",
"checkUnused:qt-ui": "ts-node ./scripts/check_unused.ts --dir=\"qt-ui\"",
"checkUnused:all": "concurrently \"npm run checkUnused:qt-core\" \"npm run checkUnused:qt-cpp\" \"npm run checkUnused:qt-ui\" \"npm run checkUnused:qt-qml\"",
"checkUnused:all_sync": "npm run checkUnused:qt-core && npm run checkUnused:qt-cpp && npm run checkUnused:qt-ui && npm run checkUnused:qt-qml",
"checkChangelog:all_ext_pack": "npm run checkChangelog:qt-all-pack && npm run checkChangelog:qt-wasm-pack && npm run checkChangelog:qt-cpp-pack",
"generateLicenses": "ts-node ./scripts/generate_licenses.ts",
"generateLicenses:qt-core": "npm run generateLicenses -- --dir=\"qt-core\" --exclude=\"qt-core, qt-lib\" --output=\"qt-core/ThirdPartyNotices.txt\" && npm run generateLicenses:qt-core-webview",
"generateLicenses:qt-core-webview": "npm run generateLicenses -- --dir=\"qt-core/webview-ui\" --exclude=\"qt-core-webview\" --output=\"qt-core/webview-ui/ThirdPartyNotices.txt\"",
"generateLicenses:qt-qml": "npm run generateLicenses -- --dir=\"qt-qml\" --exclude=\"qt-qml, qt-lib\" --output=\"qt-qml/ThirdPartyNotices.txt\"",
"generateLicenses:qt-cpp": "npm run generateLicenses -- --dir=\"qt-cpp\" --exclude=\"qt-cpp, qt-lib\" --output=\"qt-cpp/ThirdPartyNotices.txt\"",
"generateLicenses:qt-python": "npm run generateLicenses -- --dir=\"qt-python\" --exclude=\"qt-python, qt-lib\" --output=\"qt-python/ThirdPartyNotices.txt\"",
"generateLicenses:qt-ui": "npm run generateLicenses -- --dir=\"qt-ui\" --exclude=\"qt-ui, qt-lib\" --output=\"qt-ui/ThirdPartyNotices.txt\"",
"generateLicenses:qt-csharp": "npm run generateLicenses -- --dir=\"qt-csharp\" --exclude=\"qt-csharp, qt-lib\" --output=\"qt-csharp/ThirdPartyNotices.txt\"",
"generateLicenses:all": "concurrently \"npm run generateLicenses:qt-core\" \"npm run generateLicenses:qt-cpp\" \"npm run generateLicenses:qt-python\" \"npm run generateLicenses:qt-ui\" \"npm run generateLicenses:qt-qml\" \"npm run generateLicenses:qt-csharp\"",
"generateLicenses:all_sync": "npm run generateLicenses:qt-core && npm run generateLicenses:qt-cpp && npm run generateLicenses:qt-python && npm run generateLicenses:qt-ui && npm run generateLicenses:qt-qml && npm run generateLicenses:qt-csharp",
"generateSbom": "ts-node ./scripts/generate_sbom.ts",
"generateSbom:qt-core": "npm run generateSbom -- --dir=\"qt-core\" --output=\"qt-core/sbom.cdx.json\" && npm run generateSbom:qt-core-webview",
"generateSbom:qt-core-webview": "npm run generateSbom -- --dir=\"qt-core/webview-ui\" --output=\"qt-core/webview-ui/sbom.cdx.json\"",
"generateSbom:qt-qml": "npm run generateSbom -- --dir=\"qt-qml\" --output=\"qt-qml/sbom.cdx.json\"",
"generateSbom:qt-cpp": "npm run generateSbom -- --dir=\"qt-cpp\" --output=\"qt-cpp/sbom.cdx.json\"",
"generateSbom:qt-python": "npm run generateSbom -- --dir=\"qt-python\" --output=\"qt-python/sbom.cdx.json\"",
"generateSbom:qt-ui": "npm run generateSbom -- --dir=\"qt-ui\" --output=\"qt-ui/sbom.cdx.json\"",
"generateSbom:qt-csharp": "npm run generateSbom -- --dir=\"qt-csharp\" --output=\"qt-csharp/sbom.cdx.json\"",
"generateSbom:all": "concurrently \"npm run generateSbom:qt-core\" \"npm run generateSbom:qt-cpp\" \"npm run generateSbom:qt-python\" \"npm run generateSbom:qt-ui\" \"npm run generateSbom:qt-qml\" \"npm run generateSbom:qt-csharp\"",
"generateSbom:all_sync": "npm run generateSbom:qt-core && npm run generateSbom:qt-cpp && npm run generateSbom:qt-python && npm run generateSbom:qt-ui && npm run generateSbom:qt-qml && npm run generateSbom:qt-csharp",
"_prepublish_git": "git reset --hard && git clean -ffdx",
"_prepublish": "npm run _prepublish_git && npm ci && npm run ci:qt-lib && npm run compile:qt-lib && npm run ci-lint:qt-lib",
"publish:qt-core": "ts-node ./scripts/publish.ts --extension=\"qt-core\"",
"publish:qt-qml": "ts-node ./scripts/publish.ts --extension=\"qt-qml\"",
"publish:qt-cpp": "ts-node ./scripts/publish.ts --extension=\"qt-cpp\"",
"publish:qt-python": "ts-node ./scripts/publish.ts --extension=\"qt-python\"",
"publish:qt-ui": "ts-node ./scripts/publish.ts --extension=\"qt-ui\"",
"publish:qt-csharp": "ts-node ./scripts/publish.ts --extension=\"qt-csharp\"",
"publish:qt-cpp-pack": "ts-node ./scripts/publish_ext_pack.ts --dir=\"extension_packs/cpp\" --pack=\"qt-cpp-pack\"",
"publish:qt-wasm-pack": "ts-node ./scripts/publish_ext_pack.ts --dir=\"extension_packs/wasm\" --pack=\"qt-wasm-pack\"",
"publish:qt-all-pack": "ts-node ./scripts/publish_ext_pack.ts --dir=\"extension_packs/qt\" --pack=\"qt-all-pack\"",
"publish:qt-python-pack": "ts-node ./scripts/publish_ext_pack.ts --dir=\"extension_packs/python\" --pack=\"qt-python-pack\"",
"publish:qt-csharp-pack": "ts-node ./scripts/publish_ext_pack.ts --dir=\"extension_packs/csharp\" --pack=\"qt-csharp-pack\"",
"prepareNatvisFiles": "ts-node ./scripts/copy_natvis_files.ts",
"prettierWrite": "npm run prettierBase -- --write \"scripts/**/*.{js,ts,mts,json,mjs,cjs}\" \"eslint.config.mjs\" \"common/eslint-config.mjs\" --log-level silent",
"prettierCheck": "npm run prettierBase -- --check \"scripts/**/*.{js,ts,mts,json,mjs,cjs}\" \"eslint.config.mjs\" \"common/eslint-config.mjs\"",
"prettierBase": "prettier --config \"common/.prettierrc\" --ignore-path \"common/.prettierignore\"",
"auditFix": "npm audit fix && cd qt-lib && npm audit fix && cd ../qt-core && npm audit fix && cd ../qt-cpp && npm audit fix && cd ../qt-ui && npm audit fix && cd ../qt-qml && npm audit fix && cd ../qt-python && npm audit fix && cd ../qt-csharp && npm audit fix && cd ../qt-core/webview-ui && npm audit fix",
"auditFixForce": "npm audit fix --force && cd qt-lib && npm audit fix --force && cd ../qt-core && npm audit fix --force && cd ../qt-cpp && npm audit fix --force && cd ../qt-ui && npm audit fix --force && cd ../qt-qml && npm audit fix --force && cd ../qt-python && npm audit fix --force && cd ../qt-csharp && npm audit fix --force && cd ../qt-core/webview-ui && npm audit fix --force",
"build:qt-cli": "node qt-cli/run.mjs build"
},
"devDependencies": {
"@cyclonedx/cyclonedx-npm": "^6.0.1",
"@eslint/js": "^9.21.0",
"@types/node": "^20.2.5",
"@types/semver": "^7.5.8",
"@vscode/vsce": "^4.1.0",
"concurrently": "^8.2.2",
"dotenv": "^16.5.0",
"eslint": "^9.21.0",
"kill-port": "^2.0.1",
"knip": "^5.64.0",
"license-checker": "^25.0.1",
"prettier": "^3.0.3",
"semver": "^7.6.3",
"ts-node": "^10.4.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.25.0"
},
"dependencies": {
"commander": "^12.1.0"
},
"optionalDependencies": {
"node-jq": "^6.3.1"
},
"allowScripts": {
"keytar": true,
"oxc-resolver": true,
"@vscode/vsce-sign": true
}
}