New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

proxydevserver

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxydevserver

Proxy dev server written in node

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

Proxy dev server

The proxydevserver is highly inspired by KnisterPeters smaller-dev-server. It aims to proxy all requests, intersecting some to serve a fresh set of assets like images, JavaScript or Stylesheets.

Currently it supports the following middelwares:

  • LESS.js
  • Browserify

config.yml

devserver:
  # hostname of the proxy
  host: 'localhost'
  # port of the proxy
  port: 3000
  # support live reload
  livereload: true
  # serve static files
  staticDir: './static/'
  proxy:
    # host of the target server
    host: 'localhost'
    # port of the target server
    port: 8181
  middlewares:
    # configure less middleware
    less:
      # url to intersect
      src: '/app.css'
      # url to rewrite src
      dest: '/entry.css'
      # less middleware opeions
      options:
        src: './sourcestyles/'
        dest: './static'
        compress: false
        sourceMap: false
        paths:
          - './sourceincludes/'
    # configure browserify middleware
    browserify:
      # url to intersect
      src: '/app.js'
      # url to rewrite src
      dest: './static/entry.js'
      # browserify options
      options:
        sourceMap: true
        transforms:
          - coffeeify
        aliases:
          - "js/ext/jquery.js#jquery"
        paths:
          - './sourceincludes/'

Keywords

FAQs

Package last updated on 04 Feb 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc