forked from nuxt-community/module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meta.js
30 lines (29 loc) · 739 Bytes
/
meta.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = {
helpers: {
raw: options => options.fn(this)
},
skipInterpolation: [
"**/*.vue",
".github/workflows/*.*"
],
prompts: {
name: {
'type': 'string',
'required': true,
'message': 'NPM package name'
},
description: {
'type': 'string',
'message': 'Module description',
},
github: {
'type': 'string',
'message': 'Github repository (user/repo)'
},
author: {
'type': 'string',
'message': 'Author'
},
},
completeMessage: '{{#inPlace}}To get started:\n\n npm install # Or yarn{{else}}To get started:\n\n cd {{destDirName}}\n npm install # Or yarn{{/inPlace}}'
};