summarylogtreecommitdiffstats
path: root/package.json.patch.js
diff options
context:
space:
mode:
Diffstat (limited to 'package.json.patch.js')
-rw-r--r--package.json.patch.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/package.json.patch.js b/package.json.patch.js
deleted file mode 100644
index 31362616c831..000000000000
--- a/package.json.patch.js
+++ /dev/null
@@ -1,34 +0,0 @@
-'use strict';
-
-const PATCHABLE_FILE = './package.json';
-
-const fs = require('fs');
-const data = JSON.parse(fs.readFileSync(PATCHABLE_FILE));
-
-// remove extra dependencies
-const removePkg = [
- /^chai$/,
- /^electron-/,
- /^electron$/,
- /^eslint-/,
- /^eslint$/,
- /^grunt-contrib-compress$/,
- /^grunt-contrib-deb$/,
- /^grunt-contrib-watch$/,
- /^grunt-electron$/,
- /^grunt-eslint$/,
- /^mocha$/,
- /^puppeteer$/,
- /^stats-webpack-plugin$/,
- /^sumchecker$/,
- /^webpack-bundle-analyzer$/,
- /^webpack-dev-server$/,
- /keeweb-native-modules$/,
-];
-
-Object.keys(data.dependencies).forEach(dep => {
- if (removePkg.some(re => re.test(dep)))
- delete data.dependencies[dep];
-});
-
-fs.writeFileSync(PATCHABLE_FILE, JSON.stringify(data, null, '\t'));