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": {
|
"scripts": {
|
||||||
"publish": "npm publish",
|
"publish": "npm publish",
|
||||||
"release": "bumpp && node ../scripts/release.js && publish",
|
"release": "bumpp && node ../scripts/release.js && publish"
|
||||||
"build:release": "npm run build:lib && npm run release"
|
|
||||||
},
|
},
|
||||||
"main": "mnswpr.js",
|
"main": "mnswpr.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"start": "vite app",
|
"start": "vite app",
|
||||||
"build:preview": "pnpm -F app run build:preview",
|
"build:preview": "pnpm -F app run build:preview",
|
||||||
"build:lib": "vite build lib --config vite-lib.config.js",
|
"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",
|
"prepare": "husky",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"lint:fix": "eslint . --fix"
|
"lint:fix": "eslint . --fix"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue