-
-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
37 lines (37 loc) · 1.62 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
{
"name": "QWC2App",
"version": "2024.12.20-master",
"description": "QGIS Web Client 2 application",
"author": "Sourcepole",
"license": "BSD-2-Clause",
"repository": "[email protected]:sourcepole/qwc2-demo-app.git",
"private": true,
"workspaces": [
"qwc2"
],
"devDependencies": {
"babel-loader": "^9.2.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^7.1.2",
"html-webpack-plugin": "^5.6.3",
"source-map-loader": "^5.0.0",
"style-loader": "^4.0.0",
"webpack": "^5.97.1",
"webpack-bundle-size-analyzer": "^3.1.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"scripts": {
"prod": "npm run tsupdate && npm run themesconfig && npm run iconfont && webpack --mode production --progress",
"start": "npm run tsupdate && npm run themesconfig && npm run iconfont && webpack serve --mode development --progress --host 0.0.0.0 --port 8081",
"iconfont": "node qwc2/scripts/makeIconkit.js",
"themesconfig": "node qwc2/scripts/themesConfig.js",
"tsupdate": "node qwc2/scripts/updateTranslations.js",
"plugindoc": "node qwc2/scripts/gen-plugin-docs.js",
"build": "npm run prod",
"analyze": "webpack --mode production --json | webpack-bundle-size-analyzer",
"release": "node -e \"process.exit(require('os').platform() === 'win32' ? 0 : 1)\" && qwc2\\scripts\\package-commands.bat release || ./qwc2/scripts/package-commands.sh release"
}
}