-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
105 lines (105 loc) · 3.28 KB
/
package.json
File metadata and controls
105 lines (105 loc) · 3.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@iobroker/create-adapter",
"version": "3.1.4",
"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"
}