0.0.9-alpha.0 • Published 1 year ago

@arthswap/swanky-templates v0.0.9-alpha.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Swanky templates

Templates used to generate Swanky projects as well as new ink! and ask! language contracts. Templates are parsed using Handlebars templating engine, and are passed the following object:

{
  project_name: string;
  author_name: string;
  author_email: string | undefined;
  swanky_version: string;
  contract_name: string;
  contract_name_snake: string;
  contract_name_pascal: string;
  contract_language: "ask" | "ink";
}

Project templates

General config templates used by every generated project:

  • config.json.hbs: config used by typechain
  • package.json.hbs
  • tsconfig.json
  • gitignore

Contract templates

Contract-specific templates are grouped by language:

  • ask
  • ink

Each contract directory must contain contract and test subdirectories.

All the files contained within will be copied, respecting the directory structure, and the .hbs files will be processed by the templating engine.

0.0.9-alpha.0

1 year ago

0.0.6-alpha.0

1 year ago

0.0.4-alpha.0

1 year ago

0.0.2-alpha.0

1 year ago

0.0.1

1 year ago