mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 12:38:53 +08:00
3ac4097dc4
* style: button主题适配 (#5780) * feat: button增加font-weight (#5781) * feat: button增加font-weight * fix: button-fix * fix: button-fix Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: font * feat: input输入框变量样式&切换图标方案 (#5847) * feat: input输入框变量样式&切换图标方案 * fix: 去掉多余代码 * fix: 去掉多余代码 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: input外观 * fix: 修复选择图标没选中 (#5858) * fix: 修复选择图标没选中 * fix: 代码格式 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: link组件 * style: form * inputNumber输入输入框 组件css变量 (#5874) * inputNumber输入输入框 组件css变量 * inputNumber组件 兼容变量 * inputNumber组件 css变量文件迁移 * inputNumber组件 删除变量 * 去除无用变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: form * style: form * InputNumber组件 变量修改 (#5879) * inputNumber输入输入框 组件css变量 * inputNumber组件 兼容变量 * inputNumber组件 css变量文件迁移 * inputNumber组件 删除变量 * 去除无用变量 * InputNumber组件 变量修改 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: form * style: input * inputNumber组件 加强版分别配置 (#5887) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: input-range * inputNumber组件 加强版图标 (#5888) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * style: rating * checkbox组件变量 (#5902) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 * checkbox组件变量 * 修改checkbox-size * 修改checkbox-size变量 * 优化 * 优化 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * checkbox边框 背景分别配置变量 (#5904) * inputNumber组件 加强版分别配置 * inputNumber组件 加强版图标 * 修改图标变量 * checkbox组件变量 * 修改checkbox-size * 修改checkbox-size变量 * 优化 * 优化 * checkbox边框 背景分别配置变量 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * listSelect组件变量 (#5917) * listSelect组件变量 * 优化 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * feat: radio&switch样式变量适配 (#5924) * feat: radio&switch样式变量适配 * fix:修复变量 * fix: 变量修复 * fix: 变量修复 Co-authored-by: hongyang03 <hongyang03@baidu.com> * style: 兼容style * feat: Collapse变量适配 (#5934) Co-authored-by: hongyang03 <hongyang03@baidu.com> * 组件自定义变量补充 (#5947) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * inputNumber加强版背景覆盖普通版 (#5951) * 组件自定义变量补充 * inputNumber加强版背景覆盖普通版 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * pref: 已修改组件变量迁移到components (#5952) * pref: 将变量冲properties迁移到components * pref: 已修改组件变量迁移到components Co-authored-by: hongyang03 <hongyang03@baidu.com> * pref: 优化变量位置 (#5953) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 面板\分割线\选项卡 * theme: 选项卡 * theme: link * feat: inputFile&inputImage组件变量 (#5982) Co-authored-by: hongyang03 <hongyang03@baidu.com> * fix: 图标选择修复和兼容处理 (#5984) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: bugfix * theme: bugfix * fix: 去掉input的size&修复collapse样式 (#5985) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 样式调整 * theme: 样式调整 * pref: 折叠器样式变量修改 (#5991) Co-authored-by: hongyang03 <hongyang03@baidu.com> * theme: 样式调整 * theme: 样式调整 * theme: 样式调整 * theme: 样式调整 * styles: 主题变量bugfix * checkbox&number组件变量修复 (#6019) Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * fix: 输入框图标样式修复 (#6021) Co-authored-by: hongyang03 <hongyang03@baidu.com> * 回滚注释 * 更新快照 * fix: 修复评分组件报错问题 Co-authored-by: HongYang <33488114+hy993658052@users.noreply.github.com> Co-authored-by: hongyang03 <hongyang03@baidu.com> Co-authored-by: 徐佳豪 <1440054388@qq.com> Co-authored-by: xujiahao01 <xujiahao01@baidu.com>
239 lines
6.1 KiB
JSON
239 lines
6.1 KiB
JSON
{
|
|
"name": "amis",
|
|
"version": "2.6.0",
|
|
"description": "一种MIS页面生成工具",
|
|
"main": "lib/index.js",
|
|
"module": "esm/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"scripts": {
|
|
"test": "jest",
|
|
"update-snapshot": "jest --updateSnapshot",
|
|
"coverage": "jest --coverage",
|
|
"publish-to-internal": "sh build.sh && sh publish.sh",
|
|
"build": "npm run clean-dist && sh build.sh",
|
|
"prettier": "prettier --write '{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}'",
|
|
"build-schemas": "ts-node -O '{\"target\":\"es6\"}' ../../scripts/build-schemas.ts",
|
|
"clean-dist": "rimraf lib/** esm/**"
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"lint-staged": {
|
|
"{src,examples}/**/**/*.{tsx,jsx,ts}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"amis-core": "^2.6.0",
|
|
"amis-ui": "^2.6.0",
|
|
"attr-accept": "2.2.2",
|
|
"blueimp-canvastoblob": "2.1.0",
|
|
"classnames": "2.3.1",
|
|
"downshift": "6.1.12",
|
|
"echarts": "5.4.0",
|
|
"echarts-stat": "^1.2.0",
|
|
"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",
|
|
"moment": "^2.19.4",
|
|
"mpegts.js": "^1.6.10",
|
|
"prop-types": "^15.6.1",
|
|
"qrcode.react": "^3.1.0",
|
|
"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",
|
|
"sortablejs": "1.15.0",
|
|
"tslib": "^2.3.1",
|
|
"video-react": "0.15.0"
|
|
},
|
|
"devDependencies": {
|
|
"@fortawesome/fontawesome-free": "^6.1.1",
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
"@rollup/plugin-typescript": "^8.3.4",
|
|
"@svgr/rollup": "^6.2.1",
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
"@testing-library/react": "^13.4.0",
|
|
"@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",
|
|
"@types/jest": "^28.1.0",
|
|
"@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",
|
|
"@types/react": "^17.0.39",
|
|
"@types/react-color": "^3.0.5",
|
|
"@types/react-dom": "^17.0.11",
|
|
"@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",
|
|
"concurrently": "^7.3.0",
|
|
"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",
|
|
"husky": "^7.0.4",
|
|
"jest": "^29.0.3",
|
|
"jest-canvas-mock": "^2.3.0",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"js-yaml": "^4.1.0",
|
|
"json5": "^2.2.1",
|
|
"lint-staged": "^12.3.3",
|
|
"marked": ">=4.0.12",
|
|
"mkdirp": "^1.0.4",
|
|
"moment-timezone": "^0.5.34",
|
|
"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",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router": "5.2.1",
|
|
"react-router-dom": "5.3.0",
|
|
"react-test-renderer": "^18.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.79.1",
|
|
"rollup-plugin-auto-external": "^2.0.0",
|
|
"rollup-plugin-license": "^2.7.0",
|
|
"ts-jest": "^29.0.2",
|
|
"ts-json-schema-generator": "0.96.0",
|
|
"ts-node": "^10.5.0",
|
|
"typescript": "^4.6.4"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"esm",
|
|
"sdk",
|
|
"schema.json",
|
|
"revision.json"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js",
|
|
"import": "./esm/index.js"
|
|
},
|
|
"./lib/helper.css": {
|
|
"require": "./lib/helper.css",
|
|
"import": "./lib/helper.css"
|
|
},
|
|
"./lib/themes/*": {
|
|
"require": "./lib/themes/*",
|
|
"import": "./lib/themes/*"
|
|
},
|
|
"./lib/*": {
|
|
"require": "./lib/*.js",
|
|
"import": "./esm/*.js"
|
|
},
|
|
"./sdk/*": {
|
|
"require": [
|
|
"./sdk/*"
|
|
],
|
|
"import": [
|
|
"./sdk/*"
|
|
]
|
|
},
|
|
"./schema.json": {
|
|
"require": [
|
|
"./schema.json"
|
|
],
|
|
"import": [
|
|
"./schema.json"
|
|
]
|
|
}
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"collectCoverageFrom": [
|
|
"src/**/*"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"transform": {
|
|
"\\.(ts|tsx)$": [
|
|
"ts-jest",
|
|
{
|
|
"diagnostics": false
|
|
}
|
|
]
|
|
},
|
|
"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",
|
|
"^amis\\-ui$": "<rootDir>/../amis-ui/src/index.tsx"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/../amis-core/__tests__/jest.setup.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/.rollup.cache/"
|
|
],
|
|
"snapshotFormat": {
|
|
"escapeString": false,
|
|
"printBasicPrototype": false
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"amis-core": "*",
|
|
"amis-ui": "*",
|
|
"react": ">=16.8.6",
|
|
"react-dom": ">=16.8.6"
|
|
},
|
|
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
|
|
} |