mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-19 08:02:55 +00:00
feat: webpack bundle analyzer
This commit is contained in:
committed by
Jovan Krunić
parent
72e5fcca77
commit
552911cfcf
22
package.json
22
package.json
@@ -13,20 +13,24 @@
|
||||
"Thea Schöbl <wulkanat@gmail.com>"
|
||||
],
|
||||
"scripts": {
|
||||
"analyze": "webpack-bundle-analyzer www/stats.json",
|
||||
"build": "ng build",
|
||||
"build:prod": "ng build --configuration=production",
|
||||
"build:analyze": "npm run build:stats && npm run analyze",
|
||||
"build:android": "ionic capacitor build android --no-open && cd android && ./gradlew clean assembleDebug && cd ..",
|
||||
"run:android": "ionic capacitor run android --livereload --external",
|
||||
"build:prod": "ng build --configuration=production",
|
||||
"build:stats": "ng build --configuration=production --stats-json",
|
||||
"changelog": "conventional-changelog -p angular -i src/assets/about/CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||
"check-configuration": "openstapps-configuration",
|
||||
"e2e": "ng e2e",
|
||||
"cypress:open": "cypress open",
|
||||
"cypress:run": "cypress run",
|
||||
"docker:build": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm install && npm run build\"",
|
||||
"docker:build:android": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm run build:android\"",
|
||||
"docker:run:android": "sudo docker run -v $PWD:/app --privileged -v /dev/bus/usb:/dev/bus/usb --net=host -it registry.gitlab.com/openstapps/app bash -c \"npm run run:android\"",
|
||||
"docker:enter": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash",
|
||||
"docker:pull": "sudo docker pull registry.gitlab.com/openstapps/app",
|
||||
"docker:run:android": "sudo docker run -v $PWD:/app --privileged -v /dev/bus/usb:/dev/bus/usb --net=host -it registry.gitlab.com/openstapps/app bash -c \"npm run run:android\"",
|
||||
"docker:serve": "sudo docker run -p 8100:8100 -p 35729:35729 -p 53703:53703 -v $PWD:/app -it registry.gitlab.com/openstapps/app bash -c \"npm run start:external\"",
|
||||
"documentation": "compodoc -p tsconfig.json -d docs",
|
||||
"e2e": "ng e2e",
|
||||
"licenses": "license-checker --json > src/assets/about/licenses.json && node accumulate-licenses.mjs",
|
||||
"lint": "ng lint",
|
||||
"lint:fix": "eslint --fix -c .eslintrc.json --ignore-path .eslintignore --ext .ts,.html src/",
|
||||
@@ -38,12 +42,11 @@
|
||||
"push": "git push && git push origin \"v$npm_package_version\"",
|
||||
"resources:android": "cordova-res android --skip-config --copy",
|
||||
"resources:ios": "cordova-res ios --skip-config --copy",
|
||||
"run:android": "ionic capacitor run android --livereload --external",
|
||||
"start": "ionic serve",
|
||||
"start:prod": "ionic serve -- --configuration=production",
|
||||
"start:external": "ionic serve --external",
|
||||
"test": "ng test",
|
||||
"cypress:open": "cypress open",
|
||||
"cypress:run": "cypress run"
|
||||
"start:prod": "ionic serve -- --configuration=production",
|
||||
"test": "ng test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@angular/animations": "12.2.16",
|
||||
@@ -140,6 +143,7 @@
|
||||
"@typescript-eslint/parser": "5.13.0",
|
||||
"conventional-changelog-cli": "2.2.2",
|
||||
"cordova-res": "0.15.4",
|
||||
"cypress": "9.5.2",
|
||||
"eslint": "8.10.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-jsdoc": "37.9.7",
|
||||
@@ -161,7 +165,7 @@
|
||||
"surge": "0.23.1",
|
||||
"ts-node": "10.7.0",
|
||||
"typescript": "4.3.5",
|
||||
"cypress": "9.5.2"
|
||||
"webpack-bundle-analyzer": "4.5.0"
|
||||
},
|
||||
"cordova": {
|
||||
"plugins": {},
|
||||
|
||||
Reference in New Issue
Block a user