chore(use): add release script

This commit is contained in:
chenjiahan 2020-09-10 21:04:37 +08:00
parent dbc6b92868
commit cbeb3d4c81

View File

@ -1,6 +1,6 @@
{ {
"name": "@vant/use", "name": "@vant/use",
"version": "0.0.1-beta.0", "version": "0.0.1-alpha.0",
"description": "Vant composition api", "description": "Vant composition api",
"main": "lib/index.js", "main": "lib/index.js",
"module": "es/index.js", "module": "es/index.js",
@ -8,7 +8,8 @@
"sideEffects": false, "sideEffects": false,
"scripts": { "scripts": {
"dev": "tsc -m esNext --outDir es --watch", "dev": "tsc -m esNext --outDir es --watch",
"build": "tsc && tsc -m esNext --outDir es" "build": "tsc && tsc -m esNext --outDir es",
"release": "yarn build && release-it"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"