54 lines
1.8 KiB
JSON
54 lines
1.8 KiB
JSON
|
|
{
|
||
|
|
"name": "wait-port",
|
||
|
|
"version": "1.1.0",
|
||
|
|
"description": "Utility to wait for a TCP port to open.",
|
||
|
|
"main": "./lib/wait-port.js",
|
||
|
|
"bin": {
|
||
|
|
"wait-port": "./bin/wait-port.js"
|
||
|
|
},
|
||
|
|
"engines": {
|
||
|
|
"node": ">=10"
|
||
|
|
},
|
||
|
|
"man": "./man/wait-port.1",
|
||
|
|
"files": [
|
||
|
|
"bin",
|
||
|
|
"man",
|
||
|
|
"lib",
|
||
|
|
"index.d.ts"
|
||
|
|
],
|
||
|
|
"scripts": {
|
||
|
|
"lint": "eslint .",
|
||
|
|
"test": "DEBUG=wait-port nyc --report-dir 'artifacts/coverage' -x 'lib/**/*.spec.js' --reporter=html --reporter=text mocha --recursive -t 10000 'lib/**/*.spec.js'",
|
||
|
|
"test:ci": "DEBUG=wait-port nyc --report-dir 'artifacts/coverage' -x 'lib/**/*.spec.js' --reporter=html --reporter=text mocha --recursive -t 10000 'lib/**/*.spec.js' --reporter mocha-junit-reporter --reporter-options mochaFile=./artifacts/test-reports/test-results.xml",
|
||
|
|
"test:debug": "DEBUG=wait-port mocha --inspect --inspect-brk -t 10000 'lib/**/*.spec.js'",
|
||
|
|
"test:watch": "DEBUG=wait-port mocha --watch --recursive -t 10000 'lib/**/*.spec.js'",
|
||
|
|
"report-coverage": "nyc report --reporter=text-lcov > ./artifacts/coverage/coverage.lcov && codecov",
|
||
|
|
"debug": "DEBUG=wait-port mocha --recursive --inspect --debug-brk 'lib/**/*.spec.js'"
|
||
|
|
},
|
||
|
|
"repository": {
|
||
|
|
"type": "git",
|
||
|
|
"url": "git+https://github.com/dwmkerr/wait-port.git"
|
||
|
|
},
|
||
|
|
"author": "Dave Kerr",
|
||
|
|
"license": "MIT",
|
||
|
|
"bugs": {
|
||
|
|
"url": "https://github.com/dwmkerr/wait-port/issues"
|
||
|
|
},
|
||
|
|
"homepage": "https://github.com/dwmkerr/wait-port#readme",
|
||
|
|
"devDependencies": {
|
||
|
|
"codecov": "^3.8.2",
|
||
|
|
"eslint": "^8.19.0",
|
||
|
|
"eslint-plugin-import": "^2.26.0",
|
||
|
|
"eslint-plugin-node": "^11.1.0",
|
||
|
|
"mocha": "^10.0.0",
|
||
|
|
"mocha-junit-reporter": "^2.0.2",
|
||
|
|
"nyc": "^15.1.0",
|
||
|
|
"sinon": "^14.0.0"
|
||
|
|
},
|
||
|
|
"dependencies": {
|
||
|
|
"chalk": "^4.1.2",
|
||
|
|
"commander": "^9.3.0",
|
||
|
|
"debug": "^4.3.4"
|
||
|
|
}
|
||
|
|
}
|