craftbox

0.1.3 • Public • Published

craftbox

JavaScript/TypeScript project prototype

Install

npm i -g craftbox

Usage

craftbox -h

Output:

Usage: craftbox [options] <dir>
 
create a project
 
Options:
  -V, --version        output the version number
  -w, --wrokdir <dir>  change work directory
  -v, --verbose        enable verbose output
  -h, --help           output usage information

e.g.

craftbox myapp

Configs Included:

For Both projects:

  • .editorconfig
  • .gitattributes
  • .gitignore
  • .prettierrc
  • .prettierignore
  • .vscode/
  • package.json
  • src/
  • tests/

For JavaScript projects:

  • .eslintrc.json
  • .eslintignore

For TypeScript projects:

  • tslint.json
  • tsconfig.json
  • tsconfig.prod.json
  • lib/

Commands Included:

  • dev
  • watch
  • test
  • format
  • lint
  • build(TypeScript only)
  • start

License

See License

Package Sidebar

Install

npm i craftbox

Weekly Downloads

1

Version

0.1.3

License

MIT

Unpacked Size

22.8 kB

Total Files

28

Last publish

Collaborators

  • seancheung