generator-blockstack
A set of yeoman generators building Blockstack apps
Last updated 2 months ago by hstove .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install generator-blockstack 
SYNC missed versions from official npm registry.

Blockstack App Generator CircleCI NPM version Slack

Installation

  1. If not already installed, install Node.js v10 or higher (minimum required version is Node.js v8).

  2. Create a new directory and cd into it:

    mkdir hello-blockstack
    cd hello-blockstack
    
  3. Generate a Blockstack app, you can specify the framework.

    Framework Use this command to install
    Plain Javascript npx generator-blockstack --plain
    React npx generator-blockstack --react
    Vue npx generator-blockstack --vue

    For additional options run npx generator-blockstack --help.

    Alternatively, global package installation can be used. Try this if running into problems:

    npm install -g yo generator-blockstack
    yo blockstack
    
  4. Start the development server:

    npm run start
    

Testing the generated app

The single tests works for all generators:

npm run test

Testing the generator project

Within the repo directory, run npm run test. This command will generate the variants of Blockstack apps in folders called .app-gen-test, .webpack-gen-test, .react-gen-test, and .vue-gen-test. The test asserts that all expected files were actually created. It also runs the npm run test command within each app. For the React, Webpack, and Vue generators, npm run test currently builds the app, but that command can be changed. (For a React app, the typical test command is react-scripts test.)

License

MIT © Blockstack

Current Tags

  • 0.10.0                                ...           latest (2 months ago)

20 Versions

  • 0.10.0                                ...           2 months ago
  • 0.9.0                                ...           3 months ago
  • 0.8.0                                ...           10 months ago
  • 0.7.0                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.0                                ...           2 years ago
  • 0.4.0                                ...           3 years ago
  • 0.3.0                                ...           3 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.9                                ...           3 years ago
  • 0.1.8                                ...           3 years ago
  • 0.1.7                                ...           3 years ago
  • 0.1.6                                ...           3 years ago
  • 0.1.5                                ...           3 years ago
  • 0.1.4                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.2                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.1.0                                ...           3 years ago
  • 0.0.0                                ...           3 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |