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

View File

@ -4,15 +4,21 @@
"description": "Vant 省市区数据", "description": "Vant 省市区数据",
"main": "./lib/index.js", "main": "./lib/index.js",
"typings": "./lib/index.d.ts", "typings": "./lib/index.d.ts",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": { "scripts": {
"build": "rimraf ./lib && tsc", "build": "rimraf ./lib && tsc",
"release": "pnpm build && npm publish", "release": "pnpm build && npm publish",
"prepare": "pnpm build" "prepare": "pnpm build"
}, },
"license": "MIT", "publishConfig": {
"repository": "https://github.com/youzan/vant" "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": { "engines": {
"node": "^14.16.0 || >=16.0.0" "node": "^14.16.0 || >=16.0.0"
}, },
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": { "scripts": {
"dev": "tsc --watch", "dev": "tsc --watch",
"build": "rimraf ./lib && tsc", "build": "rimraf ./lib && tsc",
@ -31,6 +27,16 @@
"keywords": [ "keywords": [
"vant" "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", "author": "chenjiahan",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {

View File

@ -7,8 +7,14 @@
"access": "public", "access": "public",
"registry": "https://registry.npmjs.org/" "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", "license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-eslint-config",
"dependencies": { "dependencies": {
"@typescript-eslint/eslint-plugin": "^5.3.1", "@typescript-eslint/eslint-plugin": "^5.3.1",
"@typescript-eslint/parser": "5.3.1", "@typescript-eslint/parser": "5.3.1",

View File

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

View File

@ -7,8 +7,14 @@
"access": "public", "access": "public",
"registry": "https://registry.npmjs.org/" "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", "license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-loader",
"dependencies": { "dependencies": {
"front-matter": "^4.0.2", "front-matter": "^4.0.2",
"highlight.js": "^10.7.1", "highlight.js": "^10.7.1",

View File

@ -3,13 +3,6 @@
"version": "2.2.0", "version": "2.2.0",
"description": "simple parse markdown to vue component description for vetur auto-completion", "description": "simple parse markdown to vue component description for vetur auto-completion",
"main": "lib/index.js", "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": [ "files": [
"lib" "lib"
], ],
@ -19,6 +12,18 @@
"release": "pnpm build && npm publish", "release": "pnpm build && npm publish",
"prepare": "pnpm build" "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": { "dependencies": {
"fast-glob": "^3.2.2", "fast-glob": "^3.2.2",
"fs-extra": "^10.0.0" "fs-extra": "^10.0.0"

View File

@ -22,8 +22,14 @@
"release": "pnpm build && release-it", "release": "pnpm build && release-it",
"prepare": "pnpm build" "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", "license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-popperjs",
"dependencies": { "dependencies": {
"@popperjs/core": "^2.9.2" "@popperjs/core": "^2.9.2"
}, },

View File

@ -7,8 +7,14 @@
"access": "public", "access": "public",
"registry": "https://registry.npmjs.org/" "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", "license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-stylelint-config",
"dependencies": { "dependencies": {
"stylelint-config-prettier": "^8.0.1", "stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^22.0.0" "stylelint-config-standard": "^22.0.0"

View File

@ -6,6 +6,12 @@
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"license": "MIT", "repository": {
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator" "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", "access": "public",
"registry": "https://registry.npmjs.org/" "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", "license": "MIT",
"repository": "https://github.com/youzan/vant/tree/dev/packages/vant-use",
"devDependencies": { "devDependencies": {
"release-it": "^14.0.2", "release-it": "^14.0.2",
"rollup": "^2.33.3", "rollup": "^2.33.3",

View File

@ -100,7 +100,7 @@ src
```bash ```bash
# 添加主仓库到 remote作为 fork 后仓库的上游仓库 # 添加主仓库到 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 git fetch upstream

View File

@ -29,9 +29,6 @@
"lib", "lib",
"vetur" "vetur"
], ],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"scripts": { "scripts": {
"dev": "vant-cli dev", "dev": "vant-cli dev",
"lint": "vant-cli lint", "lint": "vant-cli lint",
@ -43,12 +40,19 @@
"test:watch": "vant-cli test --watch", "test:watch": "vant-cli test --watch",
"test:coverage": "open test/coverage/index.html" "test:coverage": "open test/coverage/index.html"
}, },
"npm": { "publishConfig": {
"tag": "next" "registry": "https://registry.npmjs.org/"
}, },
"repository": { "repository": {
"type": "git", "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": [ "keywords": [
"ui", "ui",
@ -59,8 +63,6 @@
"component", "component",
"components" "components"
], ],
"author": "youzanfe",
"license": "MIT",
"dependencies": { "dependencies": {
"@vant/icons": "^1.7.1", "@vant/icons": "^1.7.1",
"@vant/popperjs": "^1.1.0", "@vant/popperjs": "^1.1.0",