diff --git a/server/package.json b/server/package.json index 0b62f8911..e7429d084 100644 --- a/server/package.json +++ b/server/package.json @@ -6,11 +6,11 @@ "scripts": { "start": "cross-env NODE_PATH=./src nodemon", "inspect": "cross-env NODE_PATH=./src nodemon src/server.ts", - "copy-18n": "cpy --cwd=src/locales --parents '**/*.json' ../../build/locales", + "copy-i18n": "cpy --cwd=src/locales --parents '**/*.json' ../../build/locales", "clear": "rimraf build", "build:ts": "tsc -p tsconfig.json", "build:resources": "gulp --gulpfile=scripts/gulpfile.js styles styles-rtl", - "build": "npm-run-all clear build:ts copy-18n" + "build": "npm-run-all clear build:ts copy-i18n" }, "author": "Ahmed Bouhuolia, ", "license": "ISC", diff --git a/server/scripts/install.sh b/server/scripts/install.sh new file mode 100644 index 000000000..ad899bf99 --- /dev/null +++ b/server/scripts/install.sh @@ -0,0 +1,4 @@ + +npm install +npm run build +npm run copy-i18n \ No newline at end of file