create-clarity-dev v0.1.14-alpha.1
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-projReplace my-proj with your app name. The app directory is created if it does not already exist.
Run tests:
npm testExpected 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 passingTroubleshooting
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
yogeneratornpm install -g yo generator-clarity-dev yo clarity-devSee generator-clarity-dev for more details.
Using
npxdirectlynpx create-clarity-dev
clarity-native-bin
If seeing error messages related to the clarity-native-bin package then see its README for more details.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago