chore: adjust lib scripts for build and release
This commit is contained in:
parent
64ac0bbebb
commit
1ae0e8b169
2 changed files with 2 additions and 3 deletions
|
|
@ -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": {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue