|
3 | 3 | "version": "0.0.0", |
4 | 4 | "scripts": { |
5 | 5 | "\n# LOCAL DEV SCRIPTS:": "", |
6 | | - "start": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve -c development", |
| 6 | + "start": "npm run i18n:cache-busting && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng serve -c development", |
| 7 | + "start:ssr": "node dist/server", |
7 | 8 | "\n# BUILD SCRIPTS:": "", |
8 | | - "build": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build", |
9 | | - "build:stats": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration stats", |
10 | | - "build:browser:production": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration production", |
| 9 | + "build": "npm run transloco:optimize && npm run i18n:cache-busting && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build", |
| 10 | + "build:stats": "npm run transloco:optimize && npm run i18n:cache-busting && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration stats", |
| 11 | + "build:browser:production": "npm run transloco:optimize && npm run i18n:cache-busting && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng build --prod --configuration production", |
| 12 | + "build:server:production": "ng run dark-heresy:server:production", |
| 13 | + "build:client-and-server-bundles:production": "concurrently \"npm run build:browser:production\" \"npm run build:server:production\"", |
| 14 | + "build:ssr:production": "concurrently \"npm run build:client-and-server-bundles:production\" \"npm run compile:server\"", |
| 15 | + "compile:server": "webpack --config webpack.server.config.js --progress --colors", |
11 | 16 | "\n# TEST SCRIPTS:": "", |
12 | 17 | "test": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng test dark-heresy", |
13 | | - "test:ci": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng test dark-heresy --karmaConfig=./src/karma.conf.ci.js", |
| 18 | + "test:ci": "npm run i18n:cache-busting && node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng test dark-heresy --karmaConfig=./src/karma.conf.ci.js", |
14 | 19 | "e2e": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng e2e", |
15 | 20 | "\n# LINT SCRIPTS:": "", |
16 | 21 | "lint": "concurrently \"npm run stylelint\" \"npm run tslint\"", |
|
19 | 24 | "\n# UTILS SCRIPTS:": "", |
20 | 25 | "ng": "node --max_old_space_size=8192 node_modules/@angular/cli/bin/ng", |
21 | 26 | "cz": "git add . && git-cz && git push-upstream", |
| 27 | + "akita": "akita", |
22 | 28 | "semver": "npx semantic-release", |
23 | 29 | "analyze:stats": "npm run build:stats && webpack-bundle-analyzer dist/browser/stats.json", |
24 | 30 | "clean": "rimraf coverage dist", |
25 | 31 | "circular-dependencies-check": "npx madge ./src/ --circular --extensions ts,js --image ./dist/dependencies-graph.svg --warning", |
| 32 | + "transloco:optimize": "transloco-optimize dist/browser/assets/i18n", |
| 33 | + "i18n:cache-busting": "node ./scripts/node/i18n-cache-busting.js", |
26 | 34 | "generate-certificate": "openssl req -new -x509 -newkey rsa:2048 -sha256 -nodes -keyout ssl/dark-heresy.key -days 3560 -out ssl/dark-heresy.crt -config ssl/certificate.cnf" |
27 | 35 | }, |
28 | 36 | "config": { |
|
76 | 84 | "@datorama/akita-cli": "~6.1.0", |
77 | 85 | "@datorama/akita-ngdevtools": "~3.0.2", |
78 | 86 | "@ngneat/transloco-optimize": "~1.0.1", |
79 | | - "@ngneat/transloco-scoped-libs": "~1.2.0", |
80 | 87 | "@semantic-release/changelog": "~5.0.0", |
81 | 88 | "@semantic-release/git": "~9.0.0", |
82 | 89 | "@types/core-js": "~2.5.3", |
|
90 | 97 | "concurrently": "~5.1.0", |
91 | 98 | "cz-customizable": "~6.2.0", |
92 | 99 | "fibers": "~4.0.2", |
| 100 | + "fs-extra": "~8.1.0", |
93 | 101 | "glob": "~7.1.6", |
94 | 102 | "graphviz": "0.0.9", |
95 | 103 | "http-server": "~0.12.1", |
|
0 commit comments