fix build i18n files.

This commit is contained in:
a.bouhuolia
2021-04-04 14:59:54 +02:00
parent 4b7074dd20
commit 0dcd9e22cf

View File

@@ -4,9 +4,11 @@
"description": "",
"main": "src/server.ts",
"scripts": {
"build": "webpack",
"build": "clear && tsc -p tsconfig.json && copy-18n",
"start": "cross-env NODE_PATH=./src nodemon",
"inspect": "cross-env NODE_PATH=./src nodemon src/server.ts"
"inspect": "cross-env NODE_PATH=./src nodemon src/server.ts",
"copy-18n": "cpy --cwd=src/locales --parents '**/*.json' ../../build/locales",
"clear": "rimraf build"
},
"author": "Ahmed Bouhuolia, <a.bouhuolia@gmail.com>",
"license": "ISC",
@@ -25,6 +27,8 @@
"bcryptjs": "^2.4.3",
"compression": "^1.7.4",
"country-codes-list": "^1.6.8",
"cpy": "^8.1.2",
"cpy-cli": "^3.1.1",
"crypto-random-string": "^3.2.0",
"csurf": "^1.10.0",
"deep-map": "^2.0.0",