Fix the yarn build script

There was an issue in the execution order of the commands
This commit is contained in:
saadi 2023-03-22 13:00:39 +01:00
parent 803b9509f9
commit 59f2ea47cf

View file

@ -11,7 +11,7 @@
"generate-api-types": "openapi-typescript api/my-finance-pal.yml --output generated/api.ts",
"copy-resources": "copyfiles env/production.env api/* dist/",
"compile": "tsc",
"build": "run-s clean compile generate-api-types copy-resources",
"build": "run-s clean generate-api-types compile copy-resources",
"lint": "eslint --ext .ts src/",
"dev": "nodemon src/server.ts",
"test": "nodemon --config ./spec/nodemon.json"