UNPKG

@iobroker/create-adapter

Version:

Command line utility to create customized ioBroker adapters

106 lines (105 loc) 3.36 kB
{ "name": "@iobroker/create-adapter", "version": "3.1.5", "description": "Command line utility to create customized ioBroker adapters", "keywords": [], "main": "build/index.js", "types": "build/index.d.ts", "bin": { "create-adapter": "bin/create-adapter.js" }, "files": [ "/bin", "/build", "/adapter-creator.png" ], "author": { "name": "AlCalzone", "email": "d.griesel@gmx.net" }, "license": "MIT", "homepage": "https://github.com/ioBroker/create-adapter#readme", "repository": { "type": "git", "url": "git+https://github.com/ioBroker/create-adapter.git" }, "bugs": { "url": "https://github.com/ioBroker/create-adapter/issues" }, "engines": { "node": ">=20" }, "publishConfig": { "access": "public" }, "devDependencies": { "@alcalzone/release-script": "^5.0.0", "@iobroker/eslint-config": "^2.2.0", "@tsconfig/node20": "^20.1.8", "@types/chai": "^4.3.20", "@types/chai-as-promised": "^7.1.8", "@types/debug": "4.1.13", "@types/eslint": "^9.6.1", "@types/fs-extra": "^11.0.4", "@types/json5": "^2.2.0", "@types/mocha": "^10.0.10", "@types/node": "^20.19.21", "@types/proxyquire": "^1.3.31", "@types/semver": "^7.7.1", "@types/sinon": "^21.0.0", "@types/sinon-chai": "^3.2.12", "@types/yargs": "^17.0.35", "chai": "^4.5.0", "chai-as-promised": "^7.1.2", "copyfiles": "^2.4.1", "execa": "^9.6.1", "jsonschema": "^1.5.0", "mocha": "^11.7.5", "proxyquire": "^2.1.3", "rimraf": "^6.1.3", "sinon": "^21.0.1", "sinon-chai": "^3.7.0", "source-map-support": "^0.5.21", "tsx": "^4.21.0" }, "dependencies": { "@iobroker/adapter-dev": "^1.5.0", "@typescript-eslint/parser": "^8.59.1", "alcalzone-shared": "^4.0.8", "ansi-colors": "^4.1.3", "axios": "^1.13.5", "debug": "^4.4.3", "enquirer": "^2.4.1", "eslint": "^9.39.2", "fs-extra": "^11.3.2", "json5": "^2.2.3", "p-limit": "^7.2.0", "prettier": "^3.8.3", "semver": "^7.7.3", "typescript": "~5.9.3", "yargs": "^18.0.0" }, "scripts": { "linkTemplates": "node --require tsx/cjs maintenance/generateTemplateIndex.ts", "prebuild:cacheLicenses": "node --require tsx/cjs maintenance/cacheLicenses.ts", "prebuild:cleanBuildDir": "rimraf ./build", "prebuild": "npm run prebuild:cleanBuildDir && npm run linkTemplates && npm run prebuild:cacheLicenses", "build": "tsc -p tsconfig.build.json", "postbuild": "copyfiles \"templates/**/*.raw.*\" build", "watch": "tsc -p tsconfig.build.json --watch", "test:ts": "mocha src/**/*.test.ts", "test:baselines": "mocha test/create-adapter.test.ts", "test:templates": "bash .github/test_template_creation.sh", "test:migration": "bash .github/test_migration.sh", "pretest": "npm run linkTemplates", "test": "npm run test:ts && npm run test:baselines && npm run test:templates", "test:watch": "mocha src/**/*.test.ts --watch", "lint:ts": "eslint --no-warn-ignored */**/*.ts", "lint": "npm run lint:ts", "release": "release-script", "prepublishOnly": "npm run build", "format": "prettier --write \"src/**/*.ts\" \"templates/**/*.ts\"", "format:verify": "prettier --check \"src/**/*.ts\" \"templates/**/*.ts\"" }, "readme": "README.md" }