2022-06-01 15:06:00 +08:00
|
|
|
{
|
|
|
|
"name": "amis",
|
2023-07-07 18:08:51 +08:00
|
|
|
"version": "3.3.0-beta.4",
|
2022-06-01 15:06:00 +08:00
|
|
|
"description": "一种MIS页面生成工具",
|
|
|
|
"main": "lib/index.js",
|
2022-06-16 21:07:14 +08:00
|
|
|
"module": "esm/index.js",
|
2022-06-28 16:15:46 +08:00
|
|
|
"types": "lib/index.d.ts",
|
2022-06-01 15:06:00 +08:00
|
|
|
"scripts": {
|
|
|
|
"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",
|
|
|
|
"publish-to-internal": "sh build.sh && sh publish.sh",
|
2022-11-02 11:02:06 +08:00
|
|
|
"build": "npm run clean-dist && sh build.sh",
|
2022-06-01 15:06:00 +08:00
|
|
|
"prettier": "prettier --write '{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}'",
|
2022-11-02 11:02:06 +08:00
|
|
|
"build-schemas": "ts-node -O '{\"target\":\"es6\"}' ../../scripts/build-schemas.ts",
|
|
|
|
"clean-dist": "rimraf lib/** esm/**"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/baidu/amis.git"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"react",
|
|
|
|
"amis",
|
|
|
|
"mis",
|
|
|
|
"renderer",
|
|
|
|
"json",
|
|
|
|
"schema"
|
|
|
|
],
|
|
|
|
"author": "baidu",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"licenses": [
|
|
|
|
{
|
|
|
|
"type": "Apache-2.0",
|
|
|
|
"url": "http://www.apache.org/licenses/LICENSE-2.0"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2023-07-07 18:08:51 +08:00
|
|
|
"amis-core": "^3.3.0-beta.4",
|
|
|
|
"amis-ui": "^3.3.0-beta.4",
|
2022-06-01 15:06:00 +08:00
|
|
|
"attr-accept": "2.2.2",
|
|
|
|
"blueimp-canvastoblob": "2.1.0",
|
|
|
|
"classnames": "2.3.1",
|
2022-09-27 10:20:24 +08:00
|
|
|
"downshift": "6.1.12",
|
|
|
|
"echarts": "5.4.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"echarts-stat": "^1.2.0",
|
2023-06-08 16:46:09 +08:00
|
|
|
"echarts-wordcloud": "^2.1.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"exceljs": "^4.3.0",
|
|
|
|
"file-saver": "^2.0.2",
|
|
|
|
"hls.js": "1.1.3",
|
|
|
|
"hoist-non-react-statics": "^3.3.2",
|
|
|
|
"hotkeys-js": "^3.8.7",
|
|
|
|
"immutability-helper": "^3.1.1",
|
|
|
|
"jsbarcode": "^3.11.5",
|
|
|
|
"keycode": "^2.2.1",
|
|
|
|
"lodash": "^4.17.15",
|
|
|
|
"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
|
|
|
"mpegts.js": "^1.6.10",
|
2023-07-06 12:51:34 +08:00
|
|
|
"office-viewer": "^0.1.5",
|
2022-06-01 15:06:00 +08:00
|
|
|
"prop-types": "^15.6.1",
|
2022-07-29 18:09:07 +08:00
|
|
|
"qrcode.react": "^3.1.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"rc-overflow": "^1.2.4",
|
|
|
|
"react-cropper": "^2.1.8",
|
|
|
|
"react-dropzone": "^11.4.2",
|
|
|
|
"react-json-view": "1.21.3",
|
|
|
|
"react-transition-group": "4.4.2",
|
2022-09-27 10:20:24 +08:00
|
|
|
"sortablejs": "1.15.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"tslib": "^2.3.1",
|
2023-04-28 14:19:51 +08:00
|
|
|
"video-react": "0.15.0",
|
|
|
|
"xlsx": "^0.18.5"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
2022-08-16 12:46:28 +08:00
|
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
2022-06-06 15:15:37 +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-06 15:15:37 +08:00
|
|
|
"@svgr/rollup": "^6.2.1",
|
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
2022-10-10 21:16:36 +08:00
|
|
|
"@testing-library/react": "^13.4.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@types/async": "^2.0.45",
|
|
|
|
"@types/codemirror": "^5.60.3",
|
|
|
|
"@types/echarts": "^4.9.2",
|
|
|
|
"@types/file-saver": "^2.0.1",
|
|
|
|
"@types/history": "^4.6.0",
|
|
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
2022-06-06 15:15:37 +08:00
|
|
|
"@types/jest": "^28.1.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@types/json-schema": "^7.0.11",
|
|
|
|
"@types/lodash": "^4.14.175",
|
|
|
|
"@types/markdown-it": "^12.2.1",
|
|
|
|
"@types/mkdirp": "^1.0.1",
|
|
|
|
"@types/node": "^12.7.1",
|
|
|
|
"@types/papaparse": "^5.2.2",
|
|
|
|
"@types/prop-types": "^15.5.2",
|
|
|
|
"@types/qs": "^6.5.1",
|
2023-03-21 14:04:40 +08:00
|
|
|
"@types/react": "^18.0.24",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@types/react-color": "^3.0.5",
|
2023-03-21 14:04:40 +08:00
|
|
|
"@types/react-dom": "^18.0.8",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@types/react-onclickoutside": "^6.0.2",
|
|
|
|
"@types/react-router-dom": "^5.3.3",
|
|
|
|
"@types/react-test-renderer": "^17.0.1",
|
|
|
|
"@types/react-transition-group": "4.4.3",
|
|
|
|
"@types/sortablejs": "^1.3.32",
|
|
|
|
"@types/tinymce": "^4.5.24",
|
|
|
|
"axios": "0.25.0",
|
|
|
|
"bce-sdk-js": "^0.2.9",
|
2022-07-29 18:09:07 +08:00
|
|
|
"concurrently": "^7.3.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"copy-to-clipboard": "3.3.1",
|
|
|
|
"core-js": "^3.21.0",
|
|
|
|
"css": "3.0.0",
|
|
|
|
"fs-walk": "0.0.2",
|
|
|
|
"glob": "^7.2.0",
|
|
|
|
"history": "^4.7.2",
|
2022-09-27 10:20:24 +08:00
|
|
|
"jest": "^29.0.3",
|
2022-06-01 15:06:00 +08:00
|
|
|
"jest-canvas-mock": "^2.3.0",
|
2022-09-27 10:20:24 +08:00
|
|
|
"jest-environment-jsdom": "^29.0.3",
|
2022-06-01 15:06:00 +08:00
|
|
|
"js-yaml": "^4.1.0",
|
|
|
|
"json5": "^2.2.1",
|
|
|
|
"marked": ">=4.0.12",
|
|
|
|
"mkdirp": "^1.0.4",
|
2022-06-06 15:15:37 +08:00
|
|
|
"moment-timezone": "^0.5.34",
|
2022-06-01 15:06:00 +08:00
|
|
|
"path-to-regexp": "^6.2.0",
|
|
|
|
"postcss": "^8.4.6",
|
|
|
|
"postcss-cli": "^9.1.0",
|
|
|
|
"postcss-custom-properties": "^12.1.5",
|
|
|
|
"prettier": "^2.6.1",
|
|
|
|
"pretty-quick": "^3.1.1",
|
|
|
|
"prismjs": "^1.25.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
|
|
|
"react-router": "5.2.1",
|
|
|
|
"react-router-dom": "5.3.0",
|
|
|
|
"react-test-renderer": "^18.0.0",
|
|
|
|
"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-09-27 10:20:24 +08:00
|
|
|
"ts-jest": "^29.0.2",
|
2022-06-06 15:15:37 +08:00
|
|
|
"ts-json-schema-generator": "0.96.0",
|
|
|
|
"ts-node": "^10.5.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"typescript": "^4.6.4"
|
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"esm",
|
2022-06-07 17:02:27 +08:00
|
|
|
"sdk",
|
2022-09-06 17:51:36 +08:00
|
|
|
"schema.json",
|
|
|
|
"revision.json"
|
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-07-07 17:25:03 +08:00
|
|
|
"./lib/helper.css": {
|
2023-03-21 12:41:36 +08:00
|
|
|
"style": "./lib/helper.css",
|
2022-07-07 17:25:03 +08:00
|
|
|
"require": "./lib/helper.css",
|
|
|
|
"import": "./lib/helper.css"
|
|
|
|
},
|
|
|
|
"./lib/themes/*": {
|
2023-03-21 12:41:36 +08:00
|
|
|
"style": "./lib/themes/*",
|
2022-07-07 17:25:03 +08:00
|
|
|
"require": "./lib/themes/*",
|
|
|
|
"import": "./lib/themes/*"
|
|
|
|
},
|
2022-06-16 21:07:14 +08:00
|
|
|
"./lib/*": {
|
|
|
|
"require": "./lib/*.js",
|
|
|
|
"import": "./esm/*.js"
|
2022-07-07 17:25:03 +08:00
|
|
|
},
|
|
|
|
"./sdk/*": {
|
2023-03-21 12:41:36 +08:00
|
|
|
"style": [
|
|
|
|
"./sdk/*"
|
|
|
|
],
|
2022-07-07 17:25:03 +08:00
|
|
|
"require": [
|
|
|
|
"./sdk/*"
|
|
|
|
],
|
|
|
|
"import": [
|
|
|
|
"./sdk/*"
|
|
|
|
]
|
2022-10-13 10:17:47 +08:00
|
|
|
},
|
|
|
|
"./schema.json": {
|
|
|
|
"require": [
|
|
|
|
"./schema.json"
|
|
|
|
],
|
|
|
|
"import": [
|
|
|
|
"./schema.json"
|
|
|
|
]
|
2022-06-16 21:07:14 +08:00
|
|
|
}
|
|
|
|
},
|
2022-06-01 15:06:00 +08:00
|
|
|
"jest": {
|
|
|
|
"testEnvironment": "jsdom",
|
2023-06-16 21:46:02 +08:00
|
|
|
"coverageReporters": [
|
|
|
|
"text",
|
|
|
|
"cobertura"
|
|
|
|
],
|
2022-06-01 15:06:00 +08:00
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*"
|
|
|
|
],
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js"
|
|
|
|
],
|
|
|
|
"transform": {
|
2022-09-27 10:20:24 +08:00
|
|
|
"\\.(ts|tsx)$": [
|
|
|
|
"ts-jest",
|
|
|
|
{
|
|
|
|
"diagnostics": false
|
|
|
|
}
|
|
|
|
]
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"setupFiles": [
|
|
|
|
"jest-canvas-mock"
|
|
|
|
],
|
|
|
|
"testRegex": "/.*\\.test\\.(ts|tsx|js)$",
|
|
|
|
"moduleNameMapper": {
|
2022-06-02 10:00:09 +08:00
|
|
|
"\\.(css|less|sass|scss)$": "<rootDir>/../../__mocks__/styleMock.js",
|
|
|
|
"\\.(svg)$": "<rootDir>/../../__mocks__/svgMock.js",
|
2022-06-02 23:40:23 +08:00
|
|
|
"\\.svg\\.js$": "<rootDir>/../../__mocks__/svgJsMock.js",
|
|
|
|
"^amis\\-ui$": "<rootDir>/../amis-ui/src/index.tsx"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"setupFilesAfterEnv": [
|
2022-06-02 10:00:09 +08:00
|
|
|
"<rootDir>/../amis-core/__tests__/jest.setup.js"
|
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/.rollup.cache/"
|
2022-09-30 18:09:35 +08:00
|
|
|
],
|
|
|
|
"snapshotFormat": {
|
|
|
|
"escapeString": false,
|
|
|
|
"printBasicPrototype": false
|
|
|
|
}
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
2022-08-24 20:37:04 +08:00
|
|
|
"amis-core": "*",
|
2022-09-01 22:09:07 +08:00
|
|
|
"amis-ui": "*",
|
2023-07-03 14:31:27 +08:00
|
|
|
"office-viewer": "*",
|
2022-09-01 22:09:07 +08:00
|
|
|
"react": ">=16.8.6",
|
|
|
|
"react-dom": ">=16.8.6"
|
2022-06-07 14:23:32 +08:00
|
|
|
},
|
2022-07-11 17:22:51 +08:00
|
|
|
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
|
2023-07-06 16:36:17 +08:00
|
|
|
}
|