node-tdd
Version:
Drop in extension for mocha to abstract commonly used test setups
92 lines (91 loc) • 2.64 kB
JSON
{
"name": "node-tdd",
"type": "module",
"version": "6.2.3",
"description": "Drop in extension for mocha to abstract commonly used test setups",
"main": "lib/index.js",
"scripts": {
"test": "yarn run clean && yarn run gardener && yarn run test-simple",
"clean": "rm -rf lib",
"build": "cp -rf ./src ./lib",
"build-clean": "yarn run clean && yarn run build",
"test-simple": "c8 mocha --import=./test/reg.js \"./test/**/*.spec.js\"",
"docker": "docker run --net host -u`id -u`:`id -g` -v $(pwd):/user/project -v ~/.aws:/user/.aws -v ~/.npmrc:/user/.npmrc -w /user/project -it --entrypoint /bin/bash",
"t": "yarn test",
"ts": "yarn run test-simple",
"tsv": "yarn run test-simple --verbose",
"semantic-release": "yarn run build-clean && yarn exec semantic-release",
"gardener": "node gardener.js",
"u": "yarn upgrade --latest --force",
"i": "yarn install --frozen-lockfile",
"it": "yarn run i && yarn run t"
},
"repository": {
"type": "git",
"url": "https://github.com/blackflux/node-tdd.git"
},
"keywords": [
"testing",
"test",
"framwork",
"abstraction",
"tdd",
"test framework",
"mocha",
"drop-in"
],
"author": "Lukas Siemon",
"license": "MIT",
"bugs": {
"url": "https://github.com/blackflux/node-tdd/issues"
},
"homepage": "https://github.com/blackflux/node-tdd#readme",
"devDependencies": {
"@aws-sdk/client-sqs": "3.821.0",
"@babel/core": "7.27.4",
"@babel/eslint-parser": "7.27.1",
"@babel/register": "7.27.1",
"@blackflux/axios": "3.0.2",
"@blackflux/eslint-plugin-rules": "4.0.1",
"@blackflux/robo-config-plugin": "10.0.6",
"aws-sdk-wrap": "14.0.1",
"c8": "10.1.3",
"chai": "5.2.0",
"eslint": "9.28.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-json": "4.0.1",
"eslint-plugin-markdown": "5.1.0",
"eslint-plugin-mocha": "10.5.0",
"fancy-log": "2.0.0",
"js-gardener": "6.0.4",
"lambda-monitor-logger": "6.0.1"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/blackflux/node-tdd/blob/master/LICENSE"
}
],
"engines": {
"node": ">= 20"
},
"files": [
"lib"
],
"dependencies": {
"callsites": "4.2.0",
"joi-strict": "4.0.1",
"lodash.clonedeep": "4.5.0",
"lodash.get": "4.4.2",
"lru-cache-ext": "5.0.1",
"minimist": "1.2.8",
"nock": "13.5.6",
"normalize-url": "8.1.0",
"object-scan": "20.0.1",
"smart-fs": "5.0.2",
"timekeeper": "2.3.1",
"tmp": "0.2.3",
"xml2js": "0.6.2"
}
}