2022-06-01 15:06:00 +08:00
|
|
|
{
|
|
|
|
"name": "amis-core",
|
2023-03-31 20:33:30 +08:00
|
|
|
"version": "2.9.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"description": "amis-core",
|
|
|
|
"main": "lib/index.js",
|
|
|
|
"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
|
|
|
"author": "fex",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"devDependencies": {
|
2022-08-16 12:46:28 +08:00
|
|
|
"@rollup/plugin-commonjs": "^22.0.2",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@rollup/plugin-json": "^4.1.0",
|
2022-09-27 10:20:24 +08:00
|
|
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
2022-10-31 20:53:36 +08:00
|
|
|
"@rollup/plugin-replace": "^5.0.1",
|
2022-08-16 12:46:28 +08:00
|
|
|
"@rollup/plugin-typescript": "^8.3.4",
|
2022-06-01 15:06:00 +08:00
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
|
|
"@types/file-saver": "^2.0.1",
|
|
|
|
"@types/hoist-non-react-statics": "^3.3.1",
|
2022-06-06 15:15:37 +08:00
|
|
|
"@types/jest": "^28.1.0",
|
2023-03-21 14:04:40 +08:00
|
|
|
"@types/react": "^18.0.24",
|
|
|
|
"@types/react-dom": "^18.0.8",
|
2022-11-02 11:02:06 +08:00
|
|
|
"immutable": "^4.1.0",
|
2022-09-27 10:20:24 +08:00
|
|
|
"jest": "^29.0.3",
|
|
|
|
"jest-environment-jsdom": "^29.0.3",
|
2022-06-01 15:06:00 +08:00
|
|
|
"moment-timezone": "^0.5.34",
|
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
|
|
|
"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-01 15:06:00 +08:00
|
|
|
"typescript": "^4.6.4"
|
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "npm run clean-dist && NODE_ENV=production rollup -c ",
|
|
|
|
"dev": "rollup -c -w",
|
|
|
|
"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",
|
2022-11-02 11:02:06 +08:00
|
|
|
"clean-dist": "rimraf lib/** esm/**"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"lib",
|
|
|
|
"esm"
|
|
|
|
],
|
|
|
|
"dependencies": {
|
2023-03-31 20:33:30 +08:00
|
|
|
"amis-formula": "^2.9.0",
|
2022-06-01 15:06:00 +08:00
|
|
|
"classnames": "2.3.1",
|
|
|
|
"file-saver": "^2.0.2",
|
|
|
|
"hoist-non-react-statics": "^3.3.2",
|
|
|
|
"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
|
|
|
"papaparse": "^5.3.0",
|
|
|
|
"qs": "6.9.7",
|
|
|
|
"react-json-view": "1.21.3",
|
|
|
|
"react-visibility-sensor": "5.1.1",
|
2022-06-01 21:35:49 +08:00
|
|
|
"tslib": "^2.3.1",
|
2022-06-02 13:28:23 +08:00
|
|
|
"uncontrollable": "7.2.1"
|
2022-06-01 15:06:00 +08:00
|
|
|
},
|
2022-06-07 19:51:51 +08:00
|
|
|
"peerDependencies": {
|
2022-09-01 22:09:07 +08:00
|
|
|
"amis-formula": "*",
|
2022-06-07 19:51:51 +08:00
|
|
|
"react": ">=16.8.6",
|
2022-09-01 22:09:07 +08:00
|
|
|
"react-dom": ">=16.8.6"
|
2022-06-07 19:51:51 +08:00
|
|
|
},
|
2022-06-01 15:06:00 +08:00
|
|
|
"jest": {
|
|
|
|
"testEnvironment": "jsdom",
|
|
|
|
"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-01 15:06:00 +08:00
|
|
|
},
|
|
|
|
"setupFilesAfterEnv": [
|
2022-06-02 10:00:09 +08:00
|
|
|
"<rootDir>/../amis-core/__tests__/jest.setup.js"
|
2022-06-01 15:06:00 +08:00
|
|
|
],
|
|
|
|
"testPathIgnorePatterns": [
|
|
|
|
"/node_modules/",
|
|
|
|
"/.rollup.cache/"
|
2022-09-27 10:20:24 +08:00
|
|
|
]
|
2022-06-07 14:23:32 +08:00
|
|
|
},
|
2022-07-11 17:22:51 +08:00
|
|
|
"gitHead": "37d23b4a8eb1c663bc38e8dd9040889ea1526ec4"
|
2023-03-31 20:33:30 +08:00
|
|
|
}
|