1 | 'use strict';
|
2 |
|
3 | var path = require('path');
|
4 |
|
5 | var _require = require('mrm-core'),
|
6 | copyFiles = _require.copyFiles;
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | var files = ['LICENSE', '.github/ISSUE_TEMPLATE.md', '.github/PULL_REQUEST_TEMPLATE.md'];
|
12 |
|
13 |
|
14 | var filesOnce = ['src/index.js', 'src/cjs.js', 'CHANGELOG.md'];
|
15 |
|
16 | module.exports = function () {
|
17 | var templatesDir = path.resolve(__dirname, '../../templates');
|
18 | copyFiles(templatesDir, files);
|
19 | copyFiles(templatesDir, filesOnce, { overwrite: false });
|
20 | }; |
\ | No newline at end of file |