I'm building a tool like create-nuxt-app. I'm struggling on this problem:
What is the better approaching to this problem?
Eg: package.json template is
{
"name": "<%= name %>",
"version": "1.0.0",
"private": true
}
And after I ask user to input name variable, it will create this package.json file
{
"name": "New Name",
"version": "1.0.0",
"private": true
}