mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-17 08:00:59 +00:00
fix(scripts): make npm scripts cross-platform with shx (closes #1771)
This commit is contained in:
parent
993d916e56
commit
76a191c264
9 changed files with 15 additions and 13 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"build": "vite build",
|
||||
"preview": "vite preview",
|
||||
"check": "tsgo --noEmit",
|
||||
"clean": "rm -rf dist"
|
||||
"clean": "shx rm -rf dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mariozechner/mini-lit": "^0.2.0",
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
"./app.css": "./dist/app.css"
|
||||
},
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist",
|
||||
"clean": "shx rm -rf dist",
|
||||
"build": "tsgo -p tsconfig.build.json && tailwindcss -i ./src/app.css -o ./dist/app.css --minify",
|
||||
"dev": "concurrently --names \"build,example\" --prefix-colors \"cyan,green\" \"tsc -p tsconfig.build.json --watch --preserveWatchOutput\" \"tailwindcss -i ./src/app.css -o ./dist/app.css --watch\" \"npm run dev --prefix example\"",
|
||||
"dev:tsc": "concurrently --names \"build\" --prefix-colors \"cyan\" \"tsc -p tsconfig.build.json --watch --preserveWatchOutput\" \"tailwindcss -i ./src/app.css -o ./dist/app.css --watch\"",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue