vbt

[DEPRECATED]

please use vuejs-templates/webpack
Last updated 2 years ago by airt .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install vbt 
SYNC missed versions from official npm registry.

vbt

[DEPRECATED]

Build Status NPM Version

build scripts extracted from vuejs-templates/webpack

support

  • [x] unit tests with karma
  • [x] e2e tests with nightwatch
  • [x] hot reload
  • [x] typescript
  • [ ] custom configurations

installation

npm install vbt --save

usage

examples/simple

scripts

# serve with hot reload
vbt dev

# serve with specified port
PORT=9000 vbt dev

# run unit tests
vbt test unit

# run e2e tests
vbt test e2e

# run unit and e2e tests
vbt test

# build for production
vbt build

package.json

{
  "private": true,
  "dependencies": {
    "vue": "^2.0.0"
  },
  "devDependencies": {
    "typescript": "^2.0.0",
    "vbt": "^0.1.0"
  },
  "entry": {
    "app": "src/index.js"
  },
  "scripts": {
    "dev": "vbt dev",
    "test": "vbt test",
    "test:unit": "vbt test unit",
    "test:e2e": "vbt test e2e",
    "build": "vbt build"
  }
}

project structure

src                     → application sources
 └ index.js             → application entry
 └ index.html           → html template
test                    → application tests
 └ e2e                  → e2e tests
  └ specs               → e2e specs
 └ unit                 → unit tests
  └ specs               → unit specs
  └ index.js            → unit entry
config                  → project config files
 └ proxy.js             → dev server proxy config
static                  → static assets
dist                    → generated stuff

license

MIT

Current Tags

  • 0.1.7                                ...           latest (2 years ago)

4 Versions

  • 0.1.7 [deprecated]           ...           2 years ago
  • 0.1.5 [deprecated]           ...           2 years ago
  • 0.1.2 [deprecated]           ...           2 years ago
  • 0.1.0 [deprecated]           ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 9
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |