forked from natterstefan/vscode-toggl-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
177 lines (177 loc) · 5.4 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"name": "vs-code-toggl-extension",
"displayName": "Toggl for VS Code",
"description": "Track your working hours in Toggl directly in your VS Code.",
"author": "Stefan Natter",
"publisher": "natterstefan",
"license": "Apache-2.0",
"version": "0.4.0",
"main": "./dist/index.js",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist && rimraf dist-test",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate",
"build": "npm run clean && babel ./src --out-dir dist && babel test --out-dir dist-test",
"lint-fix": "eslint --fix ./src",
"lint": "eslint ./src",
"postinstall": "node ./node_modules/vscode/bin/install",
"pretest": "npm run build",
"test": "cross-env CODE_TESTS_WORKSPACE=test-project CODE_TESTS_PATH=${INIT_CWD}/dist-test node ./node_modules/vscode/bin/test",
"vscode:prepublish": "npm run build"
},
"engines": {
"vscode": "^1.27.1"
},
"categories": [
"Other"
],
"activationEvents": [
"*",
"onCommand:toggl.fetchToggl",
"onCommand:toggl.startEntry",
"onCommand:toggl.startExistingEntry",
"onCommand:toggl.stopEntry"
],
"contributes": {
"commands": [
{
"category": "Toggl",
"command": "toggl.startEntry",
"title": "Start with new entry."
},
{
"category": "Toggl",
"command": "toggl.startExistingEntry",
"title": "Start with existing entry."
},
{
"category": "Toggl",
"command": "toggl.stopEntry",
"title": "Stop current entry."
},
{
"category": "Toggl",
"command": "toggl.openToggl",
"title": "Open Toggl timer with your default browser."
},
{
"category": "Toggl",
"command": "toggl.fetchToggl",
"title": "Fetch current entry from Toggl."
}
],
"configuration": {
"type": "object",
"title": "Toggl",
"properties": {
"toggl.apiKey": {
"type": "string",
"description": "Your toggl.com API Key. You can get it from here: https://www.toggl.com/app/profile"
},
"toggl.defaultProjectId": {
"type": "integer",
"description": "Default project (client) id for each created task. Note: currently it is not possible to select from a list of projects."
},
"toggl.pollingTimeout": {
"type": "integer",
"default": 3,
"description": "Number of seconds between polling current time entry data from Toggl. To not run into the API rate limit it cannot be below 3 seconds (default: 3)."
},
"toggl.maxChars": {
"type": "integer",
"default": 50,
"description": "Max. number of chars of the entry title shown in the status bar (default: 50)."
},
"toggl.statusBarCommand": {
"type": "string",
"default": "toggl.openToggl",
"description": "Choose command to be executed when Toggl status bar item is clicked (default: toggl.openToggl).",
"enum": [
"toggl.startEntry",
"toggl.startExistingEntry",
"toggl.stopEntry",
"toggl.openToggl",
"toggl.fetchToggl"
],
"enumDescriptions": [
"Start with new entry.",
"Start with existing entry.",
"Stop current entry.",
"Open Toggl timer with your default browser.",
"Fetch current entry from Toggl."
]
}
}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"prepare-commit-msg": "exec < /dev/tty && git cz --hook"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"npm run lint-fix",
"git update-index --again"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "https://github.com/natterstefan/vscode-toggl-extension"
},
"bugs": {
"url": "https://github.com/natterstefan/vscode-toggl-extension/issues"
},
"homepage": "https://github.com/natterstefan/vscode-toggl-extension#readme",
"devDependencies": {
"@babel/cli": "7.7.7",
"@babel/core": "7.7.7",
"@babel/plugin-proposal-class-properties": "7.7.4",
"@babel/preset-env": "7.7.7",
"@types/jest": "24.0.24",
"babel-eslint": "10.0.3",
"babel-jest": "24.9.0",
"commitizen": "4.0.3",
"cross-env": "6.0.3",
"cz-conventional-changelog": "3.0.2",
"eslint": "6.7.2",
"eslint-config-airbnb": "18.0.1",
"eslint-config-ns": "1.0.0",
"eslint-config-prettier": "6.7.0",
"eslint-plugin-import": "2.19.1",
"eslint-plugin-jest": "23.1.1",
"eslint-plugin-jsx-a11y": "6.2.3",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-react-hooks": "2.3.0",
"husky": "3.1.0",
"jest": "24.9.0",
"jest-environment-node": "24.9.0",
"lint-staged": "9.5.0",
"nock": "11.7.0",
"prettier": "1.19.1",
"rimraf": "3.0.0",
"source-map-support": "0.5.16",
"vscode": "1.1.36"
},
"devDependencies/comments": {
"eslint-plugin-react": "Is only installed, because of eslint-config-ns. I might need to take care of this in the future."
},
"dependencies": {
"all-contributors-cli": "6.11.2",
"custom-error-generator": "7.0.0",
"ellipsize": "0.1.0",
"moment": "2.24.0",
"toggl-api": "1.0.1"
}
}