Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Optimized bundle of app
Browse files Browse the repository at this point in the history
  • Loading branch information
Z3SA committed Dec 22, 2019
1 parent 5460ab2 commit fe40ebc
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 5,264 deletions.
70 changes: 3 additions & 67 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@
"start": "cross-env NODE_ENV=production electron ./app/main.prod.js",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r @babel/register ./app/main.dev.babel.js",
"start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js",
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
"test-all": "yarn lint && yarn build && yarn test && yarn build-e2e && yarn test-e2e",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe electron:./ ./test/e2e/HomePage.e2e.js",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.js",
"test-watch": "yarn test --watch",
"sync-langs": "./internals/scripts/SyncLangsInAppData.sh"
},
Expand Down Expand Up @@ -130,27 +126,6 @@
"reload"
],
"homepage": "https://github.com/Z3SA/octagon_studio#readme",
"jest": {
"testURL": "http://localhost/",
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"ts",
"jsx",
"tsx",
"json"
],
"transform": {
"^.+\\.[jt]sx?$": "babel-jest"
},
"testRegex": "test/.*(spec|test).(ts|tsx|js)$",
"setupFiles": [
"./internals/scripts/CheckBuiltsExist.js"
]
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
Expand Down Expand Up @@ -178,65 +153,36 @@
"@types/node": "10.17.1",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.5",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"chalk": "^2.4.1",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"css-loader": "^2.1.1",
"detect-port": "^1.3.0",
"electron": "^4.2.5",
"electron-builder": "^20.39.0",
"electron-debug": "^2.1.0",
"electron-devtools-installer": "^2.2.4",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"enzyme-to-json": "^3.3.5",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.6.0",
"eslint-formatter-pretty": "^2.1.1",
"eslint-import-resolver-webpack": "^0.11.0",
"eslint-plugin-compat": "^3.1.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-jest": "^22.4.1",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-testcafe": "^0.2.1",
"fbjs-scripts": "^1.2.0",
"file-loader": "^3.0.1",
"husky": "^1.3.1",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.6.0",
"less": "^3.9.0",
"less-loader": "^4.1.0",
"lint-staged": "^8.1.5",
"mini-css-extract-plugin": "^0.7.0",
"node-less": "^1.0.0",
"node-sass": "^4.11.0",
"opencollective-postinstall": "^2.0.2",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier": "^1.18.2",
"prettier-tslint": "^0.4.2",
"react-test-renderer": "^16.8.6",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0",
"sinon": "^7.3.1",
"spectron": "^5.0.0",
"style-loader": "^0.23.1",
"stylelint": "^9.10.1",
"stylelint-config-prettier": "^5.2.0",
"stylelint-config-standard": "^18.3.0",
"terser-webpack-plugin": "^1.2.3",
"testcafe": "^1.1.3",
"testcafe-browser-provider-electron": "^0.0.8",
"testcafe-live": "^0.1.4",
"testcafe-react-selectors": "^3.1.0",
"ts-loader": "^5.4.5",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
Expand All @@ -246,35 +192,25 @@
"url-loader": "^1.1.2",
"webpack": "^4.35.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.7.2",
"webpack-merge": "^4.1.5",
"yarn": "^1.15.2"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.8.1",
"@types/react-dom": "^16.8.4",
"antd": "^3.19.8",
"connected-react-router": "^6.4.0",
"core-js": "2",
"devtron": "^1.4.0",
"electron-debug": "^2.1.0",
"electron-is": "^3.0.0",
"electron-updater": "^4.0.6",
"fork-ts-checker-webpack-plugin": "^1.3.7",
"core-js": "^2.6.11",
"history": "^4.9.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hot-loader": "^4.11.1",
"react-hotkeys": "^1.1.4",
"react-redux": "6.0.1",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"sha256": "^0.2.0",
"source-map-loader": "^0.2.4",
"source-map-support": "^0.5.12"
"source-map-support": "^0.5.16"
},
"devEngines": {
"node": ">=7.x",
Expand Down
Loading

0 comments on commit fe40ebc

Please sign in to comment.