Commit cab1f48d authored by Tim Oxley's avatar Tim Oxley Committed by Dan Zajdband

next init: Inherit project name from directory. (#134)

parent 9ad0e57e
...@@ -20,7 +20,7 @@ exists(join(dir, 'package.json')) ...@@ -20,7 +20,7 @@ exists(join(dir, 'package.json'))
} }
if (!present) { if (!present) {
await writeFile(join(dir, 'package.json'), basePackage) await writeFile(join(dir, 'package.json'), basePackage.replace(/my-app/g, basename(dir)))
} }
if (!await exists(join(dir, 'static'))) { if (!await exists(join(dir, 'static'))) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment