@nuofe/ndk-build-tool
Version:
Build tool for Nuo FE.
50 lines (32 loc) • 939 B
Markdown
# Nuo FE Build Tool
[![NPM version][npm-image]][npm-url]
[![Downloads][downloads-image]][downloads-url]
[npm-image]: https://img.shields.io/npm/v/@nuofe/ndk-build-tool.svg?style=flat-square
[npm-url]: https://www.npmjs.com/package/@nuofe/ndk-build-tool
[downloads-image]: https://img.shields.io/npm/dm/@nuofe/ndk-build-tool.svg?style=flat-square
[downloads-url]: https://www.npmjs.com/package/@nuofe/ndk-build-tool
Build tool for Nuo FE.
## Install
```bash
npm i @nuofe/ndk-build-tool -g
```
## Usage
Command must run in root of app or web package.
First init build config for package.
```bash
ndk-init
```
Second start build or develop.
```bash
ndk-build
```
or
```bash
ndk-dev
```
Use `--next` argument upgrade project devDependencies to latest version include next tag.
Other arguments can be transmit to `ndk-builder build` or `ndk-builder dev` arguments.
After build, start loacl static server.
```bash
ndk-start
```