|
| 1 | +{ |
| 2 | + "name": "github-extras", |
| 3 | + "publisher": "sourcegraph", |
| 4 | + "title": "GitHub extras", |
| 5 | + "description": "WIP: Adds more GitHub integration features to Sourcegraph.", |
| 6 | + "activationEvents": [ |
| 7 | + "*" |
| 8 | + ], |
| 9 | + "contributes": { |
| 10 | + "actions": [ |
| 11 | + { |
| 12 | + "id": "github.openPanel", |
| 13 | + "command": "openPanel", |
| 14 | + "commandArguments": [ |
| 15 | + "github.pullRequests" |
| 16 | + ], |
| 17 | + "category": "GitHub", |
| 18 | + "title": "Pull requests", |
| 19 | + "actionItem": { |
| 20 | + "label": "Pull requests", |
| 21 | + "description": "Show GitHub pull requests" |
| 22 | + } |
| 23 | + } |
| 24 | + ], |
| 25 | + "menus": { |
| 26 | + "directory/page": [ |
| 27 | + { |
| 28 | + "action": "github.openPanel", |
| 29 | + "when": "resource" |
| 30 | + } |
| 31 | + ], |
| 32 | + "commandPalette": [ |
| 33 | + { |
| 34 | + "action": "github.openPanel", |
| 35 | + "when": "resource" |
| 36 | + } |
| 37 | + ] |
| 38 | + }, |
| 39 | + "configuration": { |
| 40 | + "title": "GitHub extras", |
| 41 | + "properties": { |
| 42 | + "github.explore.repositories": { |
| 43 | + "description": "A list of repositories (in `owner/name` format) to display in the Explore area.", |
| 44 | + "type": "array", |
| 45 | + "items": { |
| 46 | + "type": "string", |
| 47 | + "pattern": "^[^/]+/[^/]+$" |
| 48 | + }, |
| 49 | + "default":["sourcegraph/sourcegraph"], |
| 50 | + "examples": [ |
| 51 | + [ |
| 52 | + "facebook/react", |
| 53 | + "twbs/bootstrap", |
| 54 | + "sourcegraph/sourcegraph" |
| 55 | + ] |
| 56 | + ] |
| 57 | + } |
| 58 | + } |
| 59 | + } |
| 60 | + }, |
| 61 | + "version": "0.0.0-DEVELOPMENT", |
| 62 | + "license": "MIT", |
| 63 | + "repository": { |
| 64 | + "type": "git", |
| 65 | + "url": "https://github.com/sourcegraph/sourcegraph-github-extras.git" |
| 66 | + }, |
| 67 | + "files": [ |
| 68 | + "dist" |
| 69 | + ], |
| 70 | + "main": "dist/sourcegraph-github-extras.js", |
| 71 | + "scripts": { |
| 72 | + "prettier": "prettier '**/{*.{js?(on),ts?(x),scss},.*.js?(on)}' --write --list-different", |
| 73 | + "tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './*.ts?(x)'", |
| 74 | + "test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require source-map-support/register --opts mocha.opts", |
| 75 | + "cover": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --require ts-node/register --require source-map-support/register --all mocha --opts mocha.opts --timeout 10000", |
| 76 | + "build": "parcel build --no-minify --out-file sourcegraph-github-extras.js src/extension.ts", |
| 77 | + "serve": "parcel serve --no-hmr --out-file sourcegraph-github-extras.js src/extension.ts", |
| 78 | + "sourcegraph:prepublish": "yarn run build" |
| 79 | + }, |
| 80 | + "commitlint": { |
| 81 | + "extends": [ |
| 82 | + "@commitlint/config-conventional" |
| 83 | + ] |
| 84 | + }, |
| 85 | + "nyc": { |
| 86 | + "include": [ |
| 87 | + "src/**/*.ts?(x)" |
| 88 | + ], |
| 89 | + "exclude": [ |
| 90 | + "**/*.test.ts?(x)" |
| 91 | + ], |
| 92 | + "extension": [ |
| 93 | + ".tsx", |
| 94 | + ".ts" |
| 95 | + ] |
| 96 | + }, |
| 97 | + "browserslist": [ |
| 98 | + "last 1 Chrome versions", |
| 99 | + "last 1 Firefox versions", |
| 100 | + "last 1 Edge versions", |
| 101 | + "last 1 Safari versions" |
| 102 | + ], |
| 103 | + "devDependencies": { |
| 104 | + "@commitlint/cli": "^7.0.0", |
| 105 | + "@commitlint/config-conventional": "^7.0.1", |
| 106 | + "@sourcegraph/prettierrc": "^2.2.0", |
| 107 | + "@sourcegraph/tsconfig": "^3.0.0", |
| 108 | + "@sourcegraph/tslint-config": "^12.0.0", |
| 109 | + "@types/mocha": "^5.2.5", |
| 110 | + "@types/node": "^10.7.1", |
| 111 | + "husky": "^1.1.2", |
| 112 | + "mocha": "^5.2.0", |
| 113 | + "nyc": "^13.1.0", |
| 114 | + "parcel-bundler": "^1.9.7", |
| 115 | + "prettier": "^1.14.2", |
| 116 | + "source-map-support": "^0.5.9", |
| 117 | + "sourcegraph": "^18.4.0", |
| 118 | + "ts-node": "^7.0.1", |
| 119 | + "tslint": "^5.11.0", |
| 120 | + "typescript": "^3.0.1" |
| 121 | + }, |
| 122 | + "dependencies": { |
| 123 | + "date-fns": "^2.0.0-alpha.25", |
| 124 | + "rxjs": "^6.3.2" |
| 125 | + }, |
| 126 | + "husky": { |
| 127 | + "hooks": { |
| 128 | + "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" |
| 129 | + } |
| 130 | + } |
| 131 | +} |
0 commit comments