chore: update publish scripts
This commit is contained in:
parent
2bf6cbe968
commit
011f285bf3
2 changed files with 4 additions and 5 deletions
|
|
@ -9,9 +9,9 @@
|
|||
"url": "https://github.com/ayo-run/mnswpr"
|
||||
},
|
||||
"scripts": {
|
||||
"release": "bumpp && node ../scripts/release.js",
|
||||
"build:release": "npm run build:lib && npm run release",
|
||||
"publish": "npm publish"
|
||||
"publish": "npm publish",
|
||||
"release": "bumpp && node ../scripts/release.js && publish",
|
||||
"build:release": "npm run build:lib && npm run release"
|
||||
},
|
||||
"main": "mnswpr.js",
|
||||
"exports": {
|
||||
|
|
|
|||
|
|
@ -15,8 +15,7 @@
|
|||
"start": "vite app",
|
||||
"build:preview": "pnpm -F app run build:preview",
|
||||
"build:lib": "vite build lib --config vite-lib.config.js",
|
||||
"release": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr release",
|
||||
"publish": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr publish",
|
||||
"release:lib": "pnpm run build:lib && pnpm -F @ayo-run/mnswpr release",
|
||||
"prepare": "husky",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix"
|
||||
|
|
|
|||
Loading…
Reference in a new issue