Files
companion-module-toggl-track/package.json
Matthias Kesler 1d5a3c1e51
Some checks failed
Companion Module Checks / Check module (push) Failing after 0s
Node CI / Lint (push) Successful in 1m14s
WIP: Add websocket connection for streaming toggl updates
2025-11-03 20:19:57 +01:00

54 lines
1.3 KiB
JSON

{
"name": "toggl-track",
"version": "2.1.3",
"main": "dist/main.js",
"type": "module",
"scripts": {
"postinstall": "husky",
"format": "prettier -w .",
"package": "run build && companion-module-build",
"build": "rimraf dist && run build:main",
"build:main": "tsc -p tsconfig.build.json",
"dev": "tsc -p tsconfig.build.json --watch",
"lint:raw": "eslint",
"lint": "run lint:raw .",
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/bitfocus/companion-module-toggl-track.git"
},
"engines": {
"node": "^22.14",
"yarn": "^4"
},
"dependencies": {
"@companion-module/base": "~1.13.4",
"toggl-track": "https://github.com/krombel/toggl-track#v0.8.0-2",
"ws": "^8.18.0"
},
"devDependencies": {
"@companion-module/tools": "~2.4.2",
"@types/node": "^22.18.12",
"@types/ws": "^8",
"eslint": "^9.38.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.6",
"prettier": "^3.6.2",
"rimraf": "^6.0.1",
"typescript": "~5.9.3",
"typescript-eslint": "^8.46.2"
},
"prettier": "@companion-module/tools/.prettierrc.json",
"lint-staged": {
"*.{css,json,md,scss}": [
"prettier --write"
],
"*.{ts,tsx,js,jsx}": [
"yarn lint:raw --fix"
]
},
"packageManager": "yarn@4.10.2"
}