@iobroker/testing
Version:
Shared utilities for adapter and module testing in ioBroker
72 lines (71 loc) • 2.01 kB
JSON
{
"name": "@iobroker/testing",
"version": "5.0.4",
"description": "Shared utilities for adapter and module testing in ioBroker",
"main": "build/index.js",
"types": "build/index.d.ts",
"files": [
"build/"
],
"scripts": {
"test": "mocha src/**/*.test.ts",
"test:watch": "mocha src/**/*.test.ts --watch",
"prebuild": "rimraf ./build",
"build": "tsc -p tsconfig.build.json",
"prewatch": "rimraf ./build",
"watch": "tsc -p tsconfig.build.json --watch",
"check": "npm run build -- --noEmit",
"lint:ts": "eslint -c eslint.config.mjs",
"lint": "npm run lint:ts",
"release": "release-script",
"update-packages": "npx -y npm-check-updates --upgrade"
},
"repository": {
"type": "git",
"url": "git+https://github.com/AlCalzone/testing.git"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"iobroker",
"component-tests",
"testing"
],
"author": "AlCalzone",
"license": "MIT",
"bugs": {
"url": "https://github.com/AlCalzone/testing/issues"
},
"homepage": "https://github.com/AlCalzone/testing#readme",
"devDependencies": {
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@iobroker/adapter-core": "^3.2.3",
"@iobroker/eslint-config": "^2.0.1",
"@iobroker/types": "^7.0.6",
"@tsconfig/node16": "^16.1.3",
"@types/chai": "^4.3.20",
"@types/chai-as-promised": "^8.0.1",
"@types/debug": "4.1.12",
"@types/fs-extra": "^11.0.4",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.13",
"@types/sinon": "^17.0.4",
"@types/sinon-chai": "^3.2.12",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "~5.8.2"
},
"dependencies": {
"alcalzone-shared": "~5.0.0",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"debug": "^4.4.0",
"fs-extra": "^11.3.0",
"mocha": "^11.1.0",
"sinon": "^19.0.4",
"sinon-chai": "^3.7.0"
}
}