1 | {
|
2 | "name": "@sourcegraph/extensions-client-common",
|
3 | "version": "8.1.4",
|
4 | "description": "Common TypeScript/React client application code for Sourcegraph extension configuration and management, used in Sourcegraph and \"Sourcegraph for X\" products",
|
5 | "author": "Sourcegraph",
|
6 | "license": "Apache-2.0",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/sourcegraph/extensions-client-common.git"
|
10 | },
|
11 | "bugs": {
|
12 | "url": "https://github.com/sourcegraph/extensions-client-common/issues"
|
13 | },
|
14 | "main": "lib/index.js",
|
15 | "module": "lib/index.js",
|
16 | "files": [
|
17 | "lib"
|
18 | ],
|
19 | "scripts": {
|
20 | "commitmsg": "commitlint -e $GIT_PARAMS",
|
21 | "semantic-release": "semantic-release",
|
22 | "prettier": "prettier '**/*.{js?(on),ts}' --write --list-different",
|
23 | "tslint": "tslint -c tslint.json -p tsconfig.json './src/**/*.ts'",
|
24 | "schema:graphql": "cp ../sourcegraph/web/src/backend/graphqlschema.ts src/schema/graphqlschema.ts",
|
25 | "clean": "del-cli 'lib/**/*'",
|
26 | "typecheck": "tsc -p tsconfig.json",
|
27 | "build": "npm run clean && npm run build:assets && npm run build:typescript",
|
28 | "build:assets": "cpy --parents --cwd=src '**/*.{css,d.ts,json}' '../lib/'",
|
29 | "build:typescript": "tsc -p tsconfig.dist.json",
|
30 | "test": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' mocha --require ts-node/register --require source-map-support/register --require esm --opts mocha.opts",
|
31 | "cover": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --require ts-node/register --require source-map-support/register --require esm --all mocha --opts mocha.opts --timeout 10000",
|
32 | "watch:typecheck": "tsc -p tsconfig.json -w",
|
33 | "watch:build:typescript": "tsc -p tsconfig.dist.json -w",
|
34 | "watch:build:assets": "nodemon --watch src/ --ext css,d.ts,json --exec 'npm run build:assets || exit 1'",
|
35 | "watch:build": "npm run clean && concurrently --kill-others 'npm:watch:build:*'",
|
36 | "watch:test": "npm run test -- -w"
|
37 | },
|
38 | "nyc": {
|
39 | "extension": [
|
40 | ".ts"
|
41 | ],
|
42 | "exclude": [
|
43 | "examples/",
|
44 | "**/*.d.ts",
|
45 | "**/*.test.ts",
|
46 | "**/*.js"
|
47 | ],
|
48 | "cache": true,
|
49 | "reporter": [
|
50 | "text",
|
51 | "lcovonly"
|
52 | ]
|
53 | },
|
54 | "commitlint": {
|
55 | "extends": [
|
56 | "@commitlint/config-conventional"
|
57 | ]
|
58 | },
|
59 | "sideEffects": false,
|
60 | "dependencies": {
|
61 | "bootstrap": "^4.1.3",
|
62 | "lodash-es": "^4.17.10",
|
63 | "react": "^16.4.2",
|
64 | "react-router": "^4.3.1",
|
65 | "react-router-dom": "^4.3.1",
|
66 | "reactstrap": "^6.4.0",
|
67 | "rxjs": "^6.3.2",
|
68 | "string-score": "^1.0.1",
|
69 | "ts-key-enum": "^2.0.0"
|
70 | },
|
71 | "devDependencies": {
|
72 | "@commitlint/cli": "^7.1.1",
|
73 | "@commitlint/config-conventional": "^7.1.1",
|
74 | "@sourcegraph/prettierrc": "^2.2.0",
|
75 | "@sourcegraph/tsconfig": "^3.0.0",
|
76 | "@sourcegraph/tslint-config": "^12.0.0",
|
77 | "@sqs/jsonc-parser": "^1.0.3",
|
78 | "@types/lodash-es": "^4.17.1",
|
79 | "@types/mocha": "^5.2.5",
|
80 | "@types/node": "^10.9.4",
|
81 | "@types/react": "^16.4.13",
|
82 | "@types/react-dom": "^16.0.7",
|
83 | "@types/react-router": "^4.0.30",
|
84 | "@types/react-router-dom": "^4.3.0",
|
85 | "@types/reactstrap": "^6.0.2",
|
86 | "concurrently": "^4.0.1",
|
87 | "cpy-cli": "^2.0.0",
|
88 | "del-cli": "^1.1.0",
|
89 | "esm": "^3.0.82",
|
90 | "husky": "^0.14.3",
|
91 | "mocha": "^5.2.0",
|
92 | "nodemon": "^1.18.4",
|
93 | "nyc": "^13.0.1",
|
94 | "prettier": "^1.14.2",
|
95 | "react-dom": "^16.4.2",
|
96 | "semantic-release": "^15.9.12",
|
97 | "source-map-support": "^0.5.9",
|
98 | "sourcegraph": "^15.0.0",
|
99 | "ts-node": "^7.0.1",
|
100 | "tslint": "^5.11.0",
|
101 | "tslint-language-service": "^0.9.9",
|
102 | "typescript": "^3.0.3"
|
103 | }
|
104 | }
|