1 | {
|
2 | "name": "@stackpath/node-grpc-error-details",
|
3 | "version": "0.0.1",
|
4 | "description": "Utility for deserializing grpc-status-details-bin",
|
5 | "main": "build/index.js",
|
6 | "types": "build/index.d.ts",
|
7 | "author": "The StackPath Development Team <developers@stackpath.com>",
|
8 | "license": "MIT",
|
9 | "dependencies": {
|
10 | "@types/google-protobuf": "*",
|
11 | "@types/node": "*",
|
12 | "@types/protobufjs": "*"
|
13 | },
|
14 | "devDependencies": {
|
15 | "@types/jest": "^24.0.9",
|
16 | "cpr": "^3.0.1",
|
17 | "google-protobuf": "^3.7.0",
|
18 | "grpc": "^1.18.0",
|
19 | "grpc-tools": "^1.7.1",
|
20 | "grpc_tools_node_protoc_ts": "^2.5.0",
|
21 | "husky": "^1.3.1",
|
22 | "jest": "^24.1.0",
|
23 | "lint-staged": "^8.1.5",
|
24 | "prettier": "^1.16.4",
|
25 | "rimraf": "^2.6.3",
|
26 | "ts-jest": "^24.0.0",
|
27 | "typescript": "^3.3.3333"
|
28 | },
|
29 | "peerDependencies": {
|
30 | "google-protobuf": ">=3",
|
31 | "grpc": ">=1"
|
32 | },
|
33 | "scripts": {
|
34 | "build": "rimraf build && tsc && cpr ./src/generated ./build/generated && rimraf build/__tests__",
|
35 | "genProto": "protoc --plugin=protoc-gen-grpc=./node_modules/.bin/grpc_tools_node_protoc_plugin -I src/proto --js_out=import_style=commonjs,binary:./src/generated ./src/proto/*.proto && protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts -I src/proto --ts_out=./src/generated ./src/proto/*.proto",
|
36 | "test": "jest"
|
37 | },
|
38 | "husky": {
|
39 | "hooks": {
|
40 | "pre-commit": "lint-staged"
|
41 | }
|
42 | },
|
43 | "lint-staged": {
|
44 | "*.{ts,js,json,css,md}": [
|
45 | "prettier --write",
|
46 | "git add"
|
47 | ]
|
48 | },
|
49 | "jest": {
|
50 | "roots": [
|
51 | "<rootDir>/src"
|
52 | ],
|
53 | "transform": {
|
54 | "^.+\\.tsx?$": "ts-jest"
|
55 | },
|
56 | "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$",
|
57 | "moduleFileExtensions": [
|
58 | "ts",
|
59 | "tsx",
|
60 | "js",
|
61 | "jsx",
|
62 | "json",
|
63 | "node"
|
64 | ]
|
65 | }
|
66 | }
|