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