123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- {
- "name": "datart",
- "version": "1.0.0",
- "private": true,
- "description": "",
- "repository": {
- "type": "git",
- "url": ""
- },
- "engines": {
- "npm": ">=6.4.1",
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
- },
- "author": "",
- "license": "Apache-2.0",
- "scripts": {
- "bootstrap": "npm install --legacy-peer-deps",
- "start": "craco start",
- "build": "cross-env GENERATE_SOURCEMAP=false craco build",
- "build:task": "rollup -c",
- "build:all": "npm run build:theme && npm run build:task && npm run build",
- "build:theme": "node scripts/extractAntdTheme",
- "test": "craco test",
- "test:coverage": "npm run test -- --watchAll=false --coverage",
- "test:ci": "npm run test -- --watchAll=false --runInBand --silent",
- "checkTs": "tsc --noEmit",
- "eslint": "eslint --ext js,ts,tsx",
- "lint": "npm run eslint src",
- "lint:fix": "npm run eslint --fix src",
- "lint:css": "npx stylelint \"src/**/*.css\"",
- "lint:style": "npx stylelint \"src/**/*.{js,ts,jsx,tsx}\"",
- "prettify": "prettier --write src",
- "prepare": "cd .. && husky install frontend/.husky",
- "eject": "react-scripts eject",
- "doc:types": "tsc --project tsconfig.dHelper.json",
- "doc:html": "jsdoc -c jsdoc.config.json"
- },
- "eslintConfig": {
- "extends": [
- "react-app",
- "react-app/jest"
- ]
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- },
- "lint-staged": {
- "*.{ts,tsx,js,jsx}": [
- "npm run eslint --fix",
- "npm run lint:style",
- "prettier --write"
- ],
- "*.{css,md,json}": [
- "prettier --write"
- ]
- },
- "jest": {
- "testMatch": [
- "<rootDir>/src/**/__tests__/**/*.{spec,test}.{js,jsx,ts,tsx}"
- ],
- "coverageReporters": [
- "html",
- "lcov",
- "text-summary"
- ],
- "collectCoverageFrom": [
- "src/**/*.{js,jsx,ts,tsx}",
- "!src/**/*/*.d.ts",
- "!src/**/*/Loadable.{js,jsx,ts,tsx}",
- "!src/**/*/messages.ts",
- "!src/**/*/types.ts",
- "!src/index.tsx"
- ],
- "coverageThreshold": {
- "global": {
- "branches": 90,
- "functions": 90,
- "lines": 90,
- "statements": 90
- }
- }
- },
- "dependencies": {
- "@ant-design/icons": "^4.5.0",
- "@ant-design/pro-table": "2.60.1",
- "@antv/s2": "1.19.0",
- "@antv/s2-react": "1.18.0",
- "@dinero.js/currencies": "^2.0.0-alpha.8",
- "@reduxjs/toolkit": "^1.8.0",
- "@types/react": "17.0.38",
- "antd": "4.16.13",
- "antd-theme-generator": "1.2.11",
- "antd-watermark": "^1.0.1",
- "axios": "^0.21.1",
- "chokidar": "^3.6.0",
- "classnames": "^2.3.1",
- "currency.js": "^2.0.4",
- "debounce-promise": "3.1.2",
- "echarts": "5.3.1",
- "echarts-wordcloud": "^2.0.0",
- "file-saver": "^2.0.5",
- "flexlayout-react": "^0.5.12",
- "i18next": "^19.9.1",
- "i18next-browser-languagedetector": "^6.0.1",
- "immer": "^9.0.5",
- "invariant": "^2.2.4",
- "js-cookie": "^2.2.1",
- "lodash": "^4.17.21",
- "monaco-editor": "0.28.1",
- "polished": "^4.1.1",
- "qs": "^6.10.3",
- "quill-image-drop-module": "1.0.3",
- "quilljs-markdown": "1.1.10",
- "react": "17.0.2",
- "react-app-polyfill": "3.0.0",
- "react-beautiful-dnd": "^13.1.0",
- "react-color": "2.19.3",
- "react-dev-inspector": "^1.6.0",
- "react-dnd": "^14.0.2",
- "react-dnd-html5-backend": "^14.0.0",
- "react-dom": "17.0.2",
- "react-draggable": "^4.4.3",
- "react-grid-layout": "^1.2.4",
- "react-helmet-async": "1.2.2",
- "react-hotkeys-hook": "^3.4.0",
- "react-i18next": "11.15.3",
- "react-monaco-editor": "0.46.0",
- "react-quill": "1.3.5",
- "react-redux": "7.2.6",
- "react-resizable": "^1.11.1",
- "react-resize-detector": "^6.7.6",
- "react-router-dom": "5.2.0",
- "react-window": "^1.8.6",
- "redux-undo": "^1.0.1",
- "reveal.js": "^4.1.0",
- "split.js": "^1.6.4",
- "sql-formatter": "9.2.0",
- "uuid": "^8.3.2",
- "video-react": "^0.15.0"
- },
- "devDependencies": {
- "@babel/core": "^7.15.8",
- "@babel/preset-env": "^7.15.8",
- "@commitlint/cli": "13.1.0",
- "@commitlint/config-conventional": "13.1.0",
- "@craco/craco": "^6.1.1",
- "@rollup/plugin-babel": "^5.3.0",
- "@rollup/plugin-commonjs": "^21.0.1",
- "@rollup/plugin-json": "^4.1.0",
- "@rollup/plugin-node-resolve": "^13.0.6",
- "@rollup/plugin-replace": "^2.4.2",
- "@rollup/plugin-typescript": "^8.3.0",
- "@stylelint/postcss-css-in-js": "^0.38.0",
- "@testing-library/jest-dom": "5.16.1",
- "@testing-library/react": "12.1.2",
- "@testing-library/user-event": "^12.8.0",
- "@types/jest": "27.4.0",
- "@types/js-cookie": "^2.2.6",
- "@types/lodash": "^4.14.172",
- "@types/node": "14.14.31",
- "@types/react-color": "^3.0.6",
- "@types/react-dom": "17.0.11",
- "@types/react-grid-layout": "^1.1.1",
- "@types/react-redux": "7.1.22",
- "@types/react-resizable": "^1.7.4",
- "@types/react-router-dom": "5.3.2",
- "@types/react-test-renderer": "17.0.1",
- "@types/styled-components": "5.1.20",
- "@types/testing-library__jest-dom": "5.14.2",
- "@types/webpack": "4.41.22",
- "@types/webpack-env": "1.15.2",
- "@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
- "babel-plugin-styled-components": "^2.0.7",
- "cross-env": "7.0.3",
- "cz-conventional-changelog": "^3.3.0",
- "docdash": "^1.2.0",
- "enzyme": "^3.11.0",
- "eslint-config-prettier": "^8.1.0",
- "eslint-plugin-jsdoc": "^37.8.0",
- "eslint-plugin-prettier": "^3.3.1",
- "eslint-plugin-react-hooks": "^4.2.0",
- "html2canvas": "^1.3.2",
- "husky": "^7.0.4",
- "jest-canvas-mock": "^2.3.1",
- "jest-styled-components": "7.0.8",
- "jsdoc": "^3.6.10",
- "lint-staged": "12.1.7",
- "monaco-editor-webpack-plugin": "4.2.0",
- "postcss": "^8.4.6",
- "postcss-syntax": "^0.36.2",
- "prettier": "^2.2.1",
- "prettier-plugin-organize-imports": "^2.3.3",
- "react-scripts": "4.0.3",
- "react-test-renderer": "17.0.2",
- "rollup": "^2.62.0",
- "rollup-plugin-cleanup": "^3.2.1",
- "serve": "13.0.2",
- "source-map-explorer": "^2.5.2",
- "styled-components": "5.3.3",
- "stylelint": "^14.9.1",
- "stylelint-config-prettier": "^9.0.3",
- "stylelint-config-recess-order": "^3.0.0",
- "stylelint-config-recommended": "^8.0.0",
- "stylelint-config-styled-components": "^0.1.1",
- "typescript": "4.5.4",
- "webpack-cli": "^4.7.2",
- "webpackbar": "5.0.2"
- },
- "resolutions": {
- "react-error-overlay": "6.0.9",
- "@types/react": "17.0.38",
- "@types/react-dom": "17.0.11"
- },
- "config": {
- "commitizen": {
- "path": "cz-conventional-changelog"
- }
- }
- }
|