4.4.5 โ€ข Published 2 years ago

@unboxed-software/make-magic-staging v4.4.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

๐Ÿช„ make-magic

A tool for quickly scaffolding an app with Magic baked-in!

๐Ÿš€ Usage

Getting started with the interactive scaffolding tool is easy. Just run the following command in your preferred shell:

npx make-magic

Follow the interactive prompts to customize your project. Done! โœจ

Programmatic API

make-magic also supports a programmatic API, so you can generate boilerplate codes with Magic built-in from your own NodeJS scripts.

import makeMagic from 'make-magic';

await makeMagic({
  template: 'hello-world', // Same as --template, -t
  projectName: 'my-app',   // Same as --project-name, -p
  branch: 'master',        // Same as --branch, -b

  // The same, arbitrary data you can pass to a template via CLI flags.
  data: {
    publishableApiKey: 'pk_live_...',
    npmClient: 'yarn',
  }
})

See npx make-magic --help for information about the available options. In general, most CLI flags map to camel-cased properties in the configuration given to makeMagic({ ... }).

For more information, you can print help text including template-specific options using npx make-magic --help --template [i.e.: hello-world]

4.4.5

2 years ago

3.6.9

2 years ago

3.6.8

2 years ago

3.6.7

2 years ago

3.6.6

2 years ago

3.6.5

2 years ago

3.6.4

2 years ago

3.6.3

2 years ago

3.6.2

2 years ago

3.6.1

2 years ago

3.6.0

2 years ago

4.0.1

2 years ago

4.1.0

2 years ago

3.5.0

2 years ago

3.4.0

2 years ago

3.3.10

2 years ago

3.3.9

2 years ago

3.3.8

2 years ago

3.3.7

2 years ago

3.3.6

2 years ago

3.3.5

2 years ago

3.3.4

2 years ago

3.3.3

2 years ago

3.3.2

2 years ago

3.3.1

2 years ago

3.3.0

2 years ago

3.2.9

2 years ago

3.2.8

2 years ago

3.2.7

2 years ago

3.2.6

2 years ago

3.2.5

2 years ago

3.2.4

2 years ago

3.2.3

2 years ago

3.2.1

2 years ago

3.2.2

2 years ago