2.0.0 • Published 9 years ago

apeman-proto-proxy v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

apeman-proto-proxy

Build Status Code Climate Code Coverage npm Version

Prototype for project with proxy

Installation

$ npm install apeman-proto-proxy --save

Usage

/** This is an example Apemanfile.js */

'use strict'

module.exports = {
  $ctx: {
    // Rule for proxy
    proxyRule: {
      '^\/api\/': {
        target: 'http://localhost:3001'
      }
    }
  },
  $pkg: { /* ... */ },
  $proto: [
    // Inherit apeman-proto-proxy project.
    require('apeman-proto-proxy')
  ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ }
}

Apemanfile Configurations

$pkg

NameValue
nameapeman-proto-proxy
version2.0.0
descriptionPrototype for project with proxy

$proto

$apps

NameDescription
proxy:route{"/":[]}

$needs

BinHow to install
apemannpm install -g apeman

License

This software is released under the MIT License.

Links

2.0.0

9 years ago

1.0.0

9 years ago