2022-06-14 23:50:58 +08:00
|
|
|
{
|
|
|
|
"name": "amis-editor-core",
|
2023-03-20 14:54:07 +08:00
|
|
|
"version": "5.2.5-beta.3",
|
2022-06-14 23:50:58 +08:00
|
|
|
"description": "amis 可视化编辑器",
|
2022-11-23 23:12:19 +08:00
|
|
|
"main": "lib/index.js",
|
|
|
|
"module": "esm/index.js",
|
2022-06-14 23:50:58 +08:00
|
|
|
"types": "lib/index.d.ts",
|
2023-02-06 15:58:43 +08:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"require": "./lib/index.js",
|
|
|
|
"import": "./esm/index.js"
|
|
|
|
},
|
2023-03-21 12:41:36 +08:00
|
|
|
"./lib/style.css": {
|
|
|
|
"style": "./lib/style.css",
|
|
|
|
"require": "./lib/style.css",
|
|
|
|
"import": "./lib/style.css"
|
|
|
|
},
|
2023-02-06 15:58:43 +08:00
|
|
|
"./lib/*": {
|
2023-02-10 17:39:01 +08:00
|
|
|
"require": "./lib/*",
|
|
|
|
"import": "./esm/*"
|
|
|
|
},
|
|
|
|
"./scss/*": {
|
2023-03-21 12:41:36 +08:00
|
|
|
"style": "./scss/*",
|
2023-02-10 17:40:25 +08:00
|
|
|
"require": "./scss/*",
|
|
|
|
"import": "./scss/*"
|
2023-02-06 15:58:43 +08:00
|
|
|
},
|
|
|
|
"./*": {
|
|
|
|
"require": "./lib/*.js",
|
|
|
|
"import": "./esm/*.js"
|
|
|
|
}
|
|
|
|
},
|
2022-06-14 23:50:58 +08:00
|
|
|
"scripts": {
|
2023-03-21 12:06:07 +08:00
|
|
|
"test": "echo \"Warnings: no test specified\"",
|
2022-11-29 17:07:24 +08:00
|
|
|
"build": "npm run clean-dist && NODE_ENV=production rollup -c",
|
2022-08-14 16:37:46 +08:00
|
|
|
"clean-dist": "rimraf lib/* esm/*",
|
|
|
|
"i18n:update": "npx i18n update --config=./i18nConfig.js",
|
2022-09-23 10:17:28 +08:00
|
|
|
"i18n:translate": "npx i18n translate --config=./i18nConfig.js --l=en-US",
|
|
|
|
"i18n:merge": "npx i18n merge --config=./i18nConfig.js --l=en-US"
|
2022-06-14 23:50:58 +08:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"amis",
|
|
|
|
"editor"
|
|
|
|
],
|
|
|
|
"author": "@fex",
|
|
|
|
"license": "ISC",
|
|
|
|
"files": [
|
2022-11-23 23:12:19 +08:00
|
|
|
"lib",
|
2022-12-01 10:51:15 +08:00
|
|
|
"esm",
|
|
|
|
"static"
|
2022-06-14 23:50:58 +08:00
|
|
|
],
|
|
|
|
"dependencies": {
|
2022-11-29 17:07:24 +08:00
|
|
|
"axios": "0.21.1",
|
2022-06-14 23:50:58 +08:00
|
|
|
"deep-diff": "1.0.2",
|
|
|
|
"json-ast-comments": "^1.1.0",
|
2022-06-17 11:09:00 +08:00
|
|
|
"lodash": "^4.17.15",
|
2022-06-14 23:50:58 +08:00
|
|
|
"mobx": "^4.5.0",
|
2022-11-18 12:56:31 +08:00
|
|
|
"mobx-react": "^6.3.1",
|
2022-06-14 23:50:58 +08:00
|
|
|
"mobx-state-tree": "^3.17.3",
|
2022-11-23 23:12:19 +08:00
|
|
|
"react-json-view": "^1.21.3",
|
2022-06-17 11:09:00 +08:00
|
|
|
"sortablejs": "^1.14.0"
|
2022-06-14 23:50:58 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
2022-11-23 23:12:19 +08:00
|
|
|
"@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",
|
2022-06-14 23:50:58 +08:00
|
|
|
"@types/async": "^2.0.45",
|
|
|
|
"@types/classnames": "^2.2.3",
|
|
|
|
"@types/codemirror": "^5.60.5",
|
|
|
|
"@types/deep-diff": "^1.0.0",
|
|
|
|
"@types/history": "^4.6.0",
|
|
|
|
"@types/hoist-non-react-statics": "^3.0.1",
|
|
|
|
"@types/lodash": "^4.14.76",
|
|
|
|
"@types/node": "^14.0.24",
|
|
|
|
"@types/qs": "^6.5.1",
|
2022-11-18 12:56:31 +08:00
|
|
|
"@types/react": "^18.0.24",
|
|
|
|
"@types/react-dom": "^18.0.8",
|
2022-06-14 23:50:58 +08:00
|
|
|
"@types/react-router": "^4.0.16",
|
|
|
|
"@types/react-router-dom": "^5.1.7",
|
|
|
|
"@types/sortablejs": "^1.10.7",
|
|
|
|
"@types/tinycolor2": "^1.4.3",
|
|
|
|
"ajv": "^8.8.2",
|
2022-11-29 17:07:24 +08:00
|
|
|
"autoprefixer": "^10.4.12",
|
2022-06-14 23:50:58 +08:00
|
|
|
"concurrently": "^6.2.0",
|
|
|
|
"css-loader": "^6.2.0",
|
|
|
|
"faker": "^5.5.3",
|
|
|
|
"husky": "^7.0.0",
|
|
|
|
"lint-staged": "^12.1.2",
|
|
|
|
"mini-css-extract-plugin": "^2.3.0",
|
2022-11-29 17:07:24 +08:00
|
|
|
"postcss-import": "^14.1.0",
|
|
|
|
"postcss-minify": "^1.1.0",
|
2022-12-29 15:08:27 +08:00
|
|
|
"postcss-url": "^10.1.3",
|
2022-06-14 23:50:58 +08:00
|
|
|
"prettier": "^2.2.1",
|
2022-11-18 12:56:31 +08:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2022-06-14 23:50:58 +08:00
|
|
|
"react-overlays": "5.1.1",
|
|
|
|
"react-router": "5.2.0",
|
|
|
|
"react-router-dom": "5.2.0",
|
2022-06-17 11:09:00 +08:00
|
|
|
"rimraf": "^3.0.2",
|
2022-11-23 23:12:19 +08:00
|
|
|
"rollup": "^2.73.0",
|
|
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
|
|
"rollup-plugin-license": "^2.7.0",
|
2022-11-29 17:07:24 +08:00
|
|
|
"rollup-plugin-postcss": "^4.0.2",
|
2022-11-23 23:12:19 +08:00
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2022-06-14 23:50:58 +08:00
|
|
|
"sass": "^1.49.7",
|
|
|
|
"sass-loader": "^12.5.0",
|
|
|
|
"style-loader": "^3.2.1",
|
2022-08-25 15:02:25 +08:00
|
|
|
"stylelint": "^14.11.0",
|
2022-06-14 23:50:58 +08:00
|
|
|
"ts-loader": "^9.2.5",
|
|
|
|
"tslib": "^2.3.1",
|
2022-11-30 12:15:00 +08:00
|
|
|
"typescript": "^4.4.2"
|
2022-06-14 23:50:58 +08:00
|
|
|
},
|
|
|
|
"peerDependencies": {
|
|
|
|
"amis": "*",
|
|
|
|
"amis-core": "*",
|
2022-06-17 11:09:00 +08:00
|
|
|
"amis-formula": "*",
|
2022-08-26 17:09:12 +08:00
|
|
|
"amis-ui": "*",
|
2022-11-26 22:05:20 +08:00
|
|
|
"i18n-runtime": "*",
|
|
|
|
"react": ">=16.8.6",
|
|
|
|
"react-dom": ">=16.8.6"
|
2022-06-14 23:50:58 +08:00
|
|
|
}
|
2023-03-16 20:09:21 +08:00
|
|
|
}
|