UNPKG

543 BJavaScriptView Raw
1'use strict';
2
3var _require = require('mrm-core'),
4 lines = _require.lines;
5
6var gitignore = [
7// Logs
8'logs', '*.log', 'npm-debug.log*', '.eslintcache',
9
10//
11'/coverage', '/dist', '/local', '/reports', '/node_modules',
12
13// Editor & OS
14'.DS_Store', 'Thumbs.db', '.idea', '.vscode', '*.sublime-project', '*.sublime-workspace'];
15
16var gitattributes = ['package-lock.json -diff', '* text=auto', 'bin/* eol=lf'];
17
18module.exports = function () {
19 lines('.gitignore').add(gitignore).save();
20
21 lines('.gitattributes').add(gitattributes).save();
22};
\No newline at end of file