0
0
mirror of https://github.com/fawazahmed0/exchange-api.git synced 2025-06-29 18:21:14 +00:00

save package.json and index.js in root folder

This commit is contained in:
Fawaz Ahmed 2024-02-29 21:03:11 +05:30
parent 8a6517268b
commit 4d6a12017c

View File

@ -70,7 +70,8 @@ async function begin() {
// Set package version to dateToday
let barePackage = fs.readJsonSync(pathToSkeletonPackage)
barePackage['version'] = dateTodaySemVer
fs.writeJSONSync(path.join(rootDir, path.basename(pathToSkeletonPackage) ))
fs.writeJSONSync(path.join(rootDir, "package.json"), barePackage)
fs.writeFileSync(path.join(rootDir, "index.js"), "")
// Close the browser
// await browser.close()