🚀 DAY 4 OF LAUNCH WEEK: Introducing GitHub Actions Scanning Support.Learn more →
Socket
Book a DemoInstallSign in
Socket

create-clarity-dev

Package Overview
Dependencies
Maintainers
8
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

create-clarity-dev

An npm initializer to setup a Clarity development environment

unpublished
latest
Source
npmnpm
Version
0.1.14-alpha.1
Version published
Maintainers
8
Created
Source

create-clarity-dev

A Clarity development environment generator, usable as an npm init initializer.

Generates a TypeScript project that contains a hello-world.clar sample smart contract and a minimal Mocha test suite using the Clarity SDK.

Quick Start

Generate a project

npm init clarity-dev my-proj
cd my-proj

Replace my-proj with your app name. The app directory is created if it does not already exist.

Run tests:

npm test

Expected output:

  hello world contract test suite
    âś“ should have a valid syntax
    deploying an instance of the contract
      âś“ should return 'hello world'
      âś“ should echo number

  3 passing

Troubleshooting

Project Generator

The package is a thin wrapper around the yeoman based Clarity app generator package. Initializers for use with npm init require a package with the naming scheme create-<initializer>.

  • Alternate install commands

    Using the yo generator

    npm install -g yo generator-clarity-dev
    yo clarity-dev
    

    See generator-clarity-dev for more details.

    Using npx directly

    npx create-clarity-dev
    

clarity-native-bin

If seeing error messages related to the clarity-native-bin package then see its README for more details.

Keywords

clarity

FAQs

Package last updated on 16 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts