amis2/package.json

239 lines
6.7 KiB
JSON
Raw Normal View History

2019-04-30 11:11:25 +08:00
{
2019-11-12 16:10:51 +08:00
"name": "amis",
2022-05-31 20:49:39 +08:00
"version": "1.10.0",
2019-11-12 16:10:51 +08:00
"description": "一种MIS页面生成工具",
"main": "lib/index.js",
"scripts": {
"test": "jest",
"coverage": "jest --coverage",
"serve": "fis3 server start --www ./public --port 8888 --no-daemon --no-browse",
"start": "concurrently --restart-tries -1 npm:serve npm:dev",
"update-snapshot": "jest --updateSnapshot",
2019-11-12 16:10:51 +08:00
"stop": "fis3 server stop",
"dev": "fis3 release -cwd ./public",
"publish-to-internal": "sh build.sh && sh publish.sh",
"build": "sh build.sh",
"prettier": "prettier --write '{src,scss,examples}/**/**/*.{js,jsx,ts,tsx,scss,json}'",
2020-09-08 17:39:14 +08:00
"deploy-gh-page": "sh ./deploy-gh-pages.sh",
2021-09-05 21:05:35 +08:00
"build-schemas": "ts-node -O '{\"target\":\"es6\"}' scripts/build-schemas.ts"
2019-11-12 16:10:51 +08:00
},
"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"
]
},
2019-11-12 16:10:51 +08:00
"dependencies": {
"amis-formula": "^1.3.15",
"ansi-to-react": "^6.1.6",
"attr-accept": "2.2.2",
2019-11-12 16:10:51 +08:00
"blueimp-canvastoblob": "2.1.0",
"classnames": "2.3.1",
"codemirror": "^5.63.0",
"downshift": "6.1.7",
"echarts": "5.3.1",
"echarts-stat": "^1.2.0",
"exceljs": "^4.3.0",
2020-09-25 17:50:20 +08:00
"file-saver": "^2.0.2",
"froala-editor": "3.1.1",
"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",
2019-12-26 09:37:53 +08:00
"lodash": "^4.17.15",
"markdown-it": "^12.0.6",
"markdown-it-html5-media": "^0.7.1",
"match-sorter": "^6.3.1",
2020-08-25 22:55:22 +08:00
"mobx": "^4.5.0",
"mobx-react": "^6.3.1",
2021-05-28 18:15:02 +08:00
"mobx-state-tree": "^3.17.3",
2019-11-12 16:10:51 +08:00
"moment": "^2.19.3",
"monaco-editor": "0.30.1",
"mpegts.js": "^1.6.10",
2020-09-25 17:50:20 +08:00
"papaparse": "^5.3.0",
2019-11-12 16:10:51 +08:00
"prop-types": "^15.6.1",
"punycode": "^2.1.1",
"qrcode.react": "^3.0.0",
"qs": "6.9.7",
"rc-input-number": "^7.3.4",
"rc-overflow": "^1.2.4",
"rc-progress": "^3.1.4",
"react-color": "^2.19.3",
"react-cropper": "^2.1.8",
"react-dropzone": "^11.4.2",
"react-hook-form": "7.30.0",
2021-01-08 13:32:25 +08:00
"react-input-range": "1.3.0",
"react-json-view": "1.21.3",
"react-overlays": "5.1.1",
"react-textarea-autosize": "8.3.3",
"react-transition-group": "4.4.2",
"react-visibility-sensor": "5.1.1",
"sortablejs": "1.14.0",
"tinymce": "^5.10.3",
2021-09-03 10:29:24 +08:00
"tslib": "^2.3.1",
"uncontrollable": "7.2.1",
"video-react": "0.15.0"
2019-11-12 16:10:51 +08:00
},
"devDependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.0",
2019-11-12 16:10:51 +08:00
"@types/async": "^2.0.45",
"@types/codemirror": "^5.60.3",
"@types/echarts": "^4.9.2",
"@types/file-saver": "^2.0.1",
2019-11-12 16:10:51 +08:00
"@types/history": "^4.6.0",
2020-06-02 11:02:43 +08:00
"@types/hoist-non-react-statics": "^3.3.1",
"@types/jest": "^27.0.2",
"@types/json-schema": "^7.0.11",
"@types/lodash": "^4.14.175",
"@types/markdown-it": "^12.2.1",
2020-09-08 17:39:14 +08:00
"@types/mkdirp": "^1.0.1",
2019-11-12 16:10:51 +08:00
"@types/node": "^12.7.1",
"@types/papaparse": "^5.2.2",
2019-11-12 16:10:51 +08:00
"@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",
2019-11-12 16:10:51 +08:00
"@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",
2019-11-12 16:10:51 +08:00
"@types/sortablejs": "^1.3.32",
2020-04-15 16:04:08 +08:00
"@types/tinymce": "^4.5.24",
"axios": "0.25.0",
2019-11-12 16:10:51 +08:00
"bce-sdk-js": "^0.2.9",
"concurrently": "^7.0.0",
"copy-to-clipboard": "3.3.1",
"core-js": "^3.21.0",
"css": "3.0.0",
"fis-optimizer-terser": "^1.0.1",
"fis-parser-sass": "^1.1.1",
2019-11-12 16:10:51 +08:00
"fis-parser-svgr": "^1.0.0",
"fis3": "^3.4.41",
2020-07-31 21:45:32 +08:00
"fis3-deploy-skip-packed": "0.0.5",
2019-11-12 16:10:51 +08:00
"fis3-hook-commonjs": "^0.1.31",
"fis3-hook-node_modules": "^2.3.1",
"fis3-hook-relative": "^2.0.3",
2020-07-31 21:45:32 +08:00
"fis3-packager-deps-pack": "^0.1.2",
"fis3-parser-typescript": "^1.4.0",
2020-12-29 13:06:53 +08:00
"fis3-postpackager-loader": "^2.1.12",
2020-01-20 18:50:01 +08:00
"fis3-prepackager-stand-alone-pack": "^1.0.0",
2020-04-15 16:04:08 +08:00
"fis3-preprocessor-js-require-css": "^0.1.3",
"fis3-preprocessor-js-require-file": "^0.1.3",
2019-11-12 16:10:51 +08:00
"fs-walk": "0.0.2",
"glob": "^7.2.0",
2021-06-17 16:33:33 +08:00
"history": "^4.7.2",
"husky": "^7.0.4",
"jest": "^27.5.1",
2020-12-02 23:06:38 +08:00
"jest-canvas-mock": "^2.3.0",
"js-yaml": "^4.1.0",
"json5": "^2.2.1",
"lint-staged": "^12.3.3",
"marked": ">=4.0.12",
2020-09-08 17:39:14 +08:00
"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.0.0",
"react-dom": "^18.0.0",
"react-router": "5.2.1",
"react-router-dom": "5.3.0",
"react-test-renderer": "^18.0.0",
"ts-jest": "^27.1.4",
"ts-json-schema-generator": "0.96.0",
"ts-node": "^10.5.0",
"typescript": "~4.5.5"
2019-11-12 16:10:51 +08:00
},
"jest": {
"testEnvironment": "jsdom",
"collectCoverageFrom": [
"src/**/*"
],
2019-11-12 16:10:51 +08:00
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
2019-10-15 09:39:30 +08:00
},
2019-11-12 16:10:51 +08:00
"setupFiles": [
"jest-canvas-mock"
],
"testRegex": "/.*\\.test\\.(ts|tsx|js)$",
"moduleNameMapper": {
2020-05-11 16:55:18 +08:00
"\\.(css|less|sass|scss)$": "<rootDir>/__mocks__/styleMock.js",
"\\.(svg)$": "<rootDir>/__mocks__/svgMock.js"
2019-10-15 09:39:30 +08:00
},
"setupFilesAfterEnv": [
"<rootDir>/__tests__/jest.setup.js"
],
2019-11-12 16:10:51 +08:00
"globals": {
"ts-jest": {
"diagnostics": false,
"tsconfig": {
"module": "commonjs",
"target": "es5",
"lib": [
"es6",
"dom",
"ES2015",
"ES2021"
],
"sourceMap": true,
"jsx": "react",
"moduleResolution": "node",
"rootDir": ".",
"importHelpers": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"sourceRoot": ".",
"noImplicitReturns": true,
"noImplicitThis": true,
"noImplicitAny": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": false,
"typeRoots": [
"./node_modules/@types",
"./types"
],
"skipLibCheck": true
}
2019-11-12 16:10:51 +08:00
}
}
},
"peerDependencies": {
"react": ">=16.8.6",
"react-dom": ">=16.8.6"
2019-11-12 16:10:51 +08:00
}
2019-04-30 11:11:25 +08:00
}