forked from qgis/qwc2-demo-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
38 lines (38 loc) · 1.59 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
38
{
"name": "QWC2App",
"version": "2021.11.24",
"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": "8.2.3",
"css-loader": "6.4.0",
"eslint": "7.32.0",
"eslint-plugin-react": "7.26.1",
"source-map-loader": "3.0.0",
"string-replace-loader": "3.0.3",
"style-loader": "3.3.1",
"webpack": "5.59.1",
"webpack-bundle-size-analyzer": "3.1.0",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.3.1",
"html-webpack-plugin": "5.4.0",
"clean-webpack-plugin": "4.0.0",
"copy-webpack-plugin": "9.0.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",
"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"
}
}