chore: adjust lib scripts for build and release

This commit is contained in:
ayo 2026-04-03 23:08:46 +02:00
parent 64ac0bbebb
commit 1ae0e8b169
2 changed files with 2 additions and 3 deletions

View file

@ -10,8 +10,7 @@
},
"scripts": {
"publish": "npm publish",
"release": "bumpp && node ../scripts/release.js && publish",
"build:release": "npm run build:lib && npm run release"
"release": "bumpp && node ../scripts/release.js && publish"
},
"main": "mnswpr.js",
"exports": {

View file

@ -15,7 +15,7 @@
"start": "vite app",
"build:preview": "pnpm -F app run build:preview",
"build:lib": "vite build lib --config vite-lib.config.js",
"release:lib": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr release",
"release": "pnpm -F @ayo-run/mnswpr release",
"prepare": "husky",
"lint": "eslint .",
"lint:fix": "eslint . --fix"