@epiloque/weaver

Build & Test convention

See: https://github.com/epiloque/weaver
Last updated 3 years ago by epiloque .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @epiloque/weaver 
SYNC missed versions from official npm registry.

NPM version

Mark’s Holistic JavaScript Conventions & Practices

Table of Contents

weaver-build

$ weaver-build --mode=[build|release] --browser --node --production

Javascript library builder for nodejs & browser.

  • build mode creates a commonjs and es6 bundle
  • release mode creates a umd bundle

weaver-test

$ weaver-test --browser --node --watch

Javascript library testing for nodejs & browser. weaver-test uses karma test runner under the hood.

  • 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 [--serve|--build] [--production]

Simplified webpack configuration for building vue applications. 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: Description goes here
vendor:
  - vue
  - vuex
  - vue-router

weaver-readme

$ weaver-readme README.md

Process README.md through remark

  • Generate a Table of Contents
  • Auto-link references like in GitHub issues, PRs, and comments
  • Fix common typography issues

weaver-changelog

$ weaver-changelog CHANGELOG.md

Generate a changelog from git metadata.

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

  • 5.0.0                                ...           latest (3 years ago)

18 Versions

  • 5.0.0 [deprecated]           ...           3 years ago
  • 4.0.6 [deprecated]           ...           3 years ago
  • 4.0.5 [deprecated]           ...           3 years ago
  • 4.0.4 [deprecated]           ...           3 years ago
  • 4.0.2 [deprecated]           ...           3 years ago
  • 4.0.1 [deprecated]           ...           3 years ago
  • 4.0.0 [deprecated]           ...           3 years ago
  • 3.5.2 [deprecated]           ...           3 years ago
  • 3.5.1 [deprecated]           ...           3 years ago
  • 3.5.0 [deprecated]           ...           3 years ago
  • 3.3.35 [deprecated]           ...           3 years ago
  • 3.3.34 [deprecated]           ...           3 years ago
  • 3.3.33 [deprecated]           ...           3 years ago
  • 3.3.32 [deprecated]           ...           3 years ago
  • 3.3.31 [deprecated]           ...           3 years ago
  • 3.3.3 [deprecated]           ...           3 years ago
  • 3.3.0 [deprecated]           ...           3 years ago
  • 3.2.92 [deprecated]           ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 18
This Month 19
Last Day 0
Last Week 1
Last Month 37
Dependencies (88)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |