Browse Source

chore: Fix appveyor memory limit config, remove 2 imports (#607)

* chore: fix appveyor deprecated memory limit settings

* remove @types/loglevel (definitions included in loglevel)
Simon 5 years ago
parent
commit
2e48a68c5f
1 changed files with 1 additions and 3 deletions
  1. 1 3
      package.json

+ 1 - 3
package.json

@@ -18,7 +18,7 @@
     "build:webpack-dev": "webpack --progress --colors --config webpack.dev.js",
     "build:webpack-sourcemap": "webpack --progress --colors --config webpack.sourcemap.js",
     "start": "webpack-dev-server --progress --colors --config webpack.dev.js",
-    "fix-memory-limit": "increase-memory-limit"
+    "fix-memory-limit": "cross-env NODE_OPTIONS=--max_old_space_size=4096"
   },
   "pre-commit": [
     "lint"
@@ -57,7 +57,6 @@
   },
   "devDependencies": {
     "@types/chai": "^4.0.3",
-    "@types/loglevel": "^1.4.29",
     "@types/mocha": "^5.2.6",
     "@types/node": "^12.7.2",
     "chai": "^4.1.0",
@@ -71,7 +70,6 @@
     "eslint-plugin-promise": "^4.0.1",
     "eslint-plugin-standard": "^4.0.0",
     "html-webpack-plugin": "^3.2.0",
-    "increase-memory-limit": "^1.0.6",
     "jquery": "^3.4.1",
     "karma": "^4.1.0",
     "karma-base64-to-js-preprocessor": "^0.0.1",