{"bin":{"start-test":"src/bin/start.js","server-test":"src/bin/start.js","start-server-and-test":"src/bin/start.js"},"bugs":{"url":"https://github.com/bahmutov/start-server-and-test/issues"},"dist":{"shasum":"56bdc32e47ac15de0f41622faef7fde51b1c5466","tarball":"https://registry.npmjs.org/start-server-and-test/-/start-server-and-test-3.0.0.tgz","fileCount":6,"integrity":"sha512-R//IdnWC+H+raB6zJIqw5QbIsMAjjYFwJC/OIJO6kgZljguYe4n4LlA7vkPTO7zoctFlVPfymsNShjcPOIH8nw==","signatures":[{"sig":"MEUCIQDeoKOcQzKDDPks/UtyqsLgeJNuwHURvyOksJ/XZXljWwIgKAB358IIcv5DAe59a89derqLovHyU00jroW9MBCUNc4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/start-server-and-test@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":32714},"main":"src/","name":"start-server-and-test","author":{"name":"Gleb Bahmutov","email":"gleb.bahmutov@gmail.com"},"engines":{"node":"^22 || >=24"},"gitHead":"a9579dc04721d2a578293e4be216f6cd5ef96323","license":"MIT","private":false,"scripts":{"demo":"node src/bin/start.js http://127.0.0.1:9000 message","lint":"prettier --write src/**/*.js","size":"t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";","test":"npm run unit","unit":"mocha test/helper src/*-spec.js","demo2":"node src/bin/start.js start http://127.0.0.1:9000 test2","demo3":"node src/bin/start.js start-with-child http://127.0.0.1:9000 test","demo4":"node src/bin/start.js 9000","demo5":"node src/bin/start.js start-with-child 9000","demo6":"node src/bin/start.js :9000","demo7":"node src/bin/start.js :9000 test2","demo8":"node src/bin/start.js start-multiple \":9000|:9001\" test3","demo9":"node src/bin/start.js start-https \"https://127.0.0.1:9000\" test4","start":"node test/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","demo10":"node src/bin/start.js start-fail http://127.0.0.1:9000 test","demo11":"node src/bin/start.js http-get://127.0.0.1:9000","demo12":"node src/bin/start.js start-304 9000 test2","pretty":"prettier --write src/**/*.js","message":"echo Hi there 👋","prelint":"npm run pretty","prepare":"husky","pretest":"npm run lint","demo-ip6":"WAIT_ON_TIMEOUT=10000 DEBUG=start-server-and-test node src/bin/start.js 'node test/ip6.mjs' localhost:8000 'echo server with ::1 working'","message2":"echo Hi there 2 👋","demo-zero":"WAIT_ON_TIMEOUT=10000 node src/bin/start.js 'node test/zero.mjs' 8000 'echo server with 0.0.0.0 working'","start-304":"node test/server-304.js","start-403":"node test/server-403.js","start-fail":"node test/server-fail.js","start-https":"node test/https-server.js","demo-timeout":"WAIT_ON_TIMEOUT=10000 node src/bin/start.js start http://127.0.0.1:9000 test2","demo-commands":"node src/bin/start.js 'node test/server.js --port 8800' 8800 'node test/client --port 8800'","demo-interval":"WAIT_ON_INTERVAL=1000 node src/bin/start.js start http://127.0.0.1:9000 test2","demo-multiple":"node src/bin/start.js 'node test/server --port 6000' 6000 'node test/server --port 6010' 6010 'curl http://127.0.0.1:6000 && curl http://127.0.0.1:6010'","demo-zero-127":"WAIT_ON_TIMEOUT=10000 node src/bin/start.js 'node test/zero.mjs' http://127.0.0.1:8000 'echo server with 0.0.0.0 working'","demo-cross-env":"node src/bin/start.js start-cross-env 9000","start-multiple":"node test/multiple-servers.js","demo-expect-403":"node src/bin/start.js --expect 403 start-403 9000 'echo Waited'","start-cross-env":"cross-env FOO=bar node test/server.js","demo-json-server":"WAIT_ON_TIMEOUT=10000 DEBUG=start-server-and-test node src/bin/start.js 'json-server test/data.json' localhost:3000 'echo json-server working'","semantic-release":"semantic-release","start-with-child":"node test/server-as-child.js","demo-zero-explicit":"node src/bin/start.js 'node test/zero.mjs' http://0.0.0.0:8000 'echo server with 0.0.0.0 working'","demo-multiple:windows":"node src/bin/start.js \"node test/server --port 6000\" 6000 \"node test/server --port 6010\" 6010 \"curl http://127.0.0.1:6000 && curl http://127.0.0.1:6010\"","demo-multiple-test-commands":"node src/bin/start.js 9000 'npm run message && npm run message2'"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:fb3df6ee-7b32-4ce3-9a5a-675d57334b49"}},"homepage":"https://github.com/bahmutov/start-server-and-test#readme","keywords":["ci","parallel","server","start","test","utility","wait"],"repository":{"url":"git+https://github.com/bahmutov/start-server-and-test.git","type":"git"},"_npmVersion":"11.9.0","description":"Starts server, waits for URL, then runs test command; when the tests end, shuts down server","directories":{},"maintainers":[{"name":"bahmutov","email":"gleb.bahmutov@gmail.com"}],"_nodeVersion":"24.14.0","dependencies":{"arg":"^5.0.2","debug":"4.4.3","execa":"5.1.1","wait-on":"9.0.4","bluebird":"3.7.2","lazy-ass":"1.6.0","tree-kill":"1.2.2","check-more-types":"2.24.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"got":"9.6.0","chai":"4.5.0","husky":"9.1.7","mocha":"7.2.0","sinon":"9.2.4","minimist":"1.2.8","prettier":"^3.8.1","cross-env":"7.0.3","sinon-chai":"3.7.0","@types/node":"^25.5.0","json-server":"^0.17.4","snap-shot-it":"7.9.10"},"_npmOperationalInternal":{"tmp":"tmp/start-server-and-test_3.0.0_1774460760909_0.24871314373805187","host":"s3://npm-registry-packages-npm-production"},"_id":"start-server-and-test@3.0.0","version":"3.0.0"}