{"_id":"@bddh/baidu-acu-react-common","name":"@bddh/baidu-acu-react-common","dist-tags":{"latest":"5.4.18"},"versions":{"5.4.18":{"name":"@bddh/baidu-acu-react-common","version":"5.4.18","description":"百度智能云AI团队react公共部分：代码包括公共组件（common components）、业务组件（biz components）、高阶组件（HOC components）和工具集（utils）。","main":"cjs/index.js","module":"es/index.js","scripts":{"start":"styleguidist server","build":"rm -Rf cjs es && node rollup.js","build:demo":"styleguidist build","lint":"eslint src --ext .ts --ext .tsx","prepublishOnly":"npm run build","deploy":"npm publish --registry=https://registry.npmjs.org --access public","test":"jest"},"repository":{"type":"git","url":"ssh://zhangzhe@icode.baidu.com:8235/baidu/acu-ai-fe/react-app-common"},"author":{"name":"zhangzhe"},"license":"MIT","peerDependencies":{"@sentry/browser":">=5","ailabel":"^4.1.3","antd":"4.24.7","axios":"^0.21.1","bce-bos-uploader-lite":">=1.0.11","classnames":">=2","echarts":">=4","lodash":">=4","moment":">=2.29","prop-types":">=15","react":">=17","react-dom":">=17","react-redux":">=7","react-router-dom":">=5","redux":">=4","webuploader":">=0.1.8"},"dependencies":{"@huse/boolean":"^1.1.2","@huse/element-size":"^1.0.3","@huse/previous-value":"^1.1.1","@huse/timeout":"^1.1.1","@huse/update":"^1.1.1","acud-icon":"^1.0.7","ailabel":"^4.1.3","antd":"4.24.7","bce-bos-uploader-lite":">=1.0.11","big.js":"^6.0.3","humanize":"^0.0.9","lineclip":"^1.1.5","polybooljs":"^1.2.0","react-infinite-scroll-component":"^6.1.0","react-load-script":"0.0.6","webuploader":">=0.1.8"},"devDependencies":{"@babel/core":"^7.12.10","@babel/eslint-parser":"^7.12.1","@babel/eslint-plugin":"^7.12.1","@babel/preset-env":"^7.12.11","@babel/preset-react":"^7.12.10","@ecomfe/eslint-config":"^7.0.0","@rollup/plugin-json":"^6.0.0","@sentry/browser":"^5.19.0","@swc/helpers":"0.4.14","@types/classnames":"^2.3.1","@types/echarts":"^4.9.3","@types/enzyme":"^3.10.8","@types/jest":"^26.0.19","@types/lodash":"^4.14.167","@types/node":"^14.14.20","@types/prop-types":"^15.7.3","@types/react":"^17.0.0","@types/react-dom":"^17.0.0","@types/react-router-dom":"^5.1.7","@types/react-slick":"^0.23.4","@typescript-eslint/eslint-plugin":"^4.12.0","@typescript-eslint/parser":"^4.12.0","@wojtekmaj/enzyme-adapter-react-17":"^0.6.6","acorn":"6.3.0","axios":"^0.21.0","babel-eslint":"^10.1.0","babel-jest":"^26.6.3","babel-loader":"^8.2.3","copy-webpack-plugin":"^9.0.0","css-loader":"^5.0.0","echarts":"^5.0.0","enzyme":"^3.11.0","eslint":"^7.17.0","eslint-plugin-babel":"^5.3.1","eslint-plugin-react":"^7.22.0","eslint-plugin-react-hooks":"^4.2.0","file-loader":"^6.2.0","husky":"^4.3.7","ignore-styles":"^5.0.1","jest":"^26.6.3","less":"^4.0.0","less-loader":"^10.0.1","moment":"^2.29.1","nodemon":"^2.0.7","path":"^0.12.7","postcss":"^8.2.2","react":"^17.0.2","react-dom":"^17.0.2","react-redux":"^7.2.0","react-router-dom":"^5.3.0","react-styleguidist":"^11.2.0","react-test-renderer":"^17.0.2","redux":"^4.1.2","rollup":"^2.36.1","rollup-plugin-babel":"^4.4.0","rollup-plugin-commonjs":"^10.1.0","rollup-plugin-node-builtins":"^2.1.2","rollup-plugin-node-resolve":"^5.2.0","rollup-plugin-postcss":"^4.0.0","rollup-plugin-sourcemaps":"^0.6.3","rollup-plugin-terser":"^7.0.2","rollup-plugin-typescript2":"^0.29.0","style-loader":"^2.0.0","ts-import-plugin":"^1.6.7","ts-jest":"^26.4.4","ts-loader":"^9.2.5","ts-node":"^9.1.1","tslib":"^2.1.0","typescript":"^4.1.3","webpack":"^5.70.0"},"husky":{"hooks":{"pre-commit":"npm run lint"}},"gitHead":"db9a3344d074aee331d394c3a3bcb832a39d1839","types":"./cjs/index.d.ts","_id":"@bddh/baidu-acu-react-common@5.4.18","_nodeVersion":"20.18.2","_npmVersion":"11.6.2","dist":{"integrity":"sha512-HMDTXfl1ygjqI6UXyjTlUEwLq0l/uWqcVKKj4Nv0Jy+s4amFGGjP66tvmjRMri4bab6NZkdtt+4vzMdUB96apw==","shasum":"e362380f98b0db5523d46ce9f3a68baa8b8d9f1c","tarball":"https://registry.npmjs.org/@bddh/baidu-acu-react-common/-/baidu-acu-react-common-5.4.18.tgz","fileCount":264,"unpackedSize":2881380,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDiNRL/eYHmJVm9aFpNGJHbnn8MyPiqEW2/ovMddO2fpAIhAP57jMNG0iuGh42QPDLq3MP2i/tsffuN8vwCGyc/ibTc"}]},"_npmUser":{"name":"gongdong","email":"dongqinggong@gmail.com"},"directories":{},"maintainers":[{"name":"jtarch","email":"jtarch@163.com"},{"name":"jazzysnail","email":"jazzysnail@outlook.com"},{"name":"sanxy","email":"852667805@qq.com"},{"name":"coderdct","email":"2273997883@qq.com"},{"name":"gongdong","email":"dongqinggong@gmail.com"},{"name":"aliyah666","email":"liangweijing@baidu.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/baidu-acu-react-common_5.4.18_1773643517905_0.8755871021530264"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-16T06:45:17.828Z","5.4.18":"2026-03-16T06:45:18.094Z","modified":"2026-03-16T06:45:18.362Z"},"maintainers":[{"name":"jtarch","email":"jtarch@163.com"},{"name":"jazzysnail","email":"jazzysnail@outlook.com"},{"name":"sanxy","email":"852667805@qq.com"},{"name":"coderdct","email":"2273997883@qq.com"},{"name":"gongdong","email":"dongqinggong@gmail.com"},{"name":"aliyah666","email":"liangweijing@baidu.com"}],"description":"百度智能云AI团队react公共部分：代码包括公共组件（common components）、业务组件（biz components）、高阶组件（HOC components）和工具集（utils）。","repository":{"type":"git","url":"ssh://zhangzhe@icode.baidu.com:8235/baidu/acu-ai-fe/react-app-common"},"author":{"name":"zhangzhe"},"license":"MIT","readme":"# react-app-common\n一套适用于私有化项目的企业级UI组件库和React实现。\n\nAI2B的react公共部分， 包括通用组件（common components）、业务组件（biz components）、高阶组件(HOC components）和工具集（utils）。\n\nDemo及文档地址：[demo及文档](http://106.12.154.36/demo/)\n\n在模板项目中的使用：[模板项目](http://106.12.154.36/)\n\n\n## 特性\n- 简单快速：对于各种经典业务场景的开发，支持通过“配置化”来实现。\n- 技术领先：全部使用TypeScript构建，提供完整的类型定义文件（*.d.ts），让开发者解决问题于开发阶段。\n- 文档齐全：配有文档 + 使用Demo + 培训视频助开发者更聚焦于业务开发。\n- 全链路开发、测试、发布技术体系\n\n  1、使用react-styleguidelist框架来搭建demo和文档平台，并能支持开发过程中的调试。\n\n  2、基于Jest的自动化测试功能，覆盖100%工具类和80%组件。\n\n  3、应用eslint来进行代码风格检验。\n\n  4、基于rollup来实现编译打包功能，产出es和commonjs两份产出。\n\n  5、当前组件使用Hooks写法来实现\n\n## 技术方案\nreact全家桶 + react-styleguidelist + typescript + eslint + rollup + antd + jest + less\n\n## 如何使用\n```\nnpm install --save baidu-acu-react-common\n```\n\n## 如何开发\n```\n# dev\nnpm run start\n\n# build:demo\nnpm run build:demo\n\n# lint\nnpm run lint\n\n# build\nnpm run build\n\n# test\nnpm run test\n\n# update test\nnpm test -- -u\n\n```\n","readmeFilename":"README.md","_rev":"1-167408f050223056ed8ad3dbcb9184f9"}