create-application-template 0.4.1 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,6 +33,7 @@ const run = async () => {
33
33
 
34
34
  const projectPaths = {
35
35
  root: `./${argv.name}`,
36
+ get bin() { return `${this.root}/bin` },
36
37
  get env() { return `${this.root}/.env` },
37
38
  get packageJson() { return `${this.root}/package.json` },
38
39
  }
@@ -50,6 +51,7 @@ const run = async () => {
50
51
  if (packageJson.dependencies.hasOwnProperty('yargs')) delete packageJson.dependencies.yargs
51
52
 
52
53
  execCommand(`rm ${projectPaths.packageJson}`)
54
+ execCommand(`rm -rf ${projectPaths.bin}`)
53
55
 
54
56
  try {
55
57
  await writeFile(projectPaths.packageJson, JSON.stringify(packageJson, null, 2), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-application-template",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "provides a configured application template for you to build upon",
5
5
  "main": "index.js",
6
6
  "bin": {