Skip to content

Commit

Permalink
Working on typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Nov 5, 2024
1 parent c8745df commit 8e3c5c0
Show file tree
Hide file tree
Showing 4 changed files with 540 additions and 405 deletions.
229 changes: 115 additions & 114 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,120 +1,121 @@
{
"name": "iobroker.javascript",
"version": "8.8.3",
"description": "Rules Engine for ioBroker",
"author": "bluefox <[email protected]>",
"contributors": [
{
"name": "hobbyquaker",
"email": "[email protected]"
"name": "iobroker.javascript",
"version": "8.8.3",
"description": "Rules Engine for ioBroker",
"author": "bluefox <[email protected]>",
"contributors": [
{
"name": "hobbyquaker",
"email": "[email protected]"
},
{
"name": "Apollon77",
"email": "[email protected]"
},
{
"name": "AlCalzone",
"email": "[email protected]"
},
{
"name": "Matthias Kleine",
"email": "[email protected]"
}
],
"homepage": "https://github.com/ioBroker/ioBroker.javascript",
"license": "MIT",
"keywords": [
"ioBroker",
"javascript",
"script",
"engine",
"home automation"
],
"repository": {
"type": "git",
"url": "https://github.com/ioBroker/ioBroker.javascript"
},
{
"name": "Apollon77",
"email": "[email protected]"
"engines": {
"node": ">=18"
},
{
"name": "AlCalzone",
"email": "[email protected]"
"depsComment": {
"@types/node": "should match the lowest MAJOR version of Node.js we support."
},
{
"name": "Matthias Kleine",
"email": "[email protected]"
"dependencies": {
"@iobroker/adapter-core": "^3.2.2",
"@types/node": "^22.7.4",
"@types/request": "^2.48.12",
"axios": "^1.7.7",
"jsonata": "^2.0.5",
"jszip": "^3.10.1",
"node-inspect": "^2.0.0",
"node-schedule": "2.1.1",
"request": "^2.88.2",
"semver": "^7.6.3",
"suncalc2": "^1.8.1",
"typescript": "~5.6.2",
"virtual-tsc": "^0.6.2",
"wake_on_lan": "^1.0.0"
},
"devDependencies": {
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/build-tools": "^2.0.6",
"@iobroker/eslint-config": "^0.1.6",
"@iobroker/testing": "^5.0.0",
"@iobroker/types": "^6.0.11",
"@types/nodemailer": "^6.4.16",
"@types/node-schedule": "^2.1.7",
"@types/request": "^2.48.12",
"@types/suncalc": "^1.9.2",
"@iobroker/vis-2-widgets-react-dev": "^4.0.3",
"alcalzone-shared": "^4.0.8",
"chai": "^5.1.1",
"mocha": "^10.8.2",
"timekeeper": "^2.3.1"
},
"bugs": {
"url": "https://github.com/ioBroker/ioBroker.javascript/issues"
},
"main": "main.js",
"files": [
"admin/",
"lib/",
"docs/",
"install/",
"lib/",
"io-package.json",
"LICENSE",
"main.js",
"admin/vsFont/codicon.json"
],
"scripts": {
"test:declarations": "tsc -p test/lib/TS/tsconfig.json && tsc -p test/lib/JS/tsconfig.json",
"test:javascript": "node node_modules/mocha/bin/mocha --exit",
"test": "npm run test:declarations && npm run test:javascript",
"translate": "translate-adapter",
"//postinstall": "node ./install/installTypings.js",
"build": "node tasks",
"release": "release-script --noPush -y --all",
"update-packages": "ncu --upgrade && cd src && ncu --upgrade && cd ../src-admin && ncu --upgrade",
"npm": "npm i && cd src && npm i -f && cd ../src-admin && npm i -f",
"lint": "eslint -c eslint.config.mjs",
"lint-all": "eslint -c eslint.config.mjs && cd src && eslint -c eslint.config.mjs && cd ../src-admin && eslint -c eslint.config.mjs",
"admin-0-clean": "node tasks.js --admin-0-clean",
"admin-1-npm": "node tasks.js --admin-1-npm",
"admin-2-compile": "node tasks.js --admin-2-compile",
"admin-3-copy": "node tasks.js --admin-3-copy",
"admin-build": "node tasks.js --admin-build",
"0-clean": "node tasks.js --0-clean",
"1-npm": "node tasks.js --1-npm",
"2-build": "node tasks.js --2-build",
"3-copy": "node tasks.js --3-copy",
"4-patch": "node tasks.js --4-patch",
"build-editor": "node tasks.js --build",
"blocklyJson2words": "node tasks.js --blocklyJson2words",
"blocklyWords2json": "node tasks.js --blocklyWords2json",
"monaco-update": "node tasks.js --monaco-update",
"monaco-typescript": "node tasks.js --monaco-typescript"
}
],
"homepage": "https://github.com/ioBroker/ioBroker.javascript",
"license": "MIT",
"keywords": [
"ioBroker",
"javascript",
"script",
"engine",
"home automation"
],
"repository": {
"type": "git",
"url": "https://github.com/ioBroker/ioBroker.javascript"
},
"engines": {
"node": ">=18"
},
"depsComment": {
"@types/node": "should match the lowest MAJOR version of Node.js we support."
},
"dependencies": {
"@iobroker/adapter-core": "^3.2.2",
"@types/node": "^22.7.4",
"@types/request": "^2.48.12",
"axios": "^1.7.7",
"jsonata": "^2.0.5",
"jszip": "^3.10.1",
"node-inspect": "^2.0.0",
"node-schedule": "2.1.1",
"request": "^2.88.2",
"semver": "^7.6.3",
"suncalc2": "^1.8.1",
"typescript": "~5.6.2",
"virtual-tsc": "^0.6.2",
"wake_on_lan": "^1.0.0"
},
"devDependencies": {
"@alcalzone/release-script": "^3.8.0",
"@alcalzone/release-script-plugin-iobroker": "^3.7.2",
"@alcalzone/release-script-plugin-license": "^3.7.0",
"@iobroker/adapter-dev": "^1.3.0",
"@iobroker/build-tools": "^2.0.5",
"@iobroker/eslint-config": "^0.1.6",
"@iobroker/testing": "^5.0.0",
"@iobroker/types": "^6.0.11",
"@types/nodemailer": "^6.4.16",
"@types/request": "^2.48.12",
"@types/suncalc": "^1.9.2",
"@iobroker/vis-2-widgets-react-dev": "^4.0.3",
"alcalzone-shared": "^4.0.8",
"chai": "^5.1.1",
"mocha": "^10.7.3",
"timekeeper": "^2.3.1"
},
"bugs": {
"url": "https://github.com/ioBroker/ioBroker.javascript/issues"
},
"main": "main.js",
"files": [
"admin/",
"lib/",
"docs/",
"install/",
"lib/",
"io-package.json",
"LICENSE",
"main.js",
"admin/vsFont/codicon.json"
],
"scripts": {
"test:declarations": "tsc -p test/lib/TS/tsconfig.json && tsc -p test/lib/JS/tsconfig.json",
"test:javascript": "node node_modules/mocha/bin/mocha --exit",
"test": "npm run test:declarations && npm run test:javascript",
"translate": "translate-adapter",
"//postinstall": "node ./install/installTypings.js",
"build": "node tasks",
"release": "release-script --noPush -y --all",
"update-packages": "ncu --upgrade && cd src && ncu --upgrade && cd ../src-admin && ncu --upgrade",
"npm": "npm i && cd src && npm i -f && cd ../src-admin && npm i -f",
"lint": "eslint -c eslint.config.mjs",
"lint-all": "eslint -c eslint.config.mjs && cd src && eslint -c eslint.config.mjs && cd ../src-admin && eslint -c eslint.config.mjs",
"admin-0-clean": "node tasks.js --admin-0-clean",
"admin-1-npm": "node tasks.js --admin-1-npm",
"admin-2-compile": "node tasks.js --admin-2-compile",
"admin-3-copy": "node tasks.js --admin-3-copy",
"admin-build": "node tasks.js --admin-build",
"0-clean": "node tasks.js --0-clean",
"1-npm": "node tasks.js --1-npm",
"2-build": "node tasks.js --2-build",
"3-copy": "node tasks.js --3-copy",
"4-patch": "node tasks.js --4-patch",
"build-editor": "node tasks.js --build",
"blocklyJson2words": "node tasks.js --blocklyJson2words",
"blocklyWords2json": "node tasks.js --blocklyWords2json",
"monaco-update": "node tasks.js --monaco-update",
"monaco-typescript": "node tasks.js --monaco-typescript"
}
}
Loading

0 comments on commit 8e3c5c0

Please sign in to comment.