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:
parent
8a6517268b
commit
4d6a12017c
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user