-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
73 lines (73 loc) · 1.81 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
{
"name": "@sourcegraph/extension-api-stubs",
"description": "Stubs for the Sourcegraph extension API to unit-test Sourcegraph extensions",
"version": "0.0.0-DEVELOPMENT",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/extension-api-stubs.git"
},
"files": [
"dist"
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test": "nyc mocha",
"semantic-release": "semantic-release",
"prettier": "prettier '**/{*.{js?(on),ts?(x),scss},.*.js?(on)}' --write --list-different",
"prettier-check": "npm run prettier -- --write=false",
"eslint": "eslint './src/*.ts?(x)'",
"build": "tsc -p .",
"watch": "tsc -p . -w"
},
"husky": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"nyc": {
"require": "ts-node/register",
"include": [
"src/**/*.ts?(x)"
],
"exclude": [
"**/*.test.ts?(x)"
],
"extension": [
".tsx",
".ts"
]
},
"mocha": {
"spec": "src/**/*.test.ts",
"require": "ts-node/register"
},
"devDependencies": {
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@sourcegraph/eslint-config": "^0.23.0",
"@sourcegraph/prettierrc": "^3.0.3",
"@sourcegraph/tsconfig": "^4.0.1",
"@types/mocha": "9.1.1",
"eslint": "^7.32.0",
"husky": "^3.0.2",
"mocha": "^9.2.2",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"semantic-release": "^17.0.0",
"ts-node": "^8.3.0",
"typescript": "^3.9.6"
},
"dependencies": {
"@sourcegraph/extension-api-classes": "^1.1.0",
"@types/sinon": "10.0.4",
"graphql": "^15.4.0",
"rxjs": "^6.5.1",
"sinon": "^10.0.0",
"sourcegraph": "^25.7.0"
}
}