generator-clarity-dev
Yeoman generator to setup a Clarity development environment
Last updated 2 months ago by zone117x .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install generator-clarity-dev 
SYNC missed versions from official npm registry.

generator-clarity-dev

A Clarity development environment Yeoman generator.

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

Visit create-clarity-starter for usage as an npm init initializer without global yo installation requirements.

Quick Start

Create project directory:

mkdir hello-clarity
cd hello-clarity

Run project generator:

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

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

Ensure all checks pass when running npx yo doctor.

Yeoman Doctor - Running sanity checks on your system
✔ Global configuration file is valid
✔ NODE_PATH matches the npm root
✔ Node.js version
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ npm version
✔ yo version

clarity-native-bin

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

Current Tags

  • 0.1.16                                ...           latest (2 months ago)

21 Versions

  • 0.1.16                                ...           2 months ago
  • 0.1.14-alpha.3                                ...           3 months ago
  • 0.1.14-alpha.2                                ...           3 months ago
  • 0.1.14-alpha.1                                ...           3 months ago
  • 0.1.14-alpha.0                                ...           3 months ago
  • 0.1.13                                ...           3 months ago
  • 0.1.13-alpha.6                                ...           3 months ago
  • 0.1.13-alpha.5                                ...           3 months ago
  • 0.1.13-alpha.3                                ...           10 months ago
  • 0.1.13-alpha.2                                ...           10 months ago
  • 0.1.13-alpha.1                                ...           10 months ago
  • 0.1.13-alpha.0                                ...           10 months ago
  • 0.1.12-alpha.0                                ...           10 months ago
  • 0.1.11-alpha.0                                ...           10 months ago
  • 0.1.10-alpha.0                                ...           a year ago
  • 0.1.9-alpha.0                                ...           a year ago
  • 0.1.8-alpha.0                                ...           a year ago
  • 0.1.7-alpha.0                                ...           a year ago
  • 0.1.6-alpha.0                                ...           a year ago
  • 0.1.5-alpha.0                                ...           a year ago
  • 0.1.4-alpha.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (20)

Copyright 2014 - 2016 © taobao.org |