clony-pasta v2.0.1
clony-pasta
Foolishly simple scaffolding tool using the ez template language.
Installation
npm install clony-pasta -gUsage
clony-pasta [git repository] [destination folder]Example Usage
Set up a git repository with a scaffold. For example, your package.json might look something like this:
{
"name": "{% scoped? %}@{% scope %}/{% end %}{% name %}",
"version": "0.0.0",
"description": "{% description %}",
"author": "{% author %}",
"license": "MIT",
...
}Conditional files and directories are also supported. For example, if you only sometimes want to generate tests, you could name your test directory {% makeTests? %}tests{% end %} and it will only include the directory (and sub-directories) if you respond "yes" to the makeTests? prompt.
Then, when you want to generate a new project based on the scaffold, invoke the command:
clony-pasta git@github.com:scott113341/scaffold-npm-module.git my-new-project8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago