Skip to content

Commit

Permalink
Gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhel committed Nov 9, 2018
1 parent 3fde564 commit d97d5e1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 20 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ npm-debug.log*
*.lock

# Dependency directories
node_modules
package-lock.json
/node_modules

# Optional npm cache directory
.npm

# Prod Bundle
build
/build

.vscode
.idea
.idea
35 changes: 18 additions & 17 deletions bin/create-vk-app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,24 @@ exec(


let body = `# Logs
logs
*.log
npm-debug.log*
*.lock
# Dependency directories
node_modules
# Optional npm cache directory
.npm
# Prod Bundle
build
.vscode
.idea
`;
logs
*.log
npm-debug.log*
*.lock
# Dependency directories
package-lock.json
/node_modules
# Optional npm cache directory
.npm
# Prod Bundle
/build
.vscode
.idea
`;
fs.writeFile(`${process.argv[2]}/.gitignore`, body, { encoding: 'utf-8' }, (err) => {
if (err) throw err;
});
Expand Down

0 comments on commit d97d5e1

Please sign in to comment.