mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(poppperjs): add release script
This commit is contained in:
parent
11add5f1d3
commit
dc9368ce19
@ -14,7 +14,8 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "rollup --config rollup.config.js --watch",
|
"dev": "rollup --config rollup.config.js --watch",
|
||||||
"build": "rollup --config rollup.config.js && tsc -p ./tsconfig.json --emitDeclarationOnly"
|
"build": "rollup --config rollup.config.js && tsc -p ./tsconfig.json --emitDeclarationOnly",
|
||||||
|
"release": "npm run build && release-it"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-popperjs",
|
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-popperjs",
|
||||||
@ -25,10 +26,17 @@
|
|||||||
"@babel/runtime": "7.x",
|
"@babel/runtime": "7.x",
|
||||||
"@rollup/plugin-babel": "^5.2.1",
|
"@rollup/plugin-babel": "^5.2.1",
|
||||||
"@rollup/plugin-node-resolve": "^10.0.0",
|
"@rollup/plugin-node-resolve": "^10.0.0",
|
||||||
|
"release-it": "^14.2.2",
|
||||||
"rollup": "^2.33.3"
|
"rollup": "^2.33.3"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"Android >= 4.0",
|
"Android >= 4.0",
|
||||||
"iOS >= 8"
|
"iOS >= 8"
|
||||||
]
|
],
|
||||||
|
"release-it": {
|
||||||
|
"git": {
|
||||||
|
"tag": false,
|
||||||
|
"commitMessage": "chore: release @vant/popperjs ${version}"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user