diff options
author | developomp <developomp@gmail.com> | 2021-10-20 09:11:12 +0900 |
---|---|---|
committer | developomp <developomp@gmail.com> | 2021-10-20 09:11:12 +0900 |
commit | 53949bd7370d9865f2609f901071190be7d7021a (patch) | |
tree | 967fcaf89aaa89bf26201d98e53e90d57bbda6f6 /bundle/scripts/install.js | |
parent | Merge branch 'fosscord:master' into master (diff) | |
download | server-53949bd7370d9865f2609f901071190be7d7021a.tar.xz |
prettier formatted /bundle
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" } +); |