diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index 34c4a93de..4f6055970 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -3,19 +3,11 @@ "version": "1.2.4", "description": "eslint config of vant.", "main": "index.js", - "scripts": { - "release": "npm publish --access public" - }, - "repository": { - "type": "git", - "url": "https://github.com/youzan/vant.git", - "directory": "packages/vant-eslint-config" + "publishConfig": { + "access": "public" }, "license": "MIT", - "bugs": { - "url": "https://github.com/youzan/vant/issues" - }, - "homepage": "https://github.com/youzan/vant/packages/vant-eslint-config#readme", + "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-eslint-config", "peerDependencies": { "eslint": "^6.0.0" }, diff --git a/packages/vant-markdown-loader/package.json b/packages/vant-markdown-loader/package.json index 95c346fd0..17ef16fa6 100644 --- a/packages/vant-markdown-loader/package.json +++ b/packages/vant-markdown-loader/package.json @@ -3,19 +3,11 @@ "version": "2.2.0", "description": "Simple and fast vue markdown loader", "main": "src/index.js", - "scripts": { - "release": "npm publish --access public" - }, - "repository": { - "type": "git", - "url": "https://github.com/youzan/vant.git", - "directory": "packages/vant-markdown-loader" + "publishConfig": { + "access": "public" }, "license": "MIT", - "bugs": { - "url": "https://github.com/youzan/vant/issues" - }, - "homepage": "https://github.com/youzan/vant/packages/vant-markdown-loader#readme", + "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-markdown-loader", "dependencies": { "front-matter": "^3.0.2", "highlight.js": "^9.15.6", diff --git a/packages/vant-touch-emulator/package.json b/packages/vant-touch-emulator/package.json index 4c731a5c3..cd89a4e20 100644 --- a/packages/vant-touch-emulator/package.json +++ b/packages/vant-touch-emulator/package.json @@ -3,20 +3,9 @@ "version": "1.1.0", "description": "Vant touch emulator", "main": "index.js", - "scripts": { - "release": "npm publish --access publish" + "publishConfig": { + "access": "public" }, - "repository": { - "type": "git", - "url": "https://github.com/youzan/vant.git", - "directory": "packages/vant-touch-emulator" - }, - "keywords": [ - "vant" - ], "license": "MIT", - "bugs": { - "url": "https://github.com/youzan/vant/issues" - }, - "homepage": "https://github.com/youzan/vant/packages/vant-touch-emulator#readme" + "repository": "https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator" }