mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
- integrate the generators - integrate the docs - move files into the right location - update readmes - lint fix
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
module.exports = function(plop) {
|
|
plop.setGenerator('package', {
|
|
description: 'Make a new parser',
|
|
|
|
// inquirer prompts
|
|
prompts: [{
|
|
type: 'input',
|
|
name: 'name',
|
|
message: 'Project name: '
|
|
}],
|
|
|
|
// actions to perform
|
|
actions: [{
|
|
type: 'addMany',
|
|
destination: 'packages/{{dashCase name}}/',
|
|
templateFiles: '.generators/*',
|
|
}]
|
|
})
|
|
}
|