mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
chore(root): clean up root commands and husky
This commit is contained in:
parent
dcb0f4fe97
commit
4e138cf276
@ -1,6 +1,6 @@
|
||||
branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
if [ "$branch" = "master" ]; then
|
||||
pnpm check:types
|
||||
pnpm build-frontends
|
||||
if [ "$branch" = "v0/main" ]; then
|
||||
pnpm -r check:types
|
||||
pnpm -r build
|
||||
fi
|
||||
|
||||
|
10
package.json
10
package.json
@ -6,18 +6,8 @@
|
||||
},
|
||||
"license": "MIT",
|
||||
"scripts": {
|
||||
"check:types": "concurrently 'pnpm:check:types:*'",
|
||||
"check:types:dashboard": "cd packages/dashboard && pnpm check:types",
|
||||
"check:types:superadmin": "cd packages/superadmin && pnpm check:types",
|
||||
"check:types:pockethost": "cd packages/pockethost && pnpm check:types",
|
||||
"lint": "prettier -c \"./**/*.{ts,js,cjs,svelte,json}\"",
|
||||
"lint:fix": "prettier -w \"./**/*.{ts,js,cjs,svelte,json}\"",
|
||||
"build": "concurrently 'pnpm:build:*'",
|
||||
"build-frontends": "concurrently 'pnpm:build:frontend:*'",
|
||||
"build:frontend:dashboard": "cd packages/dashboard && pnpm build",
|
||||
"build:frontend:lander": "cd packages/lander && pnpm build",
|
||||
"build:frontend:superadmin": "cd packages/superadmin && pnpm build",
|
||||
"build:docker": "cd packages/pockethost-instance && pnpm build",
|
||||
"dev:cli": "cd packages/pockethost && pnpm dev",
|
||||
"dev:lander": "cd packages/lander && pnpm start",
|
||||
"dev:dashboard": "cd packages/dashboard && pnpm dev",
|
||||
|
Loading…
x
Reference in New Issue
Block a user