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",
|
2024-09-03 09:10:51 +08:00
|
|
|
"version": "6.8.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"description": "",
|
|
|
|
"scripts": {
|
|
|
|
"build": "npm run clean-dist && NODE_ENV=production rollup -c ",
|
2023-07-13 14:13:24 +08:00
|
|
|
"build-esm": "npm run clean-dist && NODE_ENV=production rollup -c rollup.esm.config.js",
|
2022-06-01 15:06:00 +08:00
|
|
|
"dev": "rollup -c -w",
|
|
|
|
"test": "jest",
|
2022-11-02 22:45:12 +08:00
|
|
|
"gen-doc": "ts-node ./scripts/genDoc.ts",
|
2022-06-27 18:36:01 +08:00
|
|
|
"update-snapshot": "jest --updateSnapshot",
|
2022-06-01 15:06:00 +08:00
|
|
|
"coverage": "jest --coverage",
|
2022-11-02 11:02:06 +08:00
|
|
|
"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"
|
|
|
|
},
|
2022-06-27 11:06:21 +08:00
|
|
|
"./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": {
|
2022-12-01 20:35:51 +08:00
|
|
|
"@rc-component/mini-decimal": "^1.0.1",
|
2024-09-03 09:10:51 +08:00
|
|
|
"amis-core": "^6.8.0",
|
|
|
|
"amis-formula": "^6.8.0",
|
2023-07-18 12:24:45 +08:00
|
|
|
"classnames": "2.3.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"codemirror": "^5.63.0",
|
2022-09-27 10:20:24 +08:00
|
|
|
"downshift": "6.1.12",
|
2024-08-20 15:59:34 +08:00
|
|
|
"echarts": "5.5.1",
|
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",
|
2022-07-29 18:09:07 +08:00
|
|
|
"moment": "^2.19.4",
|
2022-06-01 15:06:00 +08:00
|
|
|
"monaco-editor": "0.30.1",
|
|
|
|
"prop-types": "^15.6.1",
|
2022-12-28 16:59:19 +08:00
|
|
|
"rc-input-number": "^7.4.0",
|
2023-11-16 15:54:01 +08:00
|
|
|
"rc-menu": "^9.12.2",
|
2023-08-28 16:29:43 +08:00
|
|
|
"rc-progress": "3.4.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"react-color": "^2.19.3",
|
2023-01-03 20:35:42 +08:00
|
|
|
"react-draggable": "^4.4.5",
|
2022-11-08 10:17:56 +08:00
|
|
|
"react-hook-form": "7.39.0",
|
2023-12-29 18:23:21 +08:00
|
|
|
"react-intersection-observer": "9.5.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"react-json-view": "1.21.3",
|
|
|
|
"react-overlays": "5.1.1",
|
2024-05-29 20:08:12 +08:00
|
|
|
"react-pdf": "9.0.0",
|
2023-07-20 16:03:38 +08:00
|
|
|
"react-textarea-autosize": "8.3.3",
|
2022-06-01 15:06:00 +08:00
|
|
|
"react-transition-group": "4.4.2",
|
|
|
|
"react-visibility-sensor": "5.1.1",
|
2024-05-09 12:07:58 +08:00
|
|
|
"smooth-signature": "^1.0.15",
|
2022-09-27 10:20:24 +08:00
|
|
|
"sortablejs": "1.15.0",
|
2022-07-29 18:09:07 +08:00
|
|
|
"tinymce": "^6.1.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"tslib": "^2.3.1",
|
2023-12-29 18:23:21 +08:00
|
|
|
"uncontrollable": "7.2.1"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-16 12:46:28 +08:00
|
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
2022-09-27 10:20:24 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
2022-08-16 12:46:28 +08:00
|
|
|
"@rollup/plugin-typescript": "^8.3.4",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@svgr/rollup": "^6.2.1",
|
2023-09-19 14:54:36 +08:00
|
|
|
"@testing-library/jest-dom": "^5.17.0",
|
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",
|
2023-03-21 14:04:40 +08:00
|
|
|
"@types/react": "^18.0.24",
|
|
|
|
"@types/react-dom": "^18.0.8",
|
2022-09-27 10:20:24 +08:00
|
|
|
"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",
|
2024-08-22 11:31:16 +08:00
|
|
|
"pdfjs-dist": "4.3.136",
|
2022-06-01 21:35:49 +08:00
|
|
|
"postcss-import": "^14.1.0",
|
2022-07-29 18:09:07 +08:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"rimraf": "^3.0.2",
|
2022-09-27 10:20:24 +08:00
|
|
|
"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",
|
2022-09-20 09:28:58 +08:00
|
|
|
"sass": "^1.54.9",
|
2022-09-27 10:20:24 +08:00
|
|
|
"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": {
|
2022-08-24 20:37:04 +08:00
|
|
|
"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",
|
2023-06-16 21:46:02 +08:00
|
|
|
"coverageReporters": [
|
|
|
|
"text",
|
|
|
|
"cobertura"
|
|
|
|
],
|
2022-06-02 13:28:23 +08:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*"
|
|
|
|
],
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"transform": {
|
2024-02-02 13:55:23 +08:00
|
|
|
"^.+\\.(t|j)sx?$": "@swc/jest"
|
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-09-27 10:20:24 +08:00
|
|
|
]
|
2022-06-07 14:23:32 +08:00
|
|
|
},
|
2022-07-11 17:22:51 +08:00
|
|
|
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
|
2024-02-29 21:19:54 +08:00
|
|
|
}
|