forked from jasder/forgeplus
191 lines
5.4 KiB
JSON
191 lines
5.4 KiB
JSON
{
|
|
"name": "educoder",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@icedesign/base": "^0.2.5",
|
|
"@monaco-editor/react": "^2.3.0",
|
|
"@novnc/novnc": "^1.1.0",
|
|
"antd": "^3.23.2",
|
|
"array-flatten": "^2.1.2",
|
|
"autoprefixer": "7.1.6",
|
|
"axios": "^0.18.0",
|
|
"babel-core": "6.26.0",
|
|
"babel-eslint": "7.2.3",
|
|
"babel-jest": "20.0.3",
|
|
"babel-loader": "7.1.2",
|
|
"babel-plugin-syntax-dynamic-import": "^6.18.0",
|
|
"babel-preset-react-app": "^3.1.1",
|
|
"babel-runtime": "6.26.0",
|
|
"bizcharts": "^3.5.5",
|
|
"bundle-loader": "^0.5.6",
|
|
"case-sensitive-paths-webpack-plugin": "2.1.1",
|
|
"chalk": "1.1.3",
|
|
"classnames": "^2.2.5",
|
|
"clipboard": "^2.0.4",
|
|
"codemirror": "^5.46.0",
|
|
"connected-react-router": "4.4.1",
|
|
"css-loader": "0.28.7",
|
|
"dotenv": "4.0.0",
|
|
"dotenv-expand": "4.2.0",
|
|
"echarts": "^4.2.0-rc.2",
|
|
"editor.md": "^1.5.0",
|
|
"eslint": "4.10.0",
|
|
"eslint-config-react-app": "^2.1.0",
|
|
"eslint-loader": "1.9.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",
|
|
"extract-text-webpack-plugin": "3.0.2",
|
|
"file-loader": "1.1.5",
|
|
"fs-extra": "3.0.1",
|
|
"html-webpack-plugin": "2.29.0",
|
|
"immutability-helper": "^2.6.6",
|
|
"install": "^0.12.2",
|
|
"jest": "20.0.4",
|
|
"js-base64": "^2.5.1",
|
|
"katex": "^0.11.1",
|
|
"lodash": "^4.17.5",
|
|
"loglevel": "^1.6.1",
|
|
"material-ui": "^1.0.0-beta.40",
|
|
"md5": "^2.2.1",
|
|
"moment": "^2.23.0",
|
|
"monaco-editor": "0.13",
|
|
"monaco-editor-webpack-plugin": "^1.8.1",
|
|
"npm": "^6.10.1",
|
|
"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",
|
|
"qs": "^6.6.0",
|
|
"quill": "^1.3.7",
|
|
"quill-delta-to-html": "^0.11.0",
|
|
"raf": "3.4.0",
|
|
"rc-form": "^2.1.7",
|
|
"rc-pagination": "^1.16.2",
|
|
"rc-rate": "^2.4.0",
|
|
"rc-select": "^8.0.12",
|
|
"rc-tree": "^1.7.11",
|
|
"rc-upload": "^2.5.1",
|
|
"react": "^16.9.0",
|
|
"react-beautiful-dnd": "^10.0.4",
|
|
"react-codemirror": "^1.0.0",
|
|
"react-codemirror2": "^6.0.0",
|
|
"react-color": "^2.18.0",
|
|
"react-content-loader": "^3.1.1",
|
|
"react-cookies": "^0.1.1",
|
|
"react-dev-utils": "^5.0.0",
|
|
"react-dom": "^16.9.0",
|
|
"react-hot-loader": "^4.0.0",
|
|
"react-infinite-scroller": "^1.2.4",
|
|
"react-loadable": "^5.3.1",
|
|
"react-monaco-editor": "^0.25.1",
|
|
"react-player": "^1.11.1",
|
|
"react-redux": "5.0.7",
|
|
"react-router": "^4.2.0",
|
|
"react-router-dom": "^4.2.2",
|
|
"react-split-pane": "^0.1.89",
|
|
"react-url-query": "^1.4.0",
|
|
"redux": "^4.0.0",
|
|
"redux-thunk": "2.3.0",
|
|
"rsuite": "^4.0.1",
|
|
"sass-loader": "^7.3.1",
|
|
"scroll-into-view": "^1.12.3",
|
|
"source-map-support": "^0.5.16",
|
|
"showdown": "^1.9.1",
|
|
"showdown-katex": "^0.6.0",
|
|
"store": "^2.0.12",
|
|
"style-loader": "0.19.0",
|
|
"styled-components": "^4.1.3",
|
|
"sw-precache-webpack-plugin": "0.11.4",
|
|
"url-loader": "0.6.2",
|
|
"webpack": "3.8.1",
|
|
"webpack-dev-server": "2.9.4",
|
|
"webpack-manifest-plugin": "1.3.2",
|
|
"webpack-parallel-uglify-plugin": "^1.1.0",
|
|
"whatwg-fetch": "2.0.3",
|
|
"wrap-md-editor": "^0.2.20"
|
|
},
|
|
"scripts": {
|
|
"start": "node --max_old_space_size=20000 scripts/start.js",
|
|
"build": "node --max_old_space_size=15360 scripts/build.js",
|
|
"concat": "node scripts/concat.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-plugin-import": "^1.11.0",
|
|
"compression-webpack-plugin": "^1.1.12",
|
|
"concat": "^1.0.3",
|
|
"happypack": "^5.0.1",
|
|
"mockjs": "^1.1.0",
|
|
"node-sass": "^4.12.0",
|
|
"reqwest": "^2.0.5",
|
|
"webpack-bundle-analyzer": "^3.0.3",
|
|
"webpack-parallel-uglify-plugin": "^1.1.0"
|
|
}
|
|
}
|