2022-06-01 15:06:00 +08:00
|
|
|
{
|
|
|
|
"name": "amis-ui",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "esm/index.js",
|
2022-06-27 17:52:24 +08:00
|
|
|
"version": "2.0.0-rc.20",
|
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",
|
2022-06-27 18:36:01 +08:00
|
|
|
"update-snapshot": "jest --updateSnapshot",
|
2022-06-01 15:06:00 +08:00
|
|
|
"coverage": "jest --coverage",
|
2022-06-07 14:23:32 +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-06-07 10:55:33 +08:00
|
|
|
"amis-core": "*",
|
|
|
|
"amis-formula": "*",
|
2022-06-01 15:06:00 +08:00
|
|
|
"classnames": "2.3.1",
|
|
|
|
"codemirror": "^5.63.0",
|
|
|
|
"downshift": "6.1.7",
|
|
|
|
"echarts": "5.3.1",
|
|
|
|
"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.3",
|
|
|
|
"monaco-editor": "0.30.1",
|
|
|
|
"prop-types": "^15.6.1",
|
|
|
|
"rc-input-number": "^7.3.4",
|
|
|
|
"rc-progress": "^3.1.4",
|
|
|
|
"react-color": "^2.19.3",
|
|
|
|
"react-hook-form": "7.30.0",
|
|
|
|
"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.14.0",
|
|
|
|
"tinymce": "^5.10.3",
|
|
|
|
"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.0",
|
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
|
|
"@rollup/plugin-typescript": "^8.3.2",
|
|
|
|
"@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",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@types/react": "^17.0.39",
|
|
|
|
"@types/react-dom": "^17.0.11",
|
2022-06-01 21:35:49 +08:00
|
|
|
"autoprefixer": "^10.4.7",
|
2022-06-02 23:40:23 +08:00
|
|
|
"jest": "^28.1.0",
|
|
|
|
"jest-environment-jsdom": "^28.1.0",
|
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",
|
2022-06-01 15:06:00 +08:00
|
|
|
"react": "^18.0.0",
|
|
|
|
"react-dom": "^18.0.0",
|
|
|
|
"rimraf": "^3.0.2",
|
|
|
|
"rollup": "^2.73.0",
|
|
|
|
"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.52.1",
|
2022-06-06 15:15:37 +08:00
|
|
|
"ts-jest": "^28.0.3",
|
2022-06-01 15:06:00 +08:00
|
|
|
"typescript": "^4.6.4"
|
2022-06-02 13:28:23 +08:00
|
|
|
},
|
2022-06-07 19:51:51 +08:00
|
|
|
"peerDependencies": {
|
|
|
|
"react": ">=16.8.6",
|
|
|
|
"react-dom": ">=16.8.6"
|
|
|
|
},
|
2022-06-02 13:28:23 +08:00
|
|
|
"jest": {
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*"
|
|
|
|
],
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"\\.(ts|tsx)$": "ts-jest"
|
|
|
|
},
|
|
|
|
"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/"
|
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"ts-jest": {
|
|
|
|
"diagnostics": false
|
|
|
|
}
|
|
|
|
}
|
2022-06-07 14:23:32 +08:00
|
|
|
},
|
2022-06-07 14:29:34 +08:00
|
|
|
"gitHead": "6affe8e364da3f1fe062c338237a8d1f0f304866"
|
2022-06-24 15:09:31 +08:00
|
|
|
}
|