Skip to content

Instantly share code, notes, and snippets.

@despairblue
Last active July 26, 2016 12:51
Show Gist options
  • Save despairblue/82a7bd6a16eccdbb7856493fb4d79c0a to your computer and use it in GitHub Desktop.
Save despairblue/82a7bd6a16eccdbb7856493fb4d79c0a to your computer and use it in GitHub Desktop.
plop error
{
"name": "82a7bd6a16eccdbb7856493fb4d79c0a",
"version": "1.0.0",
"description": "",
"main": "plopfile.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+ssh://git@gist.github.com/82a7bd6a16eccdbb7856493fb4d79c0a.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://gist.github.com/82a7bd6a16eccdbb7856493fb4d79c0a"
},
"homepage": "https://gist.github.com/82a7bd6a16eccdbb7856493fb4d79c0a",
"dependencies": {
"plop": "1.5.0"
}
}
module.exports = function (plop) {
plop.setGenerator('basics', {
description: 'this is a skeleton plopfile',
// prompts: [],
actions: [{
type: 'add',
file: 'bar.js',
templateFile: 'foo.js'
}]
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment