From 43b0030de9f018e0ba460d0ba9d186a297e8887c Mon Sep 17 00:00:00 2001 From: thednp Date: Sun, 21 Jul 2024 22:01:37 +0300 Subject: [PATCH] update package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 8bf1973b..fb5acb0e 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "cypress": "npx cypress open", "badges": "npx -p dependency-version-badge update-badge typescript eslint cypress vite prettier", "coverage:report": "nyc report --reporter=lcov --reporter=json --reporter=text --reporter=json-summary", - "build": "pnpm check:ts && pnpm lint:ts && pnpm build-vite && pnpm build-components && pnpm dts && pnpm badges && pnpm copy-docs", + "build": "pnpm check:ts && pnpm lint:ts && pnpm build-vite && pnpm build-components && pnpm dts && pnpm copy-docs", "build-vite-with-dts": "vite build && pnpm copy-docs", "build-vite": "vite build && pnpm copy-docs", "build-components": "vite build --config vite.config.components.ts", @@ -92,7 +92,8 @@ "copy-docs": "ncp dist/bootstrap-native.js docs/assets/js/bootstrap-native.js && ncp dist/bootstrap-native.js.map docs/assets/js/bootstrap-native.js.map", "check:ts": "tsc --noEmit", "lint:ts": "eslint -c .eslintrc.cjs --ext .ts src", - "fix:ts": "eslint -c .eslintrc.cjs --ext .ts src --fix" + "fix:ts": "eslint -c .eslintrc.cjs --ext .ts src --fix", + "prepublishOnly": "pnpm up && pnpm format && pnpm build && pnpm badges" }, "bugs": { "url": "https://github.com/thednp/bootstrap.native/issues"