加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 5.85 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "ERD-ONLINE",
"version": "2.0.3",
"private": true,
"main": "main.js",
"homepage": ".",
"author": "Martin",
"description": "an online design software which shares collabarative data warehouse",
"dependencies": {
"@ant-design/icons": "latest",
"@antv/g6": "^1.2.8",
"@babel/core": "7.9.0",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"@svgr/webpack": "4.3.3",
"antd": "^4.0.0",
"axios": "^0.20.0",
"brace": "^0.11.1",
"camelcase": "^5.3.1",
"clipboard": "^2.0.6",
"dot": "^1.1.2",
"dotenv": "8.2.0",
"dotenv-expand": "5.1.0",
"fs-extra": "^8.1.0",
"history": "latest",
"hoist-non-react-statics": "^2.3.1",
"identity-obj-proxy": "3.0.0",
"jest": "24.9.0",
"jest-environment-jsdom-fourteen": "1.0.1",
"jest-resolve": "24.9.0",
"jest-watch-typeahead": "0.4.2",
"lodash": "^4.17.5",
"moment": "^2.22.2",
"officegen": "^0.4.7",
"particles-bg": "^2.5.0",
"pdfkit": "^0.8.3",
"prop-types": "^15.6.1",
"react": "^16.14.0",
"react-ace": "^6.1.1",
"react-app-polyfill": "^1.0.6",
"react-dev-utils": "^10.2.1",
"react-dom": "^16.14.0",
"react-infinite-scroller": "^1.2.4",
"react-router": "^5.1.0",
"react-router-dom": "^5.1.0",
"react-scripts": "^3.4.3",
"react-virtualized": "^9.22.2",
"reqwest": "^2.0.5",
"resolve": "1.15.0",
"resolve-url-loader": "3.1.1",
"sass-loader": "8.0.2",
"semver": "6.3.0",
"style-loader": "0.23.1",
"terser-webpack-plugin": "2.3.8",
"ts-pnp": "1.1.6",
"umi-request": "^1.3.5",
"url-loader": "2.3.0",
"uuid": "^8.3.1"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@typescript-eslint/eslint-plugin": "^2.10.0",
"@typescript-eslint/parser": "^2.10.0",
"@babel/plugin-proposal-export-default-from": "^7.10.4",
"babel-eslint": "10.1.0",
"babel-jest": "^24.9.0",
"babel-loader": "8.1.0",
"babel-plugin-named-asset-import": "^0.3.6",
"babel-preset-react-app": "^9.1.2",
"css-loader": "3.4.2",
"case-sensitive-paths-webpack-plugin": "2.3.0",
"electron": "^11.0.1",
"electron-builder": "^22.9.1",
"eslint": "^6.6.0",
"eslint-config-react-app": "^5.2.1",
"eslint-loader": "3.0.3",
"eslint-plugin-flowtype": "4.6.0",
"eslint-plugin-import": "2.20.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-react": "7.19.0",
"eslint-plugin-react-hooks": "^1.6.1",
"extract-text-webpack-plugin": "^3.0.2",
"filemanager-webpack-plugin": "^3.0.0-alpha.5",
"file-loader": "4.3.0",
"less": "^3.12.2",
"less-loader": "^7.0.2",
"mini-css-extract-plugin": "0.9.0",
"html-webpack-plugin": "4.0.0-beta.11",
"optimize-css-assets-webpack-plugin": "5.0.3",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-normalize": "8.0.1",
"postcss-preset-env": "6.7.0",
"postcss-safe-parser": "4.0.1",
"pnp-webpack-plugin": "1.6.4",
"script-ext-html-webpack-plugin": "^2.0.1",
"webpack": "4.42.0",
"webpack-dev-server": "3.11.0",
"webpack-manifest-plugin": "2.2.0",
"workbox-webpack-plugin": "4.3.1",
"zip-webpack-plugin": "^3.0.0"
},
"scripts": {
"start": "node scripts/start.js",
"build": "node scripts/build.js --env.webpackEnv production",
"test": "node scripts/test.js",
"eject": "react-scripts eject",
"electron-start": "electron .",
"package-win": "yarn build && electron-builder --win --x64",
"package-linux": "yarn build && electron-builder --linux",
"package-all": "yarn build && electron-builder -mwl",
"package-mac": "yarn build && electron-builder --mac"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"jest": {
"roots": [
"<rootDir>/src"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}",
"!src/**/*.d.ts"
],
"setupFiles": [
"react-app-polyfill/jsdom"
],
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
],
"testEnvironment": "jest-environment-jsdom-fourteen",
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$",
"^.+\\.module\\.(css|sass|scss)$"
],
"modulePaths": [],
"moduleNameMapper": {
"^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"web.js",
"js",
"web.ts",
"ts",
"web.tsx",
"tsx",
"json",
"web.jsx",
"jsx",
"node"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"babel": {
"presets": [
"react-app"
],
"plugins": [
"@babel/plugin-proposal-export-default-from"
]
},
"build": {
"appId": "com.java2e.com",
"extends": null,
"files": [
"./main.js",
"build/"
],
"mac": {
"icon": "build/256x256.png",
"target": [
"dmg",
"zip"
]
},
"win": {
"icon": "build/256x256.png",
"target": [
"nsis",
"zip"
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化