mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +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>
117 lines
3.0 KiB
JSON
117 lines
3.0 KiB
JSON
{
|
|
"name": "amis-formula",
|
|
"version": "2.4.0",
|
|
"description": "负责 amis 里面的表达式实现,内置公式,编辑器等",
|
|
"main": "lib/index.js",
|
|
"module": "esm/index.js",
|
|
"types": "lib/index.d.ts",
|
|
"scripts": {
|
|
"build": "npm run clean-dist && npm run genDoc && NODE_ENV=production rollup -c && cp src/doc.md lib/doc.md && cp src/doc.md esm/doc.md",
|
|
"lib": "npm run clean-dist && NODE_ENV=production IS_LIB=1 rollup -c",
|
|
"clean-dist": "rimraf lib/**",
|
|
"declaration": "tsc --project tsconfig-for-declaration.json --allowJs --declaration --emitDeclarationOnly --declarationDir ./lib --rootDir ./src",
|
|
"test": "jest",
|
|
"update-snapshot": "jest --updateSnapshot",
|
|
"coverage": "jest --coverage",
|
|
"genDoc": "ts-node ./scripts/genDoc.ts"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js",
|
|
"import": "./esm/index.js"
|
|
},
|
|
"./lib/*": {
|
|
"require": "./lib/*.js",
|
|
"import": "./esm/*.js"
|
|
}
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/aisuda/amis-tpl.git"
|
|
},
|
|
"keywords": [
|
|
"amis",
|
|
"tpl",
|
|
"parser",
|
|
"formula"
|
|
],
|
|
"files": [
|
|
"lib",
|
|
"esm"
|
|
],
|
|
"author": "fex",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/aisuda/amis-tpl/issues"
|
|
},
|
|
"homepage": "https://github.com/aisuda/amis-tpl#readme",
|
|
"dependencies": {
|
|
"lodash": "^4.17.15",
|
|
"moment": "^2.29.4",
|
|
"tslib": "^2.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@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",
|
|
"@types/doctrine": "0.0.5",
|
|
"@types/jest": "^28.1.0",
|
|
"@types/lodash": "^4.14.175",
|
|
"doctrine": "^3.0.0",
|
|
"jest": "^29.0.3",
|
|
"jest-canvas-mock": "^2.3.0",
|
|
"jest-environment-jsdom": "^29.0.3",
|
|
"mini-css-extract-plugin": "^2.4.5",
|
|
"moment-timezone": "^0.5.33",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.60.2",
|
|
"rollup-plugin-license": "^2.6.0",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"sass": "^1.54.9",
|
|
"sass-loader": "^12.1.0",
|
|
"style-loader": "^3.2.1",
|
|
"stylelint": "^13.0.0",
|
|
"ts-jest": "^29.0.2",
|
|
"ts-loader": "^9.2.3",
|
|
"ts-node": "^10.4.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"browserslist": "IE >= 11",
|
|
"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"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/__tests__/jest.setup.js"
|
|
],
|
|
"snapshotFormat": {
|
|
"escapeString": false,
|
|
"printBasicPrototype": false
|
|
}
|
|
},
|
|
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
|
|
}
|