chore: update package.json, add repository and bugs (#10004)

This commit is contained in:
neverland 2021-12-06 16:37:48 +08:00 committed by GitHub
parent 86c0910c38
commit df9eb68dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 103 additions and 40 deletions

View File

@ -12,10 +12,6 @@
"release": "pnpm build & release-it",
"prepare": "pnpm build"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant/tree/dev/packages/create-vant-cli-app"
},
"files": [
"lib",
"generators"
@ -26,6 +22,12 @@
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/create-vant-cli-app"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {

View File

@ -4,15 +4,21 @@
"description": "Vant 省市区数据",
"main": "./lib/index.js",
"typings": "./lib/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "rimraf ./lib && tsc",
"release": "pnpm build && npm publish",
"prepare": "pnpm build"
},
"license": "MIT",
"repository": "https://github.com/youzan/vant"
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-area-data"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT"
}

View File

@ -10,10 +10,6 @@
"engines": {
"node": "^14.16.0 || >=16.0.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "tsc --watch",
"build": "rimraf ./lib && tsc",
@ -31,6 +27,16 @@
"keywords": [
"vant"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-cli"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"devDependencies": {

View File

@ -7,8 +7,14 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-eslint-config"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-eslint-config",
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "5.3.1",

View File

@ -7,15 +7,21 @@
"files": [
"src"
],
"scripts": {
"release": "release-it"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"release": "release-it"
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-icons"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-icons",
"devDependencies": {
"release-it": "^14.11.6"
},

View File

@ -7,8 +7,14 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-markdown-loader"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-loader",
"dependencies": {
"front-matter": "^4.0.2",
"highlight.js": "^10.7.1",

View File

@ -3,13 +3,6 @@
"version": "2.2.0",
"description": "simple parse markdown to vue component description for vetur auto-completion",
"main": "lib/index.js",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-vetur",
"author": "zhangshuai",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"files": [
"lib"
],
@ -19,6 +12,18 @@
"release": "pnpm build && npm publish",
"prepare": "pnpm build"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-markdown-vetur"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "zhangshuai",
"license": "MIT",
"dependencies": {
"fast-glob": "^3.2.2",
"fs-extra": "^10.0.0"

View File

@ -22,8 +22,14 @@
"release": "pnpm build && release-it",
"prepare": "pnpm build"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-markdown-loader"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-popperjs",
"dependencies": {
"@popperjs/core": "^2.9.2"
},

View File

@ -7,8 +7,14 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-stylelint-config"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-stylelint-config",
"dependencies": {
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^22.0.0"

View File

@ -6,6 +6,12 @@
"publishConfig": {
"access": "public"
},
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator"
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-touch-emulator"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT"
}

View File

@ -22,8 +22,14 @@
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant-use"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-use",
"devDependencies": {
"release-it": "^14.0.2",
"rollup": "^2.33.3",

View File

@ -100,7 +100,7 @@ src
```bash
# 添加主仓库到 remote作为 fork 后仓库的上游仓库
git remote add upstream https://github.com/youzan/vant.git
git remote add upstream git@github.com:youzan/vant.git
# 拉取主仓库最新代码
git fetch upstream

View File

@ -29,9 +29,6 @@
"lib",
"vetur"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"dev": "vant-cli dev",
"lint": "vant-cli lint",
@ -43,12 +40,19 @@
"test:watch": "vant-cli test --watch",
"test:coverage": "open test/coverage/index.html"
},
"npm": {
"tag": "next"
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git@github.com:youzan/vant.git"
"url": "https://github.com/youzan/vant.git",
"directory": "packages/vant"
},
"bugs": "https://github.com/youzan/vant/issues",
"author": "chenjiahan",
"license": "MIT",
"npm": {
"tag": "next"
},
"keywords": [
"ui",
@ -59,8 +63,6 @@
"component",
"components"
],
"author": "youzanfe",
"license": "MIT",
"dependencies": {
"@vant/icons": "^1.7.1",
"@vant/popperjs": "^1.1.0",