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

massa-sc-create

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

massa-sc-create - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

.github/workflows/npm-publish.yml

9

index.js
#! /usr/bin/env node
const { execSync } = require('child_process')
const { readFileSync, writeFileSync } = require('fs')
let project_name = process.argv[2] || "massa-sc-template"
let cwd = require('path').join(process.cwd(), project_name);
let log = x => console.log('\033[32m' + x + '\033[39m');
log(`Creating a new Massa Smart Contract template project ${cwd}...`);
// Clone project
let project_name = process.argv[2] || "massa-sc-template"
execSync(`git clone https://github.com/massalabs/massa-sc-template ${project_name}`)
// Fresh git repository
let cwd = `./${project_name}`
execSync('rm -rf .git', { cwd })

@@ -21,1 +23,4 @@ execSync('git init', { cwd })

writeFileSync(`${cwd}/package.json`, JSON.stringify(package_json, null, 2))
log('Installing packages. This might take a couple of minutes...');
execSync(`cd ${cwd} && npm install`)
log(`Happy hacking! 🤖`);
{
"name": "massa-sc-create",
"version": "1.0.0",
"version": "1.1.0",
"main": "index.js",

@@ -9,5 +9,4 @@ "bin": {

"repository": "git@github.com:massalabs/massa-sc-create.git",
"author": "Yvan Sraka <yvan@sraka.xyz>",
"license": "MIT",
"author": "Massa Labs <info@massa.net>",
"private": false
}
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