amis/packages/amis-ui/package.json

150 lines
3.8 KiB
JSON
Raw Normal View History

2022-06-01 15:06:00 +08:00
{
"name": "amis-ui",
"main": "lib/index.js",
"module": "esm/index.js",
2022-06-28 16:15:46 +08:00
"types": "lib/index.d.ts",
2023-07-03 21:39:46 +08:00
"version": "3.2.0",
2022-06-01 15:06:00 +08:00
"description": "",
"scripts": {
"build": "npm run clean-dist && NODE_ENV=production rollup -c ",
"dev": "rollup -c -w",
"test": "jest",
chore: 开发环境切成 vite (#5677) * 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 样式文档调整 * 修复有多个 __inline 时的报错 * scirpt 调整 * feat:chart接入事件动作 (#5669) * chore: input-group 没有 name 不应该报 warning (#5667) * chore: 处理编译TS Warning,调整TableStore中label解析的顺序 (#5670) * feat: timeline时间轴支持自定义图标 (#5668) * fix:折叠器Collapse自定义图标&inputNumber对含后缀生效 * 修改 * 正则修改 * 正则修改 * 正则修改 * feat:将默认px替换为rem 2px===0.125rem * feat:timeline时间轴支持自定义图标 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * fix: 调整echarts-stat使用方式,兼容vite打包异步非esm模块 (#5672) * feat: chart 支持配置加载 geojson 及百度地图 (#5674) * feat: chart 支持配置 geoURL 及 geoName * 增加百度地图配置 * chore: 修复 coverage 运行报错 (#5678) * chore: coverage 执行换成 v8 解决内存问题 (#5679) * 尝试使用 vite 跑开发环境 * amis-formula 也添加 esm 模块 * 代码合并有问题,做些调整 Co-authored-by: hsm-lv <80095014+hsm-lv@users.noreply.github.com> Co-authored-by: 吴多益 <wuduoyi@baidu.com> Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com> Co-authored-by: 徐佳豪 <1440054388@qq.com> Co-authored-by: xujiahao01 <xujiahao01@baidu.com> Co-authored-by: 刘丹 <365533093@qq.com>
2022-11-02 22:45:12 +08:00
"gen-doc": "ts-node ./scripts/genDoc.ts",
"update-snapshot": "jest --updateSnapshot",
2022-06-01 15:06:00 +08:00
"coverage": "jest --coverage",
"clean-dist": "rimraf lib/** esm/**"
2022-06-01 15:06:00 +08:00
},
"author": "fex",
"license": "Apache-2.0",
"files": [
"lib",
2022-06-07 11:40:09 +08:00
"esm",
"scss"
2022-06-01 15:06:00 +08:00
],
2022-06-16 21:07:14 +08:00
"exports": {
".": {
"require": "./lib/index.js",
"import": "./esm/index.js"
},
"./scss/": "./scss/",
"./lib/themes/": "./lib/themes/",
2022-06-16 21:07:14 +08:00
"./lib/*": {
"require": "./lib/*.js",
"import": "./esm/*.js"
}
},
2022-06-01 15:06:00 +08:00
"dependencies": {
"@rc-component/mini-decimal": "^1.0.1",
2023-07-03 21:39:46 +08:00
"amis-core": "^3.2.0",
"amis-formula": "^3.2.0",
2022-06-01 15:06:00 +08:00
"classnames": "2.3.1",
"codemirror": "^5.63.0",
"downshift": "6.1.12",
"echarts": "5.4.0",
2022-06-01 15:06:00 +08:00
"froala-editor": "3.1.1",
"hoist-non-react-statics": "^3.3.2",
"jsbarcode": "^3.11.5",
"keycode": "^2.2.1",
"lodash": "^4.17.15",
2022-06-07 19:33:36 +08:00
"markdown-it": "^12.0.6",
"markdown-it-html5-media": "^0.7.1",
2022-06-01 15:06:00 +08:00
"match-sorter": "^6.3.1",
"mobx": "^4.5.0",
"mobx-react": "^6.3.1",
"mobx-state-tree": "^3.17.3",
"moment": "^2.19.4",
2022-06-01 15:06:00 +08:00
"monaco-editor": "0.30.1",
"prop-types": "^15.6.1",
"rc-input-number": "^7.4.0",
2023-04-17 19:14:55 +08:00
"rc-menu": "^9.8.4",
2022-06-01 15:06:00 +08:00
"rc-progress": "^3.1.4",
"react-color": "^2.19.3",
2023-01-03 20:35:42 +08:00
"react-draggable": "^4.4.5",
"react-hook-form": "7.39.0",
2022-06-01 15:06:00 +08:00
"react-json-view": "1.21.3",
"react-overlays": "5.1.1",
"react-textarea-autosize": "8.3.3",
"react-transition-group": "4.4.2",
"react-visibility-sensor": "5.1.1",
"sortablejs": "1.15.0",
"tinymce": "^6.1.2",
2022-06-01 15:06:00 +08:00
"tslib": "^2.3.1",
2022-06-07 19:33:36 +08:00
"uncontrollable": "7.2.1"
2022-06-01 15:06:00 +08:00
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.2",
2022-06-01 15:06:00 +08:00
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@rollup/plugin-typescript": "^8.3.4",
2022-06-01 15:06:00 +08:00
"@svgr/rollup": "^6.2.1",
"@testing-library/jest-dom": "^5.16.4",
2022-06-01 21:35:49 +08:00
"@types/babel__core": "^7.1.19",
2022-06-06 15:15:37 +08:00
"@types/jest": "^28.1.0",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"autoprefixer": "^10.4.12",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
2022-06-01 15:06:00 +08:00
"moment-timezone": "^0.5.34",
2022-06-01 21:35:49 +08:00
"postcss-import": "^14.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
2022-06-01 15:06:00 +08:00
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
2022-06-01 15:06:00 +08:00
"rollup-plugin-auto-external": "^2.0.0",
"rollup-plugin-license": "^2.7.0",
2022-06-01 21:35:49 +08:00
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-scss": "^3.0.0",
"sass": "^1.54.9",
"ts-jest": "^29.0.2",
2022-12-01 10:55:07 +08:00
"ts-node": "^10.4.0",
"typescript": "^4.6.4"
2022-06-02 13:28:23 +08:00
},
2022-06-07 19:51:51 +08:00
"peerDependencies": {
"amis-core": "*",
2022-09-01 22:09:07 +08:00
"amis-formula": "*",
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
2022-06-07 19:51:51 +08:00
},
2022-06-02 13:28:23 +08:00
"jest": {
"testEnvironment": "jsdom",
"coverageReporters": [
"text",
"cobertura"
],
2022-06-02 13:28:23 +08:00
"collectCoverageFrom": [
"src/**/*"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": [
"ts-jest",
{
"diagnostics": false
}
]
2022-06-02 13:28:23 +08:00
},
"setupFiles": [
"jest-canvas-mock"
],
"testRegex": "/.*\\.test\\.(ts|tsx|js)$",
"moduleNameMapper": {
"\\.(css|less|sass|scss)$": "<rootDir>/../../__mocks__/styleMock.js",
"\\.(svg)$": "<rootDir>/../../__mocks__/svgMock.js",
"\\.svg\\.js$": "<rootDir>/../../__mocks__/svgJsMock.js"
},
"setupFilesAfterEnv": [
"<rootDir>/../amis-core/__tests__/jest.setup.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/.rollup.cache/"
]
2022-06-07 14:23:32 +08:00
},
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
2023-03-31 20:33:30 +08:00
}