1.0.0 • Published 11 months ago

create-babylon-app v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

Build Release NPM Version NPM Downloads Babylon Version

About

A CLI for scaffolding Babylon.js Web App šŸ› 
create-babylon-app provides some Vite based Node.js project. For example, template of simple-ts has file structure like below.

/
ā”œā”€ dist/
ā”œā”€ src/
│    ā”œā”€ main.ts
│    └─ style.css
ā”œā”€ index.html
ā”œā”€ package.json
└─ tsconfig.json

Recommended Environment

  • Node.js 18/20
  • npm 10.x
  • pnpm 9.x
  • Babylon.js 7

npm and pnpm are recommended!

Usage

You can use create-babylon-app by typing following command in the terminal.

npm create babylon-app

Some command line args are supported.

argsaliasdescriptiontype
--name-nproject name you want to createstring
--template-ttemplate name (see template section)string
--install-iinstall dependencies after copying templateboolean

You can use them like below.

npm create babylon-app --name babylon-app --template simple-ts -i

Templates

This app provides following templates.

template name(for -t option)languagedescription
simple-jsJavaScriptMost simple JavaScript template
simple-tsTypeScriptMost simple TypeScript template
playground-jsJavaScriptPlayground based project
playground-tsTypeScriptPlayground based project
libraryTypeScriptTemplate for developing Babylon.js library

For Development

pnpm i

# run command without build
pnpm dev

# build
pnpm build

# run built app
pnpm start

Release Flow

  • (in local) create release/vx.x.x branch and push
  • (in local) pnpm version:set
  • (Pull Req) Create PR and merge it

    • then, automatically published to npm

Author

@drumath2237

1.0.0

11 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.2.2

12 months ago

0.1.7

1 year ago

0.1.6

1 year ago

0.1.4

2 years ago

0.1.5

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago