mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
feat: install script to automate the task.
This commit is contained in:
@@ -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, <a.bouhuolia@gmail.com>",
|
||||
"license": "ISC",
|
||||
|
||||
4
server/scripts/install.sh
Normal file
4
server/scripts/install.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
npm install
|
||||
npm run build
|
||||
npm run copy-i18n
|
||||
Reference in New Issue
Block a user