mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
242 lines
6.7 KiB
JSON
242 lines
6.7 KiB
JSON
{
|
|
"name": "amis",
|
|
"version": "1.2.0-beta.2",
|
|
"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",
|
|
"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,examples,scss}/**/*.{tsx,ts,jsx,scss}'",
|
|
"deploy-gh-page": "sh ./deploy-gh-pages.sh",
|
|
"build-schemas": "ts-node -O '{\"target\":\"es6\"}' scripts/build-schemas.ts"
|
|
},
|
|
"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"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"ansi-to-react": "^6.1.4",
|
|
"async": "2.6.0",
|
|
"attr-accept": "2.2.2",
|
|
"blueimp-canvastoblob": "2.1.0",
|
|
"classnames": "2.3.1",
|
|
"dom-helpers": "^3.3.1",
|
|
"downshift": "3.1.4",
|
|
"echarts": "5.1.2",
|
|
"echarts-stat": "^1.2.0",
|
|
"exceljs": "^4.2.0",
|
|
"file-saver": "^2.0.2",
|
|
"flv.js": "1.5.0",
|
|
"froala-editor": "2.9.6",
|
|
"highlight.js": "^10.7.2",
|
|
"hls.js": "0.12.2",
|
|
"hoist-non-react-statics": "3.3.0",
|
|
"immutability-helper": "^3.1.1",
|
|
"jquery": "^3.2.1",
|
|
"keycode": "^2.1.9",
|
|
"lodash": "^4.17.15",
|
|
"markdown-it": "^12.0.6",
|
|
"match-sorter": "2.2.1",
|
|
"mobx": "^4.5.0",
|
|
"mobx-react": "^6.1.4",
|
|
"mobx-state-tree": "^3.17.3",
|
|
"moment": "^2.19.3",
|
|
"monaco-editor": "0.24.0",
|
|
"papaparse": "^5.3.0",
|
|
"prop-types": "^15.6.1",
|
|
"punycode": "^2.1.1",
|
|
"qrcode.react": "^0.8.0",
|
|
"qs": "6.5.1",
|
|
"rc-input-number": "6.1.1",
|
|
"react": "^16.8.6",
|
|
"react-color": "2.13.8",
|
|
"react-cropper": "1.0.1",
|
|
"react-datetime": "2.16.2",
|
|
"react-dom": "^16.8.6",
|
|
"react-dropzone": "11.2.4",
|
|
"react-input-range": "1.3.0",
|
|
"react-json-tree": "0.15.0",
|
|
"react-overlays": "0.8.3",
|
|
"react-textarea-autosize": "5.1.0",
|
|
"react-transition-group": "2.9.0",
|
|
"react-visibility-sensor": "5.1.1",
|
|
"setimmediate": "1.0.5",
|
|
"sortablejs": "1.10.0",
|
|
"tinymce": ">=5.7.1",
|
|
"tslib": "^2.1.0",
|
|
"uncontrollable": "7.0.2",
|
|
"video-react": "0.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
|
"@testing-library/react": "^11.2.7",
|
|
"@types/async": "^2.0.45",
|
|
"@types/dom-helpers": "^3.4.1",
|
|
"@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": "^24.9.1",
|
|
"@types/jquery": "^3.3.1",
|
|
"@types/lodash": "^4.14.76",
|
|
"@types/markdown-it": "^12.0.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": "^16.9.35",
|
|
"@types/react-color": "^2.13.3",
|
|
"@types/react-cropper": "^0.10.1",
|
|
"@types/react-dom": "^16.0.7",
|
|
"@types/react-dropzone": "^4.1.0",
|
|
"@types/react-json-tree": "^0.6.6",
|
|
"@types/react-onclickoutside": "^6.0.2",
|
|
"@types/react-overlays": "^0.8.4",
|
|
"@types/react-router": "^3.0.24",
|
|
"@types/react-test-renderer": "^16.8.1",
|
|
"@types/react-transition-group": "^2.0.6",
|
|
"@types/sortablejs": "^1.3.32",
|
|
"@types/tinymce": "^4.5.24",
|
|
"animate.css": "3.5.2",
|
|
"axios": "0.21.1",
|
|
"bce-sdk-js": "^0.2.9",
|
|
"concurrently": "^6.2.0",
|
|
"copy-to-clipboard": "3.0.8",
|
|
"core-js": "^3.7.0",
|
|
"css": "2.2.1",
|
|
"faker": "^4.1.0",
|
|
"fis-optimizer-terser": "^1.0.1",
|
|
"fis-parser-sass": "^1.0.1",
|
|
"fis-parser-svgr": "^1.0.0",
|
|
"fis3": "^3.4.41",
|
|
"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.3.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",
|
|
"fs-walk": "0.0.2",
|
|
"glob": "^7.1.6",
|
|
"history": "^4.7.2",
|
|
"husky": "^2.2.0",
|
|
"jest": "^26.6.3",
|
|
"jest-canvas-mock": "^2.3.0",
|
|
"js-yaml": "^3.10.0",
|
|
"lint-staged": "^8.1.6",
|
|
"marked": "2.0.1",
|
|
"mkdirp": "^1.0.4",
|
|
"moment-timezone": "^0.5.33",
|
|
"path-to-regexp": "^6.2.0",
|
|
"postcss": "^8.2.1",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss-custom-properties": "^10.0.0",
|
|
"prettier": "2.2.1",
|
|
"prismjs": "^1.20.0",
|
|
"react-frame-component": "^2.0.0",
|
|
"react-router": "3.2.0",
|
|
"react-test-renderer": "^16.8.6",
|
|
"strip-json-comments": "^2.0.1",
|
|
"ts-jest": "^26.4.4",
|
|
"ts-json-schema-generator": "^0.80.0",
|
|
"ts-node": "^9.0.0",
|
|
"typescript": "~4.1.2"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"collectCoverageFrom": [
|
|
"src/**/*"
|
|
],
|
|
"moduleFileExtensions": [
|
|
"ts",
|
|
"tsx",
|
|
"js"
|
|
],
|
|
"transform": {
|
|
"\\.(ts|tsx)$": "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"
|
|
},
|
|
"setupFilesAfterEnv": [
|
|
"<rootDir>/__tests__/jest.setup.js"
|
|
],
|
|
"globals": {
|
|
"ts-jest": {
|
|
"diagnostics": false,
|
|
"tsconfig": {
|
|
"module": "commonjs",
|
|
"target": "es5",
|
|
"lib": [
|
|
"es6",
|
|
"dom",
|
|
"ES2015"
|
|
],
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"_husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,tsx,jsx,css,less,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|