-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
115 lines (115 loc) · 2.39 KB
/
package.json
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
106
107
108
109
110
111
112
113
114
115
{
"name": "autoggl",
"displayName": "autoggl",
"description": "Automatically track project hours based on working directory.",
"publisher": "CodeSpent",
"repository": {
"type": "git",
"url": "https://github.com/CodeSpent/autoggl"
},
"bugs": {
"url": "https://github.com/CodeSpent/autoggl/issues"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./extension.js",
"contributes": {
"commands": [
{
"command": "autoggl.configureToggl",
"title": "Autoggl: Configure Toggl"
},
{
"command": "autoggl.enable",
"title": "Autoggl: Enable Tracking"
},
{
"command": "autoggl.disable",
"title": "Autoggl: Disable Tracking"
},
{
"command": "autoggl.pauseTimer",
"title": "Autoggl: Pause Timer"
},
{
"command": "autoggl.startTimer",
"title": "Autoggl: Start Timer"
}
],
"configuration": {
"title": "Autoggl",
"type": "object",
"properties": {
"autoggl.togglApiToken": {
"type": "string",
"default": "",
"description": "Located at https://toggl.com/app/profile"
},
"autoggl.enabled": {
"type": "boolean",
"default": true,
"description": "Enable Toggl Tracking"
},
"autoggl.workspaceId": {
"type": "integer",
"default": 0,
"description": "ID of Toggl workspace to use"
},
"autoggl.activeTimeEntryId": {
"type": "integer",
"default": 0,
"description": "Currently active time entry"
}
}
}
},
"scripts": {
"lint": "eslint .",
"precommit": "lint-staged --allow-empty",
"pretest": "npm run lint",
"test": "node ./test/runTest.js"
},
"husky": {
"hooks": {
"pre-commit": "npm run precommit",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
}
},
"lint-staged": {
"**/*.+(js|ts)": [
"eslint --fix",
"prettier --write"
]
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "^13.11.0",
"@types/vscode": "^1.46.0",
"cz-conventional-changelog": "^3.2.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"mocha": "^7.1.2",
"prettier": "^2.0.5",
"typescript": "^3.8.3",
"vscode-test": "^1.3.0"
},
"dependencies": {
"axios": "^0.19.2"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}