-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
129 lines (129 loc) · 3.93 KB
/
Copy pathpackage.json
File metadata and controls
129 lines (129 loc) · 3.93 KB
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
{
"$schema": "https://raw.githubusercontent.com/sourcegraph/sourcegraph/main/client/shared/src/schema/extension.schema.json",
"name": "snyk",
"description": "Provides code insights from Snyk reports",
"publisher": "sourcegraph",
"activationEvents": [
"*"
],
"wip": true,
"categories": [
"External services",
"Insights"
],
"tags": [],
"contributes": {
"actions": [
{
"id": "snyk.openPanel",
"command": "openPanel",
"commandArguments": [
"snyk.panel"
],
"category": "Snyk",
"title": "Show panel",
"actionItem": {
"label": "Snyk",
"description": "See issues from the current project"
}
}
],
"menus": {
"editor/title": [],
"commandPalette": [
{
"action": "snyk.openPanel",
"when": "resource"
}
]
},
"configuration": {
"snyk.corsAnywhereUrl": {
"description": "The URL to a CORS proxy.",
"type": "string",
"default": "https://cors-anywhere.sgdev.org"
},
"snyk.apiToken": {
"description": "A Snyk API token",
"type": "string"
},
"snyk.showNotifications": {
"description": "Whether to show notifications when Snyk has found issues in the current project",
"type": "boolean"
},
"snyk.repositoryNamePattern": {
"description": "Regular expression with that is matched on the repository name to extract the capture groups for organization and project key templates.",
"type": "string",
"format": "regex",
"default": "(?:^|/)([^/]+)/([^/]+)$"
},
"snyk.organizationKeyTemplate": {
"description": "Replace string to build the organization key from the repository name pattern, using $n references for capture groups. By default just uses the first capture group",
"type": "string",
"default": "$1"
}
}
},
"version": "0.0.0-DEVELOPMENT",
"license": "Apache-2.0",
"main": "dist/snyk.js",
"scripts": {
"eslint": "eslint 'src/**/*.ts'",
"typecheck": "tsc -p tsconfig.json",
"build": "parcel build --out-file dist/snyk.js src/snyk.ts",
"symlink-package": "mkdirp dist && lnfs ./package.json ./dist/package.json",
"serve": "yarn run symlink-package && parcel serve --no-hmr --out-file dist/snyk.js src/snyk.ts",
"watch:typecheck": "tsc -p tsconfig.json -w",
"watch:build": "tsc -p tsconfig.dist.json -w",
"sourcegraph:prepublish": "yarn run typecheck && yarn run build",
"test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require source-map-support/register --opts mocha.opts",
"cover": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --require ts-node/register --require source-map-support/register --all mocha --opts mocha.opts --timeout 10000"
},
"nyc": {
"extension": [
".tsx",
".ts"
],
"include": [
"src/**/*.ts?(x)"
],
"exclude": [
"**/*.test.ts?(x)",
"**/*.d.ts",
"**/*.js"
]
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Firefox versions",
"last 1 Edge versions",
"last 1 Safari versions"
],
"devDependencies": {
"@sourcegraph/eslint-config": "^0.20.11",
"@sourcegraph/extension-api-stubs": "^1.2.2",
"@sourcegraph/tsconfig": "^4.0.1",
"@types/lodash": "^4.14.162",
"@types/mocha": "^8.0.3",
"@types/mock-require": "^2.0.0",
"eslint": "^7.11.0",
"lnfs-cli": "^2.1.0",
"mkdirp": "^1.0.4",
"mocha": "^5.2.0",
"mock-require": "^3.0.3",
"parcel-bundler": "^1.12.4",
"sinon": "^9.2.0",
"source-map-support": "^0.5.19",
"sourcegraph": "^24.7.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.3",
"utility-types": "^3.10.0"
},
"dependencies": {
"deepmerge": "^4.2.2",
"rxjs": "^6.6.3"
},
"repository": {
"url": "https://github.com/sourcegraph/sourcegraph-snyk"
}
}