diff --git a/package.json b/package.json index 47bf5f701..6b6bff78f 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "husky": { "hooks": { "pre-commit": "lint-staged", - "commit-msg": "vant commit-lint" + "commit-msg": "vant-cli commit-lint" } }, "lint-staged": { @@ -70,7 +70,7 @@ "@babel/preset-env": "^7.7.1", "@babel/preset-typescript": "^7.7.2", "@types/jest": "^24.0.22", - "@vant/cli": "^1.0.6", + "@vant/cli": "^2.0.0-beta.2", "@vant/doc": "^2.6.1", "@vant/eslint-config": "^1.4.0", "@vant/markdown-loader": "^2.2.0", diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index b520092c2..5a2c9801a 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -67,6 +67,7 @@ "cross-env": "^6.0.3", "css-loader": "^3.2.0", "csso": "^4.0.2", + "decamelize": "^3.2.0", "dependency-tree": "^7.0.2", "eslint": "^6.6.0", "gh-pages": "2.0.1", diff --git a/packages/vant-cli/site/desktop/components/Header.vue b/packages/vant-cli/site/desktop/components/Header.vue index 0447bb964..d5faab095 100644 --- a/packages/vant-cli/site/desktop/components/Header.vue +++ b/packages/vant-cli/site/desktop/components/Header.vue @@ -2,15 +2,15 @@