-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.57 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
{
"name": "@youfailme/pb2ts",
"version": "0.1.5",
"main": "dist/index.js",
"description": "A primitive tool to generate Typescript code from proto definitions",
"files": [
"dist"
],
"repository": "https://github.com/you-fail-me/pb2ts",
"os": [
"darwin",
"linux"
],
"keywords": [
"protobuf",
"protoc",
"typescript",
"ts",
"grpc",
"proto3"
],
"license": "MIT",
"scripts": {
"build": "yarn build:cleanup && yarn build:templates && yarn build:ts && yarn build:shebang && yarn build:exec",
"build:shebang": "echo \"`echo \"#!/usr/bin/env node\"; cat ./dist/index.js`\" > ./dist/index.js",
"build:exec": "chmod +x ./dist/index.js",
"build:ts": "tsc",
"build:cleanup": "rm -fr ./dist && mkdir ./dist",
"build:templates": "cp -fr ./src/templates/ ./dist/templates",
"prepublishOnly": "yarn build"
},
"dependencies": {
"camelcase": "5.3.1",
"execa": "2.0.0",
"fast-glob": "3.0.3",
"grpc-tools": "1.8.0",
"grpc_tools_node_protoc_ts": "2.5.4",
"minimist": "1.2.0",
"mustache": "3.0.1",
"pkg-up": "3.1.0",
"which": "1.3.1"
},
"devDependencies": {
"@types/minimist": "1.2.0",
"@types/mustache": "0.8.32",
"@types/node": "12.6.9",
"@types/which": "1.3.1",
"husky": "3.0.2",
"prettier": "1.18.2",
"pretty-quick": "1.11.1",
"typescript": "3.5.3"
},
"bin": {
"pb2ts": "dist/index.js"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
}
}