-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
111 lines (111 loc) · 3.71 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
{
"$schema": "https://raw.githubusercontent.com/sourcegraph/sourcegraph/master/shared/src/schema/extension.schema.json",
"name": "code-discussions",
"publisher": "sourcegraph",
"title": "Code discussions — discuss code contextually, review code continuously.",
"wip": true,
"description": "Lets you write comments on code while browsing, discover discussions while browsing on GitHub, review code continuously, and share knowledge with your team.",
"activationEvents": [
"*"
],
"main": "dist/extension.js",
"scripts": {
"sourcegraph:prepublish": "parcel build src/extension.ts",
"prettier": "prettier \"**/*.{ts,js,json,md}\" --list-different --write",
"tslint": "tslint \"src/**.ts\" --project tsconfig.json --config tslint.json",
"build": "parcel build --out-file dist/extension.js src/extension.ts",
"symlink-package": "mkdirp dist && lnfs ./package.json ./dist/package.json",
"serve": "yarn run symlink-package && parcel serve --no-hmr --out-file dist/extension.js src/extension.ts",
"watch": "tsc -w -p .",
"graphql": "get-graphql-schema https://sourcegraph.com/.api/graphql --json | gql2ts -n SourcegraphGQL -o src/typings/SourcegraphGQL.d.ts"
},
"devDependencies": {
"@sourcegraph/prettierrc": "^2.1.1",
"@sourcegraph/tsconfig": "^4.0.0",
"@sourcegraph/tslint-config": "^12.3.1",
"get-graphql-schema": "^2.1.1",
"gql2ts": "^1.8.2",
"lnfs-cli": "^2.1.0",
"mkdirp": "^0.5.1",
"parcel-bundler": "^1.12.4",
"prettier": "1.16.4",
"sourcegraph": "^23.0.0",
"tslint": "^5.10.0",
"typescript": "^3.3.3333"
},
"dependencies": {
"@types/date-fns": "^2.6.0",
"date-fns": "^1.29.0"
},
"contributes": {
"actions": [
{
"id": "discussions.decorations.toggle",
"command": "updateConfiguration",
"commandArguments": [
[
"discussions.decorations.inline"
],
"${!config.discussions.decorations.inline}",
null,
"json"
],
"title": "${config.discussions.decorations.inline && \"Hide\" || \"Show\"} inline discussions on file",
"category": "Discussions",
"actionItem": {
"label": "Discussions",
"description": "${config.discussions.decorations.inline && \"Hide\" || \"Show\"} inline discussions",
"pressed": "config.discussions.decorations.inline"
}
}
],
"menus": {
"editor/title": [
{
"action": "discussions.decorations.toggle",
"alt": "discussions.link.fileList",
"when": "resource && !config.discussions.hideDiscussionsButton"
}
],
"commandPalette": [
{
"action": "discussions.decorations.toggle",
"when": "resource"
},
{
"action": "discussions.link.fileList",
"when": "resource && get(context, `discussions.fileURL.${resource.uri}`)"
},
{
"action": "discussions.help"
}
],
"help": [
{
"action": "discussions.help"
}
]
},
"configuration": {
"title": "Code discussions settings",
"properties": {
"discussions.decorations.inline": {
"description": "Whether or not to display discussions inline.",
"type": "boolean",
"default": true
},
"discussions.hideDiscussionsButton": {
"description": "Whether to hide the discussions item in the toolbar (in a button labeled \"inline discussions\").",
"type": "boolean",
"default": false
}
}
}
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Firefox versions",
"last 1 Edge versions",
"last 1 Safari versions"
]
}