44 lines
1.1 KiB
JSON
44 lines
1.1 KiB
JSON
{
|
|
"name": "toggl-track",
|
|
"version": "2.1.0",
|
|
"main": "dist/main.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"format": "prettier -w .",
|
|
"package": "yarn run build && companion-module-build",
|
|
"build": "rimraf dist && yarn run build:main",
|
|
"build:main": "tsc -p tsconfig.build.json",
|
|
"dev": "tsc -p tsconfig.build.json --watch",
|
|
"lint:raw": "eslint",
|
|
"lint": "yarn run lint:raw .",
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitfocus/companion-module-toggl-track.git"
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@companion-module/base": "~1.11",
|
|
"toggl-track": "^0.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@companion-module/tools": "~2.1.1",
|
|
"@types/node": "^22.10.2",
|
|
"eslint": "^9.17.0",
|
|
"prettier": "^3.4.2",
|
|
"rimraf": "^5.0.10",
|
|
"typescript": "~5.5.4",
|
|
"typescript-eslint": "^8.18.1"
|
|
},
|
|
"prettier": "@companion-module/tools/.prettierrc.json",
|
|
"lint-staged": {
|
|
"*.{css,json,md,scss}": [
|
|
"prettier --write"
|
|
],
|
|
"*.{ts,tsx,js,jsx}": [
|
|
"yarn lint:raw --fix"
|
|
]
|
|
}
|
|
}
|