/
package.json
72 lines (72 loc) · 1.82 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
{
"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",
"tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './*.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": "^8.0.0",
"@commitlint/config-conventional": "^8.0.0",
"@sourcegraph/prettierrc": "^2.2.0",
"@sourcegraph/tsconfig": "^4.0.0",
"@sourcegraph/tslint-config": "^13.3.0",
"@types/mocha": "5.2.7",
"husky": "^1.3.1",
"mocha": "^6.1.4",
"nyc": "^14.0.0",
"prettier": "^1.18.2",
"semantic-release": "^15.13.3",
"ts-node": "^8.1.0",
"tslint": "^5.18.0",
"typescript": "^3.4.5"
},
"dependencies": {
"@sourcegraph/extension-api-classes": "^1.0.2",
"@types/sinon": "7.0.12",
"rxjs": "^6.5.1",
"sinon": "^7.3.2",
"sourcegraph": "^23.0.1"
}
}