Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-dois

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-dois

Detect Digital Object Identifiers listed in the metadata of a DOM tree

  • 1.0.0-master-466ec3b6ede17eb1d8424c94fc8210b6e837311a
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
1
Weekly downloads
 
Created
Source

WDIO Webpack Dev Server Service

This service starts Webpack Dev Server for you to run WebdriverIO against.

Installation

npm install wdio-webpack-dev-server-service --save-dev

Configuration

This assumes you have:

Note: If you need support for Webpack 2 or 3, use wdio-webpack-dev-server-service@1.2.0. If you need support for webpack-serve, use wdio-webpack-dev-server-service@2.2.0.

Add the Webpack Dev Server service to your WebdriverIO services list:

// wdio.conf.js
export.config = {
  // ...
  services: ['webpack-dev-server'],
  // ...
};

Options are set directly on your WebdriverIO config as well, e.g.

// wdio.conf.js
export.config = {
  // ...
  webpackConfig: require('webpack.dev.config.js'),
  webpackPort: 8080,
  // ...
};

Options

webpackConfig

Type: String | Function | Object

Default: webpack.config.js

Either the absolute path to your Webpack configuration, or (a function generating) your actual Webpack configuration.

webpackPort

Type: Number

Default: 8080

The port the Dev Server should be run on. You'll want to set this same port in the baseUrl option of your WebdriverIO configuration.

Keywords

FAQs

Package last updated on 15 Nov 2018

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