This repository was archived by the owner on Nov 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
94 lines (94 loc) · 3.71 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "sourcegraph",
"version": "0.0.0-development",
"description": "Sourcegraph extension API: build extensions that enhance reading and reviewing code in your existing tools",
"author": "Sourcegraph",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/sourcegraph/sourcegraph-extension-api.git"
},
"bugs": {
"url": "https://github.com/sourcegraph/sourcegraph-extension-api/issues"
},
"main": "lib/index.js",
"module": "module/index.js",
"files": [
"lib",
"module"
],
"scripts": {
"commitmsg": "commitlint -e $GIT_PARAMS",
"semantic-release": "semantic-release",
"prettier": "prettier '**/{*.{js?(on),ts,yml},.*.yml}' --write --list-different",
"tslint": "tslint -c tslint.json -p tsconfig.json './src/**/*.ts'",
"typecheck": "tsc -p tsconfig.json",
"build:assets": "mkdir -p lib/protocol && typescript-json-schema --id 'https://sourcegraph.com/v1/contribution.schema.json' --noExtraProps --required --include src/protocol/contribution.ts --out lib/protocol/contribution.schema.json tsconfig.dist.module.json Contributions && node -e \"/* Deletes the top-level additionalProperties property in the file. */ fs = require('fs');f = process.argv[1];o = JSON.parse(fs.readFileSync(f, 'utf8'));delete o.additionalProperties;fs.writeFileSync(f, JSON.stringify(o, null, 4))\" lib/protocol/contribution.schema.json",
"build:commonjs": "tsc -p tsconfig.dist.commonjs.json",
"build:module": "tsc -p tsconfig.dist.module.json",
"build": "npm run build:commonjs && npm run build:module && npm run build:assets",
"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",
"watch:typecheck": "tsc -p tsconfig.json -w",
"watch:build:assets": "npm run build:assets && nodemon --watch src/protocol/contribution.ts --exec 'npm run build:assets || exit 1'",
"watch:build:commonjs": "tsc -p tsconfig.dist.commonjs.json -w",
"watch:build:module": "tsc -p tsconfig.dist.module.json -w",
"watch:build": "concurrently --kill-others 'npm:watch:build:*'",
"watch:test": "npm run test -- -w",
"watch:cover": "nodemon --watch src/ --ext ts,js,json --watch package.json --exec 'npm run cover || exit 1'"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.d.ts",
"**/*.test.ts",
"**/*.js"
],
"cache": true,
"reporter": [
"text",
"lcovonly"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"sideEffects": false,
"dependencies": {
"minimatch": "^3.0.4",
"rxjs": "^6.3.2",
"uuid": "^3.3.2",
"vscode-languageserver-types": "^3.12.0"
},
"devDependencies": {
"@commitlint/cli": "^7.1.1",
"@commitlint/config-conventional": "^7.1.1",
"@sourcegraph/prettierrc": "^2.2.0",
"@sourcegraph/tsconfig": "^3.0.0",
"@sourcegraph/tslint-config": "^12.0.0",
"@types/minimatch": "^3.0.3",
"@types/mocha": "^5.2.5",
"@types/node": "^10.5.0",
"@types/uuid": "^3.4.4",
"@types/ws": "^6.0.0",
"concurrently": "^4.0.1",
"cpy-cli": "^2.0.0",
"husky": "^0.14.3",
"mocha": "^5.2.0",
"nodemon": "^1.18.2",
"nyc": "^13.0.1",
"prettier": "^1.14.2",
"semantic-release": "^15.9.12",
"source-map-support": "^0.5.9",
"ts-node": "^7.0.1",
"tslint": "^5.10.0",
"tslint-language-service": "^0.9.9",
"typescript": "^3.0.3",
"typescript-json-schema": "^0.32.0"
},
"optionalDependencies": {}
}