forked from Gitlink/forgeplus-react
214 lines
6.3 KiB
JSON
214 lines
6.3 KiB
JSON
{
|
|
"name": "forge",
|
|
"version": "3.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@monaco-editor/react": "^2.3.0",
|
|
"@novnc/novnc": "^1.1.0",
|
|
"actioncable": "^5.2.4-3",
|
|
"antd": "^3.26.15",
|
|
"array-flatten": "^2.1.2",
|
|
"autoprefixer": "7.1.6",
|
|
"axios": "^0.18.1",
|
|
"babel-eslint": "7.2.3",
|
|
"babel-jest": "20.0.3",
|
|
"babel-loader": "7.1.2",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-polyfill": "^6.26.0",
|
|
"babel-preset-react-app": "^3.1.1",
|
|
"babel-runtime": "6.26.0",
|
|
"bizcharts": "^3.5.8",
|
|
"bundle-loader": "^0.5.6",
|
|
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
|
"chalk": "1.1.3",
|
|
"classnames": "^2.2.5",
|
|
"clipboard": "^2.0.6",
|
|
"code-prettify": "^0.1.0",
|
|
"codemirror": "^5.53.0",
|
|
"connected-react-router": "4.4.1",
|
|
"css-loader": "^3.5.2",
|
|
"dompurify": "^2.0.15",
|
|
"dotenv": "4.0.0",
|
|
"dotenv-expand": "4.2.0",
|
|
"echarts": "^4.9.0",
|
|
"echarts-wordcloud": "^2.0.0",
|
|
"editor.md": "^1.5.0",
|
|
"eslint": "4.10.0",
|
|
"eslint-config-react-app": "^2.1.0",
|
|
"eslint-loader": "^4.0.0",
|
|
"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",
|
|
"file-loader": "^6.0.0",
|
|
"flv.js": "^1.5.0",
|
|
"fs-extra": "3.0.1",
|
|
"html-webpack-plugin": "^4.0.4",
|
|
"immutability-helper": "^2.6.6",
|
|
"install": "^0.12.2",
|
|
"jest": "20.0.4",
|
|
"js-base64": "^2.5.2",
|
|
"js2wordcloud": "^1.1.12",
|
|
"katex": "^0.11.1",
|
|
"lodash": "^4.17.15",
|
|
"loglevel": "^1.6.8",
|
|
"marked": "^1.0.0",
|
|
"material-ui": "^1.0.0-beta.40",
|
|
"md5": "^2.2.1",
|
|
"mini-css-extract-plugin": "^0.9.0",
|
|
"moment": "^2.23.0",
|
|
"monaco-editor": "^0.20.0",
|
|
"monaco-editor-webpack-plugin": "^1.9.0",
|
|
"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",
|
|
"qrcode.react": "^1.0.1",
|
|
"qs": "^6.9.3",
|
|
"quill": "^1.3.7",
|
|
"quill-delta-to-html": "^0.11.0",
|
|
"raf": "3.4.0",
|
|
"rc-form": "^2.4.11",
|
|
"rc-pagination": "^1.21.0",
|
|
"rc-rate": "^2.6.0",
|
|
"rc-select": "^8.0.12",
|
|
"rc-tree": "^1.15.3",
|
|
"rc-upload": "^2.9.4",
|
|
"react": "^16.13.1",
|
|
"react-beautiful-dnd": "^10.0.4",
|
|
"react-codemirror": "^1.0.0",
|
|
"react-codemirror2": "^6.0.1",
|
|
"react-color": "^2.18.0",
|
|
"react-content-loader": "^3.1.1",
|
|
"react-cookies": "^0.1.1",
|
|
"react-datepicker": "^2.14.1",
|
|
"react-dev-utils": "^9.2.0-next.80",
|
|
"react-dom": "^16.13.1",
|
|
"react-hot-loader": "^4.12.20",
|
|
"react-infinite-scroller": "^1.2.4",
|
|
"react-loadable": "^5.3.1",
|
|
"react-monaco-editor": "0.37",
|
|
"react-player": "^1.15.3",
|
|
"react-redux": "5.0.7",
|
|
"react-resizable": "^1.10.1",
|
|
"react-router": "^4.2.0",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-slick": "^0.28.1",
|
|
"react-split-pane": "^0.1.91",
|
|
"react-url-query": "^1.5.0",
|
|
"react-zmage": "^0.8.5-beta.31",
|
|
"redux": "^4.0.5",
|
|
"redux-thunk": "2.3.0",
|
|
"rsuite": "^4.3.4",
|
|
"sass-loader": "7.3.1",
|
|
"scroll-into-view": "^1.14.2",
|
|
"showdown": "^1.9.1",
|
|
"showdown-katex": "^0.8.0",
|
|
"slick-carousel": "^1.8.1",
|
|
"store": "^2.0.12",
|
|
"style-loader": "0.19.0",
|
|
"styled-components": "^4.4.1",
|
|
"sw-precache-webpack-plugin": "0.11.4",
|
|
"url-loader": "0.6.2",
|
|
"webpack-cli": "^3.3.11",
|
|
"webpack-dev-server": "^3.10.3",
|
|
"webpack-manifest-plugin": "^2.2.0",
|
|
"whatwg-fetch": "2.0.3",
|
|
"wrap-md-editor": "^0.2.20",
|
|
"xterm": "4.8.1",
|
|
"xterm-addon-fit": "0.4.0"
|
|
},
|
|
"scripts": {
|
|
"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",
|
|
"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",
|
|
"babel-cli": "^6.26.0",
|
|
"babel-core": "^6.26.0",
|
|
"babel-plugin-import": "^1.13.0",
|
|
"babel-plugin-transform-runtime": "^6.23.0",
|
|
"babel-preset-es2015": "^6.24.1",
|
|
"babel-preset-react": "^6.24.1",
|
|
"babel-preset-stage-2": "^6.24.1",
|
|
"compression-webpack-plugin": "^1.1.12",
|
|
"concat": "^1.0.3",
|
|
"happypack": "^5.0.1",
|
|
"mockjs": "^1.1.0",
|
|
"node-sass": "^4.12.0",
|
|
"optimize-css-assets-webpack-plugin": "^5.0.3",
|
|
"purgecss": "^2.1.2",
|
|
"reqwest": "^2.0.5",
|
|
"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"
|
|
}
|
|
}
|