Skip to content

Commit

Permalink
chore: Remove unused deps - lots of them!
Browse files Browse the repository at this point in the history
  • Loading branch information
gmaclennan committed Oct 30, 2019
1 parent 40ae0a1 commit 3b93bb5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
7 changes: 0 additions & 7 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
var appConfig = require('application-config')('Mapeo')
var path = require('path')

var APP_NAME = 'Mapeo'
Expand All @@ -17,8 +16,6 @@ module.exports = {
// AUTO_UPDATE_URL: 'https://webtorrent.io/desktop/update' +
// '?version=' + APP_VERSION + '&platform=' + process.platform,

CONFIG_PATH: getConfigPath(),

GITHUB_URL: 'https://github.com/digidem/mapeo-desktop',
GITHUB_URL_RAW: 'https://raw.githubusercontent.com/digidem/mapeo-desktop/master',

Expand All @@ -30,10 +27,6 @@ module.exports = {
WINDOW_MAIN: 'file://' + path.join(__dirname, 'renderer', 'main.html')
}

function getConfigPath () {
return path.dirname(appConfig.filePath)
}

function isProduction () {
if (!process.versions.electron) {
return false
Expand Down
27 changes: 1 addition & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,44 +70,32 @@
"@material-ui/core": "^4.5.2",
"@material-ui/icons": "^4.5.1",
"@material-ui/styles": "^4.5.2",
"JSONStream": "^1.3.5",
"application-config": "^1.0.1",
"application-config-path": "^0.1.0",
"archiver": "^3.1.1",
"asar": "^1.0.0",
"blob-to-buffer": "^1.2.6",
"body": "^5.1.0",
"clsx": "^1.0.4",
"concat-stream": "^1.5.1",
"dialogs": "^1.1.20",
"core-js": "^3.3.5",
"date-fns": "^2.6.0",
"dom-helpers": "^3.3.1",
"ecstatic": "^2.2.1",
"electron-debug": "^1.5.0",
"electron-is-dev": "^1.1.0",
"electron-log": "^3.0.8",
"electron-squirrel-startup": "^1.0.0",
"electron-store": "^5.0.0",
"electron-timber": "^0.5.1",
"end-of-stream": "^1.1.0",
"fs-copy-file-sync": "^1.0.1",
"glob": "^7.1.2",
"html-react-parser": "^0.9.1",
"hyperquest": "^2.1.3",
"id-mapeo": "^3.1.1",
"inherits": "^2.0.3",
"insert-css": "^1.0.0",
"ky": "^0.14.0",
"lodash": "^4.17.4",
"mapbox-gl": "^1.4.0",
"mapeo-server": "^16.1.1",
"mapeo-styles": "^3.0.0",
"minimist": "^1.2.0",
"mirror-folder": "^2.1.1",
"mkdirp": "^0.5.1",
"object-assign": "^4.1.1",
"once": "^1.4.0",
"osm-p2p": "^4.0.0",
"osm-p2p-server": "^5.0.0",
"prop-types": "^15.6.0",
Expand All @@ -117,23 +105,15 @@
"react-dom": "^16.3.2",
"react-intl": "^3.2.4",
"react-mapfilter": "^3.0.0-beta.11",
"react-spinners": "^0.6.1",
"react-transition-group": "^4.3.0",
"request": "^2.88.0",
"run-parallel": "^1.1.9",
"run-series": "^1.1.4",
"safe-fs-blob-store": "^1.0.0",
"semver": "^5.6.0",
"split2": "^2.0.1",
"statuses": "^1.3.0",
"styled-components": "^3.4.4",
"subleveldown": "^3.0.1",
"tar-fs": "^1.16.0",
"through2": "^2.0.3",
"to2": "^1.0.0",
"traverse": "^0.6.6",
"websocket-stream": "^3.1.0",
"xtend": "^4.0.1"
"through2": "^2.0.3"
},
"devDependencies": {
"@babel/cli": "^7.6.0",
Expand All @@ -153,8 +133,6 @@
"babel-loader": "^8.0.6",
"babel-plugin-react-intl-auto": "^2.3.0",
"cp-file": "^6.0.0",
"cross-env": "^1.0.8",
"cross-spawn": "^4.0.2",
"css-loader": "^3.2.0",
"debug": "^4.1.1",
"electron": "^6.0.10",
Expand All @@ -164,7 +142,6 @@
"eslint": "^6.4.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-react-hooks": "^2.0.1",
"fs-extra": "^0.30.0",
"gh-release": "^3.5.0",
"hubfs.js": "^1.0.0",
"license-check": "^1.1.5",
Expand All @@ -180,10 +157,8 @@
"storybook-addon-i18n": "^5.1.11",
"style-loader": "^1.0.0",
"tape": "^4.9.1",
"watchify": "^3.7.0",
"webpack": "^4.40.2",
"webpack-cli": "^3.3.9",
"webpack-livereload-plugin": "^2.2.0",
"webpack-node-externals": "^1.7.2"
},
"license-check-config": {
Expand Down
1 change: 0 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require('path')
const nodeExternals = require('webpack-node-externals')
// var LiveReloadPlugin = require('webpack-livereload-plugin')

module.exports = {
mode: 'development',
Expand Down

0 comments on commit 3b93bb5

Please sign in to comment.