2020-03-16 14:12:11 +08:00
|
|
|
{
|
2020-12-23 17:39:50 +08:00
|
|
|
"name": "forge",
|
2021-05-10 11:34:30 +08:00
|
|
|
"version": "3.0.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"private": true,
|
|
|
|
"dependencies": {
|
|
|
|
"@monaco-editor/react": "^2.3.0",
|
|
|
|
"@novnc/novnc": "^1.1.0",
|
2020-07-02 14:13:01 +08:00
|
|
|
"actioncable": "^5.2.4-3",
|
2020-04-28 17:23:34 +08:00
|
|
|
"antd": "^3.26.15",
|
2020-03-16 14:12:11 +08:00
|
|
|
"array-flatten": "^2.1.2",
|
|
|
|
"autoprefixer": "7.1.6",
|
2020-03-23 15:59:50 +08:00
|
|
|
"axios": "^0.18.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"babel-eslint": "7.2.3",
|
|
|
|
"babel-jest": "20.0.3",
|
|
|
|
"babel-loader": "7.1.2",
|
|
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
2021-05-14 09:32:23 +08:00
|
|
|
"babel-polyfill": "^6.26.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"babel-preset-react-app": "^3.1.1",
|
|
|
|
"babel-runtime": "6.26.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"bizcharts": "^3.5.8",
|
2020-03-16 14:12:11 +08:00
|
|
|
"bundle-loader": "^0.5.6",
|
|
|
|
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
|
|
|
"chalk": "1.1.3",
|
|
|
|
"classnames": "^2.2.5",
|
2020-04-28 17:23:34 +08:00
|
|
|
"clipboard": "^2.0.6",
|
2020-09-24 14:55:44 +08:00
|
|
|
"code-prettify": "^0.1.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"codemirror": "^5.53.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"connected-react-router": "4.4.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"css-loader": "^3.5.2",
|
2020-12-11 18:14:25 +08:00
|
|
|
"dompurify": "^2.0.15",
|
2020-03-16 14:12:11 +08:00
|
|
|
"dotenv": "4.0.0",
|
|
|
|
"dotenv-expand": "4.2.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"echarts": "^4.7.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"editor.md": "^1.5.0",
|
|
|
|
"eslint": "4.10.0",
|
|
|
|
"eslint-config-react-app": "^2.1.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"eslint-loader": "^4.0.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"eslint-plugin-flowtype": "2.39.1",
|
|
|
|
"eslint-plugin-import": "2.8.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "5.1.1",
|
|
|
|
"eslint-plugin-react": "7.4.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"file-loader": "^6.0.0",
|
|
|
|
"flv.js": "^1.5.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"fs-extra": "3.0.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"html-webpack-plugin": "^4.0.4",
|
2020-03-16 14:12:11 +08:00
|
|
|
"immutability-helper": "^2.6.6",
|
|
|
|
"install": "^0.12.2",
|
|
|
|
"jest": "20.0.4",
|
2020-04-28 17:23:34 +08:00
|
|
|
"js-base64": "^2.5.2",
|
2020-03-16 14:12:11 +08:00
|
|
|
"katex": "^0.11.1",
|
2020-03-23 15:59:50 +08:00
|
|
|
"lodash": "^4.17.15",
|
2020-04-28 17:23:34 +08:00
|
|
|
"loglevel": "^1.6.8",
|
2020-05-09 11:00:03 +08:00
|
|
|
"marked": "^1.0.0",
|
2020-05-27 17:07:36 +08:00
|
|
|
"material-ui": "^1.0.0-beta.40",
|
2020-03-16 14:12:11 +08:00
|
|
|
"md5": "^2.2.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"mini-css-extract-plugin": "^0.9.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"moment": "^2.23.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"monaco-editor": "^0.20.0",
|
|
|
|
"monaco-editor-webpack-plugin": "^1.9.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"numeral": "^2.0.6",
|
|
|
|
"object-assign": "4.1.1",
|
|
|
|
"postcss-flexbugs-fixes": "3.2.0",
|
|
|
|
"postcss-loader": "2.0.8",
|
|
|
|
"promise": "8.0.1",
|
|
|
|
"prop-types": "^15.6.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"qrcode.react": "^1.0.0",
|
|
|
|
"qs": "^6.9.3",
|
2020-03-16 14:12:11 +08:00
|
|
|
"quill": "^1.3.7",
|
|
|
|
"quill-delta-to-html": "^0.11.0",
|
|
|
|
"raf": "3.4.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"rc-form": "^2.4.11",
|
|
|
|
"rc-pagination": "^1.21.0",
|
|
|
|
"rc-rate": "^2.6.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"rc-select": "^8.0.12",
|
2020-04-28 17:23:34 +08:00
|
|
|
"rc-tree": "^1.15.3",
|
|
|
|
"rc-upload": "^2.9.4",
|
|
|
|
"react": "^16.13.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"react-beautiful-dnd": "^10.0.4",
|
|
|
|
"react-codemirror": "^1.0.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"react-codemirror2": "^6.0.1",
|
2020-05-27 17:07:36 +08:00
|
|
|
"react-color": "^2.18.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"react-content-loader": "^3.1.1",
|
|
|
|
"react-cookies": "^0.1.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"react-datepicker": "^2.14.1",
|
|
|
|
"react-dev-utils": "^9.2.0-next.80",
|
|
|
|
"react-dom": "^16.13.1",
|
|
|
|
"react-hot-loader": "^4.12.20",
|
2020-03-16 14:12:11 +08:00
|
|
|
"react-infinite-scroller": "^1.2.4",
|
|
|
|
"react-loadable": "^5.3.1",
|
2020-07-10 15:42:57 +08:00
|
|
|
"react-monaco-editor": "0.37",
|
2020-04-28 17:23:34 +08:00
|
|
|
"react-player": "^1.15.3",
|
2020-03-16 14:12:11 +08:00
|
|
|
"react-redux": "5.0.7",
|
2020-07-13 15:17:28 +08:00
|
|
|
"react-resizable": "^1.10.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"react-router": "^4.2.0",
|
|
|
|
"react-router-dom": "^4.2.2",
|
2021-05-14 09:32:23 +08:00
|
|
|
"react-slick": "^0.28.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"react-split-pane": "^0.1.91",
|
|
|
|
"react-url-query": "^1.5.0",
|
|
|
|
"react-zmage": "^0.8.5-beta.31",
|
|
|
|
"redux": "^4.0.5",
|
2020-03-16 14:12:11 +08:00
|
|
|
"redux-thunk": "2.3.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"rsuite": "^4.3.4",
|
|
|
|
"sass-loader": "7.3.1",
|
|
|
|
"scroll-into-view": "^1.14.2",
|
2020-03-16 14:12:11 +08:00
|
|
|
"showdown": "^1.9.1",
|
2020-04-28 17:23:34 +08:00
|
|
|
"showdown-katex": "^0.8.0",
|
2021-05-14 09:32:23 +08:00
|
|
|
"slick-carousel": "^1.8.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"store": "^2.0.12",
|
|
|
|
"style-loader": "0.19.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"styled-components": "^4.4.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"sw-precache-webpack-plugin": "0.11.4",
|
|
|
|
"url-loader": "0.6.2",
|
2020-04-28 17:23:34 +08:00
|
|
|
"webpack-cli": "^3.3.11",
|
|
|
|
"webpack-dev-server": "^3.10.3",
|
|
|
|
"webpack-manifest-plugin": "^2.2.0",
|
2020-03-16 14:12:11 +08:00
|
|
|
"whatwg-fetch": "2.0.3",
|
2021-04-08 18:14:19 +08:00
|
|
|
"wrap-md-editor": "^0.2.20",
|
|
|
|
"xterm": "4.8.1",
|
2021-05-14 09:32:23 +08:00
|
|
|
"xterm-addon-fit": "0.4.0"
|
2020-03-16 14:12:11 +08:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-04-28 17:23:34 +08:00
|
|
|
"start": "node --max_old_space_size=15360 scripts/start.js",
|
|
|
|
"build": "NODE_ENV=production node --max_old_space_size=15360 scripts/build.js",
|
|
|
|
"test-build": "NODE_ENV=testBuild node --max_old_space_size=15360 scripts/build.js",
|
|
|
|
"pre-build": "NODE_ENV=preBuild node --max_old_space_size=15360 scripts/build.js",
|
2020-03-16 14:12:11 +08:00
|
|
|
"gen_stats": "NODE_ENV=production webpack --profile --config=./config/webpack.config.prod.js --json > stats.json",
|
|
|
|
"ana": "webpack-bundle-analyzer ./stats.json",
|
|
|
|
"analyze": "npm run build -- --stats && webpack-bundle-analyzer build/bundle-stats.json",
|
|
|
|
"analyz": "NODE_ENV=production npm_config_report=true npm run build"
|
|
|
|
},
|
|
|
|
"jest": {
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"src/**/*.{js,jsx,mjs}"
|
|
|
|
],
|
|
|
|
"setupFiles": [
|
|
|
|
"<rootDir>/config/polyfills.js"
|
|
|
|
],
|
|
|
|
"testMatch": [
|
|
|
|
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
|
|
|
|
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
|
|
|
|
],
|
|
|
|
"testEnvironment": "node",
|
|
|
|
"testURL": "http://localhost",
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
|
|
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
|
|
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
|
|
},
|
|
|
|
"transformIgnorePatterns": [
|
|
|
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
|
|
|
],
|
|
|
|
"moduleNameMapper": {
|
|
|
|
"^react-native$": "react-native-web"
|
|
|
|
},
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"web.js",
|
|
|
|
"mjs",
|
|
|
|
"js",
|
|
|
|
"json",
|
|
|
|
"web.jsx",
|
|
|
|
"jsx",
|
|
|
|
"node"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"babel": {
|
|
|
|
"presets": [
|
|
|
|
"react",
|
|
|
|
"react-app"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
[
|
|
|
|
"import",
|
|
|
|
{
|
|
|
|
"libraryName": "antd",
|
|
|
|
"libraryDirectory": "lib",
|
|
|
|
"style": "css"
|
|
|
|
},
|
|
|
|
"ant"
|
|
|
|
],
|
|
|
|
"syntax-dynamic-import"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": "react-app"
|
|
|
|
},
|
|
|
|
"proxy": "http://localhost:3000",
|
|
|
|
"port": "3007",
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/runtime": "7.0.0-beta.51",
|
2020-11-25 17:25:59 +08:00
|
|
|
"babel-cli": "^6.26.0",
|
|
|
|
"babel-core": "^6.26.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"babel-plugin-import": "^1.13.0",
|
2020-11-26 15:45:54 +08:00
|
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
2020-11-25 17:25:59 +08:00
|
|
|
"babel-preset-es2015": "^6.24.1",
|
|
|
|
"babel-preset-react": "^6.24.1",
|
|
|
|
"babel-preset-stage-2": "^6.24.1",
|
2020-03-16 14:12:11 +08:00
|
|
|
"compression-webpack-plugin": "^1.1.12",
|
|
|
|
"concat": "^1.0.3",
|
|
|
|
"happypack": "^5.0.1",
|
|
|
|
"mockjs": "^1.1.0",
|
|
|
|
"node-sass": "^4.12.0",
|
2020-04-28 17:23:34 +08:00
|
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
|
|
"purgecss": "^2.1.2",
|
2020-03-16 14:12:11 +08:00
|
|
|
"reqwest": "^2.0.5",
|
2020-04-28 17:23:34 +08:00
|
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
|
|
"terser-webpack-plugin": "^2.3.5",
|
|
|
|
"uglifyjs-webpack-plugin": "^2.2.0",
|
|
|
|
"webpack": "^4.42.1",
|
|
|
|
"webpack-bundle-analyzer": "^3.7.0"
|
2020-03-16 14:12:11 +08:00
|
|
|
}
|
2020-05-27 17:07:36 +08:00
|
|
|
}
|