mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
c591ab4381
* 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 尝试使用 vite 跑开发环境 * 样式文档调整 * 修复有多个 __inline 时的报错 * scirpt 调整 * feat:chart接入事件动作 (#5669) * chore: input-group 没有 name 不应该报 warning (#5667) * chore: 处理编译TS Warning,调整TableStore中label解析的顺序 (#5670) * feat: timeline时间轴支持自定义图标 (#5668) * fix:折叠器Collapse自定义图标&inputNumber对含后缀生效 * 修改 * 正则修改 * 正则修改 * 正则修改 * feat:将默认px替换为rem 2px===0.125rem * feat:timeline时间轴支持自定义图标 Co-authored-by: xujiahao01 <xujiahao01@baidu.com> * fix: 调整echarts-stat使用方式,兼容vite打包异步非esm模块 (#5672) * feat: chart 支持配置加载 geojson 及百度地图 (#5674) * feat: chart 支持配置 geoURL 及 geoName * 增加百度地图配置 * chore: 修复 coverage 运行报错 (#5678) * chore: coverage 执行换成 v8 解决内存问题 (#5679) * 尝试使用 vite 跑开发环境 * amis-formula 也添加 esm 模块 * 代码合并有问题,做些调整 Co-authored-by: hsm-lv <80095014+hsm-lv@users.noreply.github.com> Co-authored-by: 吴多益 <wuduoyi@baidu.com> Co-authored-by: RUNZE LU <36724300+lurunze1226@users.noreply.github.com> Co-authored-by: 徐佳豪 <1440054388@qq.com> Co-authored-by: xujiahao01 <xujiahao01@baidu.com> Co-authored-by: 刘丹 <365533093@qq.com>
110 lines
3.4 KiB
JSON
110 lines
3.4 KiB
JSON
{
|
|
"name": "aisuda",
|
|
"workspaces": [
|
|
"packages/amis-formula",
|
|
"packages/amis-core",
|
|
"packages/amis-ui",
|
|
"packages/amis"
|
|
],
|
|
"scripts": {
|
|
"fis3-serve": "fis3 server start --www ./public --port 8888 --no-daemon --no-browse",
|
|
"fis3": "concurrently --restart-tries -1 npm:fis3-serve npm:fis3-dev",
|
|
"fis3-stop": "fis3 server stop",
|
|
"start": "vite",
|
|
"fis3-dev": "fis3 release -cwd ./public",
|
|
"deploy-gh-page": "sh ./deploy-gh-pages.sh",
|
|
"build": "npm run build --workspaces",
|
|
"test": "npm test --workspaces",
|
|
"update-snapshot": "npm run update-snapshot --workspaces",
|
|
"prepare": "husky install",
|
|
"coverage": "jest --coverage --collectCoverage=v8",
|
|
"version": "lerna version",
|
|
"release": "npm run build --workspaces && lerna publish from-package --registry=https://registry.npmjs.org --ignore-scripts",
|
|
"revision": "ts-node ./scripts/generate-revision.ts",
|
|
"publish-to-internal": "sh ./publish-to-internal.sh"
|
|
},
|
|
"dependencies": {
|
|
"postcss": "^8.4.14",
|
|
"qs": "6.9.7"
|
|
},
|
|
"devDependencies": {
|
|
"@types/express": "^4.17.14",
|
|
"@types/jest": "^28.1.0",
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/marked": "^4.0.7",
|
|
"@types/prismjs": "^1.26.0",
|
|
"@vitejs/plugin-react": "^2.2.0",
|
|
"echarts": "5.4.0",
|
|
"express": "^4.18.2",
|
|
"fis-optimizer-terser": "^1.0.1",
|
|
"fis-parser-sass": "^1.2.0",
|
|
"fis-parser-svgr": "^1.0.0",
|
|
"fis3": "^3.5.0-beta.2",
|
|
"fis3-deploy-skip-packed": "0.0.5",
|
|
"fis3-hook-commonjs": "^0.1.31",
|
|
"fis3-hook-node_modules": "^2.3.1",
|
|
"fis3-hook-relative": "^2.0.3",
|
|
"fis3-packager-deps-pack": "^0.1.2",
|
|
"fis3-parser-typescript": "^1.4.0",
|
|
"fis3-postpackager-loader": "^2.1.12",
|
|
"fis3-prepackager-stand-alone-pack": "^1.0.0",
|
|
"fis3-preprocessor-js-require-css": "^0.1.3",
|
|
"fis3-preprocessor-js-require-file": "^0.1.3",
|
|
"husky": "^8.0.0",
|
|
"jest": "^29.0.3",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"js-yaml": "^4.1.0",
|
|
"lerna": "^5.5.2",
|
|
"magic-string": "^0.26.7",
|
|
"marked": "^4.2.1",
|
|
"plugin-react-i18n": "^0.0.20",
|
|
"prismjs": "^1.29.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"rollup-pluginutils": "^2.8.2",
|
|
"setprototypeof": "^1.2.0",
|
|
"ts-jest": "^29.0.2",
|
|
"vite": "^3.2.2",
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
|
"vite-plugin-svgr": "^2.2.2",
|
|
"zrender": "^5.3.2"
|
|
},
|
|
"jest": {
|
|
"verbose": true,
|
|
"testEnvironment": "jsdom",
|
|
"collectCoverageFrom": [
|
|
"packages/*/src/**/*"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"preset": "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",
|
|
"^amis\\-ui$": "<rootDir>/packages/amis-ui/src/index.tsx",
|
|
"^amis\\-core$": "<rootDir>/packages/amis-core/src/index.tsx",
|
|
"^amis\\-formula$": "<rootDir>/packages/amis-formula/src/index.ts",
|
|
"^amis$": "<rootDir>/packages/amis/src/index.tsx"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/packages/amis-core/__tests__/jest.setup.js"
|
|
],
|
|
"testPathIgnorePatterns": [
|
|
"/node_modules/",
|
|
"/.rollup.cache/"
|
|
],
|
|
"snapshotFormat": {
|
|
"escapeString": false,
|
|
"printBasicPrototype": false
|
|
}
|
|
}
|
|
}
|