This repository has been archived by the owner on Feb 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.01 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
{
"$schema": "https://raw.githubusercontent.com/sourcegraph/sourcegraph/main/client/shared/src/schema/extension.schema.json",
"name": "sourcegraph-knowledge-bases",
"description": "Browse Markdown knowledge bases (e.g. Obsidian or Foam) in Sourcegraph",
"publisher": "bobheadxi",
"activationEvents": [
"onLanguage:markdown"
],
"wip": true,
"categories": [],
"tags": [],
"contributes": {},
"version": "0.0.0-DEVELOPMENT",
"license": "Apache-2.0",
"main": "dist/index.js",
"repository": {
"url": "https://github.com/bobheadxi/sourcegraph-knowledge-bases"
},
"scripts": {
"eslint": "eslint 'src/**/*.ts'",
"typecheck": "tsc -p tsconfig.json",
"build": "parcel build --out-file dist/index.js src/index.ts",
"symlink-package": "mkdirp dist && lnfs ./package.json ./dist/package.json",
"serve": "npm run build && yarn run symlink-package && parcel serve --no-hmr --out-file dist/index.js src/index.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"
},
"browserslist": [
"last 1 Chrome versions",
"last 1 Firefox versions",
"last 1 Edge versions",
"last 1 Safari versions"
],
"mocha": {
"recursive": true,
"extensions": "ts",
"timeout": 200,
"spec": "src/**/*.test.ts",
"require": [
"ts-node/register",
"source-map-support/register"
]
},
"devDependencies": {
"@sourcegraph/eslint-config": "^0.25.0",
"@sourcegraph/extension-api-stubs": "^1.5.3",
"@sourcegraph/tsconfig": "^4.0.1",
"@types/mocha": "^8.2.2",
"@types/mock-require": "^2.0.0",
"eslint": "^7.30.0",
"lnfs-cli": "^2.1.0",
"mkdirp": "^1.0.4",
"mocha": "^9.0.2",
"mock-require": "^3.0.3",
"parcel-bundler": "^1.12.5",
"source-map-support": "^0.5.19",
"sourcegraph": "^25.3.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.5"
}
}