updated npm run buildmac
This commit is contained in:
@@ -3,7 +3,10 @@
|
|||||||
"allow": [
|
"allow": [
|
||||||
"Bash(tree:*)",
|
"Bash(tree:*)",
|
||||||
"Bash(npm install:*)",
|
"Bash(npm install:*)",
|
||||||
"Bash(npm run build:*)"
|
"Bash(npm run build:*)",
|
||||||
|
"Bash(nginx -t:*)",
|
||||||
|
"Bash(sudo nginx:*)",
|
||||||
|
"Bash(ln -s:*)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
"server": "node server/index.js",
|
"server": "node server/index.js",
|
||||||
"dev:all": "concurrently \"npm run dev\" \"npm run server\"",
|
"dev:all": "concurrently \"npm run dev\" \"npm run server\"",
|
||||||
"build": "vite build",
|
"build": "vite build",
|
||||||
|
"buildmac": "vite build && rm -rf /opt/homebrew/var/www/signsync && cp -r dist /opt/homebrew/var/www/signsync",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"preview": "vite preview"
|
"preview": "vite preview"
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user