mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
Add zip script to package.json build process
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
|
||||||
"homepage": "https://tabler.io",
|
"homepage": "https://tabler.io",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "turbo build",
|
"build": "turbo build && pnpm run zip",
|
||||||
"dev": "turbo dev",
|
"dev": "turbo dev",
|
||||||
"clean": "turbo clean",
|
"clean": "turbo clean",
|
||||||
"bundlewatch": "turbo bundlewatch",
|
"bundlewatch": "turbo bundlewatch",
|
||||||
@@ -12,7 +12,8 @@
|
|||||||
"playwright": "pnpm run build && pnpm run vt",
|
"playwright": "pnpm run build && pnpm run vt",
|
||||||
"vt": "playwright test tests",
|
"vt": "playwright test tests",
|
||||||
"reformat-mdx": "node .build/reformat-mdx.mjs",
|
"reformat-mdx": "node .build/reformat-mdx.mjs",
|
||||||
"start": "pnpm dev"
|
"start": "pnpm dev",
|
||||||
|
"zip": "mkdir -p packages-zip && zip -qr9 packages-zip/tabler-$(node -p \"require('./core/package.json').version\").zip ./preview/dist/*"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.5.1",
|
"packageManager": "pnpm@10.5.1",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|||||||
Reference in New Issue
Block a user