chore: rename package to @vant/weapp (#2346)

This commit is contained in:
neverland 2019-11-20 16:31:20 +08:00 committed by GitHub
parent ab96a26913
commit 8b96f9ec8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,9 @@ npm i vant-weapp -S --production
# 通过 yarn 安装 # 通过 yarn 安装
yarn add vant-weapp --production yarn add vant-weapp --production
# 安装 1.0-beta 版本
npm i @vant/weapp -S --production
``` ```
### 步骤二 构建 npm 包 ### 步骤二 构建 npm 包

View File

@ -1,10 +1,13 @@
{ {
"name": "vant-weapp", "name": "@vant/weapp",
"version": "1.0.0-beta.4", "version": "1.0.0-beta.4",
"author": "youzan", "author": "youzan",
"license": "MIT", "license": "MIT",
"miniprogram": "dist", "miniprogram": "dist",
"description": "轻量、可靠的小程序 UI 组件库", "description": "轻量、可靠的小程序 UI 组件库",
"publishConfig": {
"access": "public"
},
"scripts": { "scripts": {
"dev": "node build/dev.js", "dev": "node build/dev.js",
"lint": "eslint ./packages --ext .js,.ts && stylelint \"packages/**/*.less\" --fix", "lint": "eslint ./packages --ext .js,.ts && stylelint \"packages/**/*.less\" --fix",