This repository was archived by the owner on Aug 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a1f02c5
commit de00ec7
Showing
10 changed files
with
136 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"network": "ethereum-goerli", | ||
"publishableApiKey": "ejs-json-file-test-key", | ||
"publishableApiKey": "pk_live_8D6C562ABCA3140A", | ||
"loginMethods": ["EmailOTP", "SMSOTP"], | ||
"projectName": "ejs-test-project" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const tsNode = require('ts-node'); | ||
let json = require('json5'); | ||
let fs = require('fs-extra'); | ||
|
||
//setting up tsconfig for ts-node to compilt the scaffold.ts file of any scaffold | ||
const setupTsconfig = () => { | ||
let tsconfig = { | ||
compilerOptions: { | ||
...json.parse(fs.readFileSync(`./tsconfig.json`)).compilerOptions, | ||
}, | ||
transpileOnly: true, | ||
}; | ||
|
||
tsNode.register(tsconfig); | ||
}; | ||
|
||
const convertCommandToString = (command) => { | ||
return command.command.concat(' ', command.args.join(' ')); | ||
}; | ||
|
||
module.exports = { | ||
setupTsconfig, | ||
convertCommandToString, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters