Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clony-pasta

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clony-pasta - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "clony-pasta",
"version": "2.0.0",
"version": "2.0.1",
"description": "Foolishly simple scaffolding tool using the ez template language.",

@@ -5,0 +5,0 @@ "author": "Scott Hardy",

@@ -12,3 +12,3 @@ # clony-pasta

## installation
## Installation
```bash

@@ -18,3 +18,3 @@ npm install clony-pasta -g

## usage
## Usage
```bash

@@ -24,5 +24,23 @@ clony-pasta [git repository] [destination folder]

### example usage
### 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:
```bash
clony-pasta git@github.com:scott113341/scaffold-npm-module.git my-module
clony-pasta git@github.com:scott113341/scaffold-npm-module.git my-new-project
```

@@ -29,0 +47,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc