Socket
Socket
Sign inDemoInstall

start-server-and-test

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

start-server-and-test - npm Package Compare versions

Comparing version 1.5.0 to 1.7.0

11

package.json
{
"name": "start-server-and-test",
"description": "Starts server, waits for URL, then runs test command; when the tests end, shuts down server",
"version": "1.5.0",
"version": "1.7.0",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",

@@ -79,4 +79,6 @@ "bugs": "https://github.com/bahmutov/start-server-and-test/issues",

"start-multiple": "node test/multiple-servers.js",
"start-https": "node test/https-server.js",
"test2": "curl http://127.0.0.1:9000",
"test3": "curl http://127.0.0.1:9000 && curl http://127.0.0.1:9001",
"test4": "curl --insecure https://127.0.0.1:9000",
"demo": "node bin/start.js http://127.0.0.1:9000",

@@ -90,2 +92,3 @@ "demo2": "node bin/start.js start http://127.0.0.1:9000 test2",

"demo8": "node bin/start.js start-multiple \":9000|:9001\" test3",
"demo9": "node bin/start.js start-https \"https://127.0.0.1:9000\" test4",
"travis-deploy-once": "travis-deploy-once"

@@ -95,3 +98,3 @@ },

"ban-sensitive-files": "1.9.2",
"dependency-check": "3.1.0",
"dependency-check": "3.2.0",
"deps-ok": "1.4.1",

@@ -105,6 +108,6 @@ "dont-crack": "1.2.1",

"prettier-standard": "8.0.1",
"semantic-release": "15.6.0",
"semantic-release": "15.8.1",
"simple-commit-message": "4.0.3",
"standard": "11.0.1",
"travis-deploy-once": "4.4.1"
"travis-deploy-once": "5.0.1"
},

@@ -111,0 +114,0 @@ "dependencies": {

@@ -129,2 +129,6 @@ # start-server-and-test

### Disable HTTPS certificate checks
To see disable HTTPS checks for `wait-on`, run with environment variable `START_SERVER_AND_TEST_INSECURE=1`.
### Small print

@@ -131,0 +135,0 @@

@@ -14,2 +14,4 @@ 'use strict'

const isInsecure = () => process.env.START_SERVER_AND_TEST_INSECURE
function startAndTest ({ start, url, test }) {

@@ -55,2 +57,3 @@ la(is.unemptyString(start), 'missing start script name', start)

verbose: isDebug(),
strictSSL: !isInsecure(),
log: isDebug()

@@ -57,0 +60,0 @@ },

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