0.3.15 • Published 3 years ago

generator-clarity-dev v0.3.15

Weekly downloads
42
License
MIT
Repository
github
Last release
3 years ago

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.

0.3.15

3 years ago

0.3.14

3 years ago

0.3.13

3 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.0

3 years ago

0.2.0

4 years ago

0.1.16

4 years ago

0.1.14-alpha.3

4 years ago

0.1.14-alpha.2

4 years ago

0.1.14-alpha.1

4 years ago

0.1.14-alpha.0

4 years ago

0.1.13

4 years ago

0.1.13-alpha.6

4 years ago

0.1.13-alpha.5

4 years ago

0.1.13-alpha.3

5 years ago

0.1.13-alpha.2

5 years ago

0.1.13-alpha.1

5 years ago

0.1.13-alpha.0

5 years ago

0.1.12-alpha.0

5 years ago

0.1.11-alpha.0

5 years ago

0.1.10-alpha.0

5 years ago

0.1.9-alpha.0

5 years ago

0.1.8-alpha.0

5 years ago

0.1.7-alpha.0

5 years ago

0.1.6-alpha.0

5 years ago

0.1.5-alpha.0

5 years ago

0.1.4-alpha.0

5 years ago