@temir/cli
TypeScript icon, indicating that this package has built-in type declarations

0.0.20 • Public • Published

temir-cli

CLI for Temir.

Install

$ npm install @temir/cli

usage

With Command

# Dev

temir [file]

# Build

## Option for build

# '-od, --outDir', 'Output Dir'
# '-m, --minify', 'Minify the output'
# '-a, --all', 'Build all the deps into bundles'

temir build [file]

With API

import { build, runDevServer } from '@temir/cli'

// Options for build
export interface BuildOptions {
  // Minify the output
  minify?: boolean
  // Build all the deps into bundles
  all?: boolean
  // Output dir
  outDir?: string
}

// Dev
runDevServer('file')

// Build
build('file', options)

Package Sidebar

Install

npm i @temir/cli

Weekly Downloads

6

Version

0.0.20

License

MIT

Unpacked Size

29.3 kB

Total Files

12

Last publish

Collaborators

  • webfansplz