diff --git a/app/static/index.html b/app/static/index.html index 4f78a2c..d82f74d 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -5,6 +5,10 @@ +
diff --git a/package.json b/package.json index 600a8eb..c892c26 100644 --- a/package.json +++ b/package.json @@ -15,10 +15,11 @@ ] }, "scripts": { - "start": "pkill -9 node; yarn clean && NODE_ENV=production docker-compose up -d && yarn build && yarn workspace @mono/server start", - "dev": "pkill -9 node; yarn clean && rm -rf ./db-data && docker-compose up -d && NODE_ENV=development concurrently \"yarn workspace @mono/server start\" \"yarn workspace @mono/app dev\"", - "docker-reload": "docker-compose down --volumes && rm -rf ./db-data && docker-compose up -d", - "build": "NODE_ENV=production yarn workspace @mono/app build", + "start": "pkill -9 node; yarn clean && yarn docker-reload && yarn build && yarn workspace @mono/server start || yarn docker-clean", + "dev": "pkill -9 node; yarn clean && yarn docker-reload && NODE_ENV=development concurrently \"yarn workspace @mono/server start\" \"yarn workspace @mono/app dev\"", + "docker-clean": "docker-compose down --volumes && rm -rf ./db-data", + "docker-reload": "yarn docker-clean && docker-compose up -d", + "build": "NODE_ENV=production yarn workspace @mono/app build && yarn tsc --noEmit false", "swc:common": "yarn workspaces foreach -v run swc", "swc-watch:common": "yarn workspaces foreach -vp run swc-watch", "clean": "yarn workspaces foreach -v exec rm -rf dist build", @@ -65,4 +66,4 @@ "@reduxjs/toolkit": "^1.9.5", "redux": "^4.2.1" } -} +} \ No newline at end of file