Translation JSONs are now generated at build time, removing the necessity to manually run xliff-to-json

- added postbuild.mjs to facilitate this
- all ng build --prod's have been replaced with npm run build
This commit is contained in:
Isaac Abadi
2021-09-29 00:36:56 -06:00
parent c5f7cd1874
commit f0c3837ee5
23 changed files with 122 additions and 3125 deletions

View File

@@ -5,7 +5,8 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build": "ng build --prod",
"prebuild": "node src/postbuild.mjs",
"heroku-postbuild": "npm install --prefix backend",
"test": "ng test",
"lint": "ng lint",
@@ -37,6 +38,7 @@
"file-saver": "^2.0.2",
"filesize": "^6.1.0",
"fingerprintjs2": "^2.1.0",
"fs-extra": "^10.0.0",
"material-icons": "^0.5.4",
"nan": "^2.14.1",
"ng-lazyload-image": "^7.0.1",
@@ -47,6 +49,7 @@
"tslib": "^2.0.0",
"typescript": "~4.0.5",
"web-animations-js": "^2.3.2",
"xliff-to-json": "^1.0.4",
"zone.js": "~0.10.2"
},
"devDependencies": {