nva-task
TypeScript icon, indicating that this package has built-in type declarations

1.0.63 • Public • Published

nva-task

NPM

tasks for nva cli,make frontend develop more efficiency

Install

npm install nva-task --save

Usage

var tasks = require('nva-tasks')
tasks.frontend.build()
task.isomorphic.build()

API

frontend

- developServer: start develop server with browser-sync and hot module replacement(HMR) if using react stuff
- build: compile source code,inject to htmls
- vendor: compile third-party libraries
- addModule: create project module(s)
- removeModule: delete project module(s)

isomorphic

- developServer: start develop server for nodeJS app with browser-sync
- build: compile source code,inject to nodeJS app's templates
- vendor: compile third-party libraries
- addModule: create project module(s)
- removeModule: delete project module(s)

Todo

  • fix some unknow bugs

License

MIT License

/nva-task/

    Package Sidebar

    Install

    npm i nva-task

    Weekly Downloads

    18

    Version

    1.0.63

    License

    MIT

    Unpacked Size

    68.8 kB

    Total Files

    25

    Last publish

    Collaborators

    • alichen