@epiloque/weaver-build
JavaScript library builder
Last updated 2 years ago by epiloque .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @epiloque/weaver-build 
SYNC missed versions from official npm registry.

weaver

Build Status License


Table of Contents

Installing Weaver

Installing Weaver requires Node.js v6+, and either Yarn or npm.

Yarn Installation

Run the following command inside your project directory. Substitute PACKAGE with the name of the package you wish to install.

yarn add --dev @epiloque/PACKAGE

For example, if you wanted to build your project using weaver-build:

yarn add --dev @epiloque/weaver-build

npm Installation

Run the following command inside your project directory. Substitute PACKAGE with the name of the package you wish to install.

npm install --save-dev @epiloque/PACKAGE

For example, if you wanted to build your project using weaver-build:

npm install --save-dev @epiloque/weaver-build

Packages

weaver-build

weaver-build version

JavaScript library builder for Node.js & browser.

weaver-build --mode=[build|release] --browser --node --production
  • build mode creates a commonjs and es6 bundles
  • release mode creates a umd bundle

weaver-test

weaver-test version

JavaScript library testing for Node.js & browser. weaver-test invokes a set of tests included in your project.

weaver-test [--browser|--node] [--watch|--production]
  • Runs browser tests in test/*.spec.js & test/browser/*.spec.js
  • Runs nodejs tests in test/*.spec.js & test/node/*.spec.js
  • Given SAUCE_USERNAME & SAUCE_ACCESS_KEY environment variables will run the unit tests on Sauce Labs' browser cloud
  • By default runs the unit tests in Firefox and Xvfb virtual framebuffer

weaver-pack

weaver-pack version

Simplified webpack configuration for building Vue.js applications. weaver-pack is a command-line tool that wraps Webpack in order to support building Vue.js applications based on shared configuration presets. You can use weaver-pack within your project, preferably using scripts defined in your project’s package.json.

weaver-pack [--serve|--build] --production

Project layout

.
├── lib // Webpack compilation output
│   ├── node
│   └── web
└── src
    ├── components // Vue.js components
    ├── fonts
    ├── icons
    ├── images
    ├── store // vuex store
    ├── styles // sass stylesheets
    ├── index.js // Vue.js application
    ├── index-node.js // Node.js entry
    ├── index-web.js // web entry
    └── router.js  // Vue.js router configuration

Configuration

weaver-pack uses .weaver.yml file in the root of your repository to learn about your project and how you want your builds to be executed.

title: Untitled
lang: en
browserlist:
  - last 2 versions
  - safari >= 7
meta:
  - property: 'description'
    content: 'lorem ipsum dolor sit amet'
entries:
  - name: index
    modules:
      - 'index-{{ target }}.js'
  - name: vendor
    modules:
      - vue
      - vuex
      - vue-router

weaver-readme

weaver-readme version

Process README.md through remark

$ weaver-readme README.md
  • Generate a Table of Contents
  • Auto-link references like in GitHub issues, PRs, and comments
  • Fix common typography issues

weaver-changelog

weaver-changelog version

Generate a changelog from git metadata

$ weaver-changelog CHANGELOG.md

Commit Message Conventions

<type>: <subject>

Each commit message type should be one of

  • new/feat/add for new features
  • change/breaking for changes in existing functionality
  • deprecate for features removed in upcoming releases
  • remove for deprecated features removed in this release.
  • fix for any bug fixes.
  • sec/security to invite users to upgrade in case of vulnerabilities
  • performance/perf for performance changes in existing functionality
  • test/tests for unit and end-to-end tests

License

weaver is released under the terms of the BSD-3-Clause license.

Current Tags

  • 6.2.1-canary.b3cea1b                                ...           canary (2 years ago)
  • 6.2.0                                ...           latest (2 years ago)
  • 6.0.7                                ...           v . . changes (2 years ago)

30 Versions

  • 6.2.1-canary.b3cea1b                                ...           2 years ago
  • 6.2.0                                ...           2 years ago
  • 6.2.0-canary.fbe41c7                                ...           2 years ago
  • 6.1.8-canary.d865e9a                                ...           2 years ago
  • 6.1.8-canary.61342d7                                ...           2 years ago
  • 6.1.8-canary.36dbc8f                                ...           2 years ago
  • 6.1.8-canary.adf7f89                                ...           2 years ago
  • 6.1.7-canary.2d3b7ca                                ...           2 years ago
  • 6.1.7                                ...           2 years ago
  • 6.1.6-canary.9a28ae2                                ...           2 years ago
  • 6.1.0-canary.ceb5c14                                ...           2 years ago
  • 6.1.0-canary.4720415                                ...           2 years ago
  • 6.1.0-canary.da20b50                                ...           2 years ago
  • 6.1.1                                ...           2 years ago
  • 6.1.0-canary.ec59656                                ...           2 years ago
  • 6.1.0-canary.f791fcb                                ...           2 years ago
  • 6.1.0                                ...           2 years ago
  • 6.1.0-canary.4d05d5f                                ...           2 years ago
  • 6.1.0-canary.6baca1b                                ...           2 years ago
  • 6.0.5-canary.9f6c582                                ...           2 years ago
  • 6.0.6                                ...           2 years ago
  • 6.0.7                                ...           2 years ago
  • 6.0.0                                ...           2 years ago
  • 5.6.0                                ...           2 years ago
  • 5.5.0                                ...           3 years ago
  • 5.4.0                                ...           3 years ago
  • 5.3.1                                ...           3 years ago
  • 5.3.0                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 1
Dependencies (33)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |