@vaporweb/component
## Component Scripts
Last updated 5 months ago by jamal~ .
MIT · Original npm · Tarball · package.json
$ cnpm install @vaporweb/component 
SYNC missed versions from official npm registry.

@vaporweb/component

Component Scripts

component build

Builds the project for production. CLI options will be forwarded to Rollup.

Rollup CLI options

Build files are output at the main and module paths set in the project's package.json file.

component develop

Builds the project in development mode and watches for changes. CLI options will be forwarded to Rollup.

Rollup CLI options

component lint

Runs the linter.

CLI options will be forwarded to eslint or tslint. For example, component lint --fix.

ESLint CLI options

TSLint CLI options

component test

Starts the test runner. CLI options will be forwarded to Jest. For example, component test --watch.

Jest CLI options

You can override jest configuration options by adding them to the package.json file.

Component Config

You can modify the config by placing a .component.js file in the root of your project. The config defaults are given in the example below.

  module.exports = {
    babel: true,
    eslint: true,
    tsc: false,
    tslint: false,
    rollup(config, { env }) {
      // here you can add additional plugins, e.g.
      // if (env === 'production') {
      //   config.plugins.push(terser())
      // }
      return config
    }
  }

Current Tags

  • 1.0.2                                ...           latest (5 months ago)

44 Versions

  • 1.0.2                                ...           5 months ago
  • 1.0.1                                ...           7 months ago
  • 0.2.10-alpha.0                                ...           9 months ago
  • 0.2.9-alpha.0                                ...           9 months ago
  • 0.2.8-alpha.0                                ...           9 months ago
  • 0.2.7-alpha.0                                ...           9 months ago
  • 0.2.6-alpha.0                                ...           9 months ago
  • 0.2.5-alpha.0                                ...           9 months ago
  • 0.2.4-alpha.0                                ...           9 months ago
  • 0.2.3-alpha.0                                ...           9 months ago
  • 0.2.2-alpha.0                                ...           10 months ago
  • 0.2.1-alpha.0                                ...           10 months ago
  • 0.2.0-alpha.0                                ...           10 months ago
  • 0.1.10-alpha.0                                ...           10 months ago
  • 0.1.9-alpha.0                                ...           10 months ago
  • 0.1.8-alpha.0                                ...           10 months ago
  • 0.1.7-alpha.0                                ...           10 months ago
  • 0.1.6-alpha.0                                ...           10 months ago
  • 0.1.5-alpha.0                                ...           10 months ago
  • 0.1.4-alpha.0                                ...           10 months ago
  • 0.1.3-alpha.0                                ...           10 months ago
  • 0.1.2-alpha.0                                ...           10 months ago
  • 0.1.1-alpha.0                                ...           10 months ago
  • 0.1.0-alpha.0                                ...           10 months ago
  • 0.0.20-alpha.0                                ...           10 months ago
  • 0.0.19-alpha.0                                ...           10 months ago
  • 0.0.18-alpha.0                                ...           a year ago
  • 0.0.17-alpha.0                                ...           a year ago
  • 0.0.16-alpha.0                                ...           a year ago
  • 0.0.15-alpha.0                                ...           a year ago
  • 0.0.14-alpha.0                                ...           a year ago
  • 0.0.13-alpha.0                                ...           a year ago
  • 0.0.12-alpha.0                                ...           a year ago
  • 0.0.11-alpha.0                                ...           a year ago
  • 0.0.10-alpha.0                                ...           a year ago
  • 0.0.9-alpha.0                                ...           a year ago
  • 0.0.8-alpha.0                                ...           a year ago
  • 0.0.6-alpha.0                                ...           a year ago
  • 0.0.5-alpha.0                                ...           a year ago
  • 0.0.4-alpha.0                                ...           a year ago
  • 0.0.3-alpha.0                                ...           a year ago
  • 0.0.2-alpha.0                                ...           a year ago
  • 0.0.1-alpha.0                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 5
Last Day 0
Last Week 3
Last Month 46
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |