@iobroker/create-adapter
Version:
Command line utility to create customized ioBroker adapters
129 lines (128 loc) • 3.78 kB
JSON
{
"name": "@iobroker/create-adapter",
"version": "1.21.0",
"description": "Command line utility to create customized ioBroker adapters",
"keywords": [],
"main": "build/index.js",
"types": "build/index.d.ts",
"bin": "./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": ">=8.0.0"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@alcalzone/release-script": "^1.1.1",
"@fimbul/mithotyn": "^0.21.0",
"@fimbul/wotan": "^0.21.0",
"@types/ansi-colors": "^3.2.0",
"@types/chai": "^4.1.7",
"@types/chai-as-promised": "^7.1.0",
"@types/debug": "4.1.5",
"@types/eslint": "^6.1.1",
"@types/fs-extra": "^8.0.0",
"@types/json5": "0.0.30",
"@types/mocha": "^5.2.5",
"@types/node": "^13.1.4",
"@types/prettier": "^1.16.3",
"@types/proxyquire": "^1.3.28",
"@types/semver": "^6.0.0",
"@types/sinon": "^7.0.11",
"@types/sinon-chai": "^3.2.1",
"@types/yargs": "^15.0.0",
"@typescript-eslint/eslint-plugin": "^1.6.0",
"@typescript-eslint/parser": "^1.6.0",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"colors": "^1.3.2",
"copyfiles": "^2.1.0",
"coveralls": "^3.0.2",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.0.1",
"mocha": "^7.0.0",
"nyc": "^15.0.0",
"proxyquire": "^2.1.0",
"rimraf": "^3.0.0",
"sinon": "^8.0.2",
"sinon-chai": "^3.3.0",
"source-map-support": "^0.5.9",
"ts-node": "^8.1.0"
},
"dependencies": {
"alcalzone-shared": "^2.0.0",
"axios": "^0.19.0",
"debug": "^4.1.0",
"enquirer": "^2.3.4",
"eslint": "^5.16.0",
"fs-extra": "^8.0.0",
"json5": "^2.1.0",
"prettier": "^1.17.0",
"semver": "^7.0.0",
"typescript": "^3.3.3",
"yargs": "^15.0.1"
},
"scripts": {
"linkTemplates": "node --require ts-node/register maintenance/generateTemplateIndex.ts",
"prebuild:cacheLicenses": "node --require ts-node/register 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",
"pretest": "npm run linkTemplates",
"test": "npm run test:ts && npm run test:baselines",
"test:watch": "mocha src/**/*.test.ts --watch",
"coverage": "node_modules/.bin/nyc npm run test:ts",
"coveralls": "node_modules/.bin/nyc report --reporter=text-lcov | coveralls -v",
"show-coverage": "npm run coverage && start ./coverage/index.html",
"lint:ts": "eslint {src,test,travis,maintenance}/**/*.ts",
"lint:wotan": "wotan",
"lint": "npm run lint:ts && npm run lint:wotan",
"release": "release-script",
"prepublishOnly": "npm run build"
},
"nyc": {
"all": true,
"include": [
"src/**/*.ts"
],
"exclude": [
"build/**",
"src/**/*.test.ts",
"**/*.d.ts",
"test/**"
],
"extension": [
".ts"
],
"reporter": [
"text-summary",
"html",
"lcov"
],
"sourceMap": true,
"instrument": true
},
"readme": "README.md"
}