diff --git a/package-lock.json b/package-lock.json index 6f2472d0..11c735e9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6738,15 +6738,6 @@ "integrity": "sha1-52OI0heZLCUnUCQdPTlW/tmNj/Q=", "dev": true }, - "rimraf": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.1.tgz", - "integrity": "sha512-IQ4ikL8SjBiEDZfk+DFVwqRK8md24RWMEJkdSlgNLkyyAImcjf8SWvU1qFMDOb4igBClbTQ/ugPqXcRwdFTxZw==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "run-async": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", diff --git a/package.json b/package.json index e9bd684b..331de01f 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "jsonlint": "^1.6.3", "less-bundle": "github:openstyles/less-bundle#v0.1.0", "lz-string-unsafe": "^1.4.4-fork-1", - "rimraf": "^3.0.1", "semver-bundle": "^0.1.1", "stylelint-bundle": "^8.0.0", "stylus-lang-bundle": "^0.54.5", @@ -30,7 +29,7 @@ "update-quick": "updates -u && npm update && npm run update-main", "update-locales": "tx pull --all && webext-tx-fix", "update-main": "npm run update-versions && npm run update-vendor", - "update-node": "updates -u && node tools/remove-modules.js && npm install", + "update-node": "updates -u && npm install", "update-transifex": "tx push -s", "update-vendor": "node tools/update-libraries.js && node tools/update-codemirror-themes.js", "update-versions": "node tools/update-versions", diff --git a/tools/remove-modules.js b/tools/remove-modules.js deleted file mode 100644 index c3b166ac..00000000 --- a/tools/remove-modules.js +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env node -'use strict'; - -const fs = require('fs'); -const rimraf = require('rimraf'); - -// See https://github.com/isaacs/rimraf/issues/102#issuecomment-412310309 -rimraf('node_modules/!(rimraf|.bin)', fs, () => {});