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

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.0.0 to 1.0.1

2

package.json

@@ -1,1 +0,1 @@

{"name":"start-server-and-test","description":"Starts server, waits for URL, then runs test command; when the tests end, shuts down server","version":"1.0.0","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/bahmutov/start-server-and-test/issues","bin":{"start-server-and-test":"bin/start.js"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js bin/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["bin/*.js","src/*.js","!src/*-spec.js"],"homepage":"https://github.com/bahmutov/start-server-and-test#readme","keywords":["ci","parallel","server","start","test","utility","wait"],"license":"MIT","main":"src/","private":false,"publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/bahmutov/start-server-and-test.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js bin/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js' 'bin/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","unused-deps":"dependency-check --unused --no-dev .","semantic-release":"semantic-release pre && npm publish && semantic-release post","start":"node test/server.js","test2":"curl http://127.0.0.1:9000","demo":"node bin/start.js http://127.0.0.1:9000","demo2":"node bin/start.js start http://127.0.0.1:9000 test2"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.16.0","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","standard":"10.0.3"},"dependencies":{"check-more-types":"2.24.0","lazy-ass":"1.6.0","execa":"0.8.0","wait-on":"2.0.2","bluebird":"3.5.1","debug":"3.1.0"}}
{"name":"start-server-and-test","description":"Starts server, waits for URL, then runs test command; when the tests end, shuts down server","version":"1.0.1","author":"Gleb Bahmutov <gleb.bahmutov@gmail.com>","bugs":"https://github.com/bahmutov/start-server-and-test/issues","bin":{"start-server-and-test":"bin/start.js"},"config":{"pre-git":{"commit-msg":"simple","pre-commit":["npm prune","npm run deps","npm test","git add src/*.js bin/*.js","npm run ban"],"pre-push":["npm run unused-deps","npm run secure","npm run license","npm run ban -- --all","npm run size"],"post-commit":[],"post-merge":[]}},"engines":{"node":">=6"},"files":["bin/*.js","src/*.js","!src/*-spec.js"],"homepage":"https://github.com/bahmutov/start-server-and-test#readme","keywords":["ci","parallel","server","start","test","utility","wait"],"license":"MIT","main":"src/","private":false,"publishConfig":{"registry":"http://registry.npmjs.org/"},"repository":{"type":"git","url":"https://github.com/bahmutov/start-server-and-test.git"},"scripts":{"ban":"ban","deps":"deps-ok && dependency-check --no-dev .","issues":"git-issues","license":"license-checker --production --onlyunknown --csv","lint":"standard --verbose --fix src/*.js bin/*.js","prelint":"npm run pretty","pretest":"npm run lint","pretty":"prettier-standard 'src/*.js' 'bin/*.js'","secure":"nsp check","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha src/*-spec.js","unused-deps":"dependency-check --unused --no-dev .","semantic-release":"semantic-release pre && npm publish && semantic-release post","start":"node test/server.js","test2":"curl http://127.0.0.1:9000","demo":"node bin/start.js http://127.0.0.1:9000","demo2":"node bin/start.js start http://127.0.0.1:9000 test2"},"release":{"analyzeCommits":"simple-commit-message","generateNotes":"github-post-release","verifyRelease":{"path":"dont-crack","test-against":[]}},"devDependencies":{"ban-sensitive-files":"1.9.0","dependency-check":"2.9.1","deps-ok":"1.2.1","dont-crack":"1.2.1","git-issues":"1.3.1","github-post-release":"1.13.1","license-checker":"15.0.0","mocha":"4.0.1","nsp":"2.8.1","pre-git":"3.16.0","prettier-standard":"7.0.3","semantic-release":"8.2.0","simple-commit-message":"3.3.2","standard":"10.0.3"},"dependencies":{"check-more-types":"2.24.0","lazy-ass":"1.6.0","execa":"0.8.0","wait-on":"2.0.2","bluebird":"3.5.1","debug":"3.1.0"}}

@@ -13,3 +13,3 @@ 'use strict'

la(is.unemptyString(test), 'missing test script name', test)
la(is.url(url), 'missing url to wait on', url)
la(is.unemptyString(url), 'missing url to wait on', url)

@@ -16,0 +16,0 @@ debug('starting server')

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