|
| 1 | +{ |
| 2 | + "name": "@sourcegraph/extension-api-classes", |
| 3 | + "description": "Classes used by the Sourcegraph extension API", |
| 4 | + "version": "0.0.0-DEVELOPMENT", |
| 5 | + "license": "MIT", |
| 6 | + "repository": { |
| 7 | + "type": "git", |
| 8 | + "url": "https://github.com/sourcegraph/extension-api-classes.git" |
| 9 | + }, |
| 10 | + "files": [ |
| 11 | + "dist" |
| 12 | + ], |
| 13 | + "main": "dist/index.js", |
| 14 | + "types": "dist/index.d.ts", |
| 15 | + "scripts": { |
| 16 | + "test": "nyc mocha", |
| 17 | + "semantic-release": "semantic-release", |
| 18 | + "prettier": "prettier '**/{*.{js?(on),ts?(x),scss},.*.js?(on)}' --write --list-different", |
| 19 | + "prettier-check": "npm run prettier -- --write=false", |
| 20 | + "tslint": "tslint -c tslint.json -p tsconfig.json './src/*.ts?(x)' './*.ts?(x)'", |
| 21 | + "build": "tsc -p .", |
| 22 | + "watch": "tsc -p . -w" |
| 23 | + }, |
| 24 | + "commitlint": { |
| 25 | + "extends": [ |
| 26 | + "@commitlint/config-conventional" |
| 27 | + ] |
| 28 | + }, |
| 29 | + "mocha": { |
| 30 | + "require": "ts-node/register", |
| 31 | + "spec": "src/**/*.test.ts", |
| 32 | + "ui": "tdd" |
| 33 | + }, |
| 34 | + "nyc": { |
| 35 | + "include": [ |
| 36 | + "src/**/*.ts?(x)" |
| 37 | + ], |
| 38 | + "exclude": [ |
| 39 | + "**/*.test.ts?(x)" |
| 40 | + ], |
| 41 | + "extension": [ |
| 42 | + ".tsx", |
| 43 | + ".ts" |
| 44 | + ] |
| 45 | + }, |
| 46 | + "peerDependencies": { |
| 47 | + "sourcegraph": "*" |
| 48 | + }, |
| 49 | + "devDependencies": { |
| 50 | + "@commitlint/cli": "^7.5.2", |
| 51 | + "@commitlint/config-conventional": "^7.5.0", |
| 52 | + "@sourcegraph/extension-api-types": "^2.0.0", |
| 53 | + "@sourcegraph/prettierrc": "^2.2.0", |
| 54 | + "@sourcegraph/tsconfig": "^4.0.0", |
| 55 | + "@sourcegraph/tslint-config": "^13.1.0", |
| 56 | + "@types/mocha": "^5.2.6", |
| 57 | + "husky": "^2.1.0", |
| 58 | + "mocha": "^6.1.4", |
| 59 | + "nyc": "^14.0.0", |
| 60 | + "prettier": "^1.17.0", |
| 61 | + "semantic-release": "^15.13.3", |
| 62 | + "sourcegraph": "^23.0.0", |
| 63 | + "ts-node": "^8.1.0", |
| 64 | + "tslint": "^5.16.0", |
| 65 | + "typescript": "^3.4.5" |
| 66 | + }, |
| 67 | + "husky": { |
| 68 | + "hooks": { |
| 69 | + "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" |
| 70 | + } |
| 71 | + } |
| 72 | +} |
0 commit comments