This commit is contained in:
Timo Hocker 2020-01-17 19:30:06 +01:00
parent fa9a4ebba2
commit 4186ae490d
2 changed files with 6 additions and 2 deletions

View File

@ -52,6 +52,12 @@ async function run (folder, args) {
path.join (snip_folder, 'package.json'), path.join (snip_folder, 'package.json'),
JSON.stringify (package_json, null, 2) JSON.stringify (package_json, null, 2)
); );
await fs.writeFile (
path.join (snip_folder, '.gitignore'),
`/node_modules/
/dist/`
);
} }
/** /**

View File

@ -1,2 +0,0 @@
/node_modules/
/dist/