diff options
Diffstat (limited to 'bundle/scripts/install.js')
-rw-r--r-- | bundle/scripts/install.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/bundle/scripts/install.js b/bundle/scripts/install.js index 3008b4c5..db9dadbc 100644 --- a/bundle/scripts/install.js +++ b/bundle/scripts/install.js @@ -5,10 +5,19 @@ const parts = ["api", "util", "cdn", "gateway"]; const bundle = require("../package.json"); for (const part of parts) { - const { devDependencies, dependencies } = require(path.join("..", "..", part, "package.json")); + const { devDependencies, dependencies } = require(path.join( + "..", + "..", + part, + "package.json" + )); bundle.devDependencies = { ...bundle.devDependencies, ...devDependencies }; bundle.dependencies = { ...bundle.dependencies, ...dependencies }; delete bundle.dependencies["@fosscord/util"]; } -fs.writeFileSync(path.join(__dirname, "..", "package.json"), JSON.stringify(bundle, null, "\t"), { encoding: "utf8" }); +fs.writeFileSync( + path.join(__dirname, "..", "package.json"), + JSON.stringify(bundle, null, "\t"), + { encoding: "utf8" } +); |