1 | 'use strict'
|
2 |
|
3 | const path = require('path')
|
4 |
|
5 | module.exports = {
|
6 | tmpl: path.resolve(__dirname, '../asset/tmpl'),
|
7 | pattern: [
|
8 | '**/.*.tmpl',
|
9 | '**/*.tmpl',
|
10 | '**/.*.bud.tmpl',
|
11 | '**/.*.hbs.tmpl'
|
12 | ],
|
13 | ignore: [
|
14 | 'ci/demo.js'
|
15 | ],
|
16 | ask: {
|
17 | 'package_name': '#{dirname}',
|
18 | 'package_description': '',
|
19 | 'github_repository': '#{gitUser.name}/#{dirname}',
|
20 | 'domain_name': 'example.com',
|
21 | 'author_name': '#{gitUser.name}',
|
22 | 'author_email': '#{gitUser.email}',
|
23 | 'author_url': '#{gitUser.url}'
|
24 | },
|
25 | mode: {
|
26 | 'ci/*.*': '755'
|
27 | },
|
28 | prefix: '~~~~',
|
29 | suffix: '~~~~'
|
30 | }
|