diff --git a/README.md b/README.md index edc1b62..c2890fb 100644 --- a/README.md +++ b/README.md @@ -13,14 +13,10 @@ React Tooltip [npm-url]: http://npmjs.org/package/rc-tooltip [travis-image]: https://img.shields.io/travis/react-component/tooltip/master?style=flat-square [travis-url]: https://travis-ci.com/react-component/tooltip -[github-actions-image]: https://github.com/react-component/tooltip/workflows/CI/badge.svg -[github-actions-url]: https://github.com/react-component/tooltip/actions +[github-actions-image]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml/badge.svg +[github-actions-url]: https://github.com/react-component/tooltip/actions/workflows/react-component-ci.yml [codecov-image]: https://img.shields.io/codecov/c/github/react-component/tooltip/master.svg?style=flat-square [codecov-url]: https://app.codecov.io/gh/react-component/tooltip -[david-url]: https://david-dm.org/react-component/tooltip -[david-image]: https://david-dm.org/react-component/tooltip/status.svg?style=flat-square -[david-dev-url]: https://david-dm.org/react-component/tooltip?type=dev -[david-dev-image]: https://david-dm.org/react-component/tooltip/dev-status.svg?style=flat-square [download-image]: https://img.shields.io/npm/dm/rc-tooltip.svg?style=flat-square [download-url]: https://npmjs.org/package/rc-tooltip [bundlephobia-url]: https://bundlephobia.com/package/rc-tooltip @@ -66,7 +62,7 @@ ReactDOM.render( `npm start` and then go to -Online demo: +Online demo: https://tooltip-react-component.vercel.app/ ## API diff --git a/package.json b/package.json index e6efe8d..11ec24b 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,6 @@ "@types/react": "^19.1.4", "@types/react-dom": "^19.1.5", "@types/warning": "^3.0.0", - "cross-env": "^7.0.0", "dumi": "^2.2.13", "eslint": "^8.56.0", "eslint-plugin-unicorn": "^55.0.0", diff --git a/vercel.json b/vercel.json index cc12e40..120c2be 100644 --- a/vercel.json +++ b/vercel.json @@ -1,3 +1,14 @@ { - "framework": "umijs" -} + "$schema": "https://openapi.vercel.sh/vercel.json", + "version": 2, + "name": "@rc-component/tooltip", + "builds": [ + { + "src": "package.json", + "use": "@vercel/static-build", + "config": { + "distDir": "dist" + } + } + ] +} \ No newline at end of file