RED-3800: update package.json

This commit is contained in:
Dan Percic 2023-05-17 11:21:46 +03:00
parent a277a82e54
commit 2a9435b321

View File

@ -5,7 +5,7 @@
"license": "MIT",
"scripts": {
"build": "nx build",
"build-lint-all": "ng build --project=red-ui --configuration production --base-href /ui/",
"build-lint-all": "nx build --project=red-ui --configuration production --base-href /ui/",
"build-paligo-styles": "mkdir -p dist/paligo-styles && sass --load-path=. paligo-styles/style.scss > dist/paligo-styles/redacto-theme.css",
"i18n:extract": "ngx-translate-extract --input ./apps/red-ui/src ./libs/common-ui/src --output apps/red-ui/src/assets/i18n/{redact,scm}/{en,de}.json --clean --sort --format namespaced-json && prettier apps/red-ui/src/assets/i18n/*/*.json --write",
"nx": "nx",
@ -13,9 +13,9 @@
"update": "nx migrate latest",
"migrate": "nx migrate --run-migrations",
"workspace-generator": "nx workspace-generator",
"analyze": "ng build --stats-json && webpack-bundle-analyzer dist/apps/red-ui/stats.json",
"analyze": "nx build --stats-json && webpack-bundle-analyzer dist/apps/red-ui/stats.json",
"prepare": "husky install",
"lint": "ng lint"
"lint": "nx lint"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",