build-threejs-app
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -47,6 +47,5 @@ #!/usr/bin/env node | ||
const { projectName, template } = result; | ||
const root = path.join(parentDir, projectName); | ||
fs.mkdirSync(root); | ||
fs.mkdirSync(projectName); | ||
const templateDir = getTemplateDir(template); | ||
console.log(`\nScaffolding project in ${root}...`); | ||
console.log(`\nScaffolding project...`); | ||
copyDir(templateDir, projectName); | ||
@@ -53,0 +52,0 @@ console.log(`\nDone. Now run:\n`); |
@@ -5,3 +5,3 @@ { | ||
"private": false, | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"type": "module", | ||
@@ -31,4 +31,5 @@ "bin": "dist/index.js", | ||
"scripts": { | ||
"build": "rm -rf dist && npx tsc", | ||
"test": "npx tsc && node dist/index.js" | ||
"remove": "rm -rf dist", | ||
"build": "npm run remove && npx tsc", | ||
"test": "npm run build && node dist/index.js" | ||
}, | ||
@@ -35,0 +36,0 @@ "dependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7536632
26680