-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
59 lines (59 loc) · 2.04 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
{
"name": "protocat",
"description": "Modern, minimalist type-safe gRPC framework for Node.js",
"version": "0.6.5-beta.1",
"author": "Jaroslav Šmolík <grissius@gmail.com>",
"main": "./dist/index.js",
"files": [
"dist/*"
],
"license": "MIT",
"keywords": [
"grpc",
"middleware",
"framework",
"node",
"microservice",
"api",
"backend",
"server"
],
"homepage": "https://smolijar.github.io/protocat/",
"scripts": {
"build": "tsc",
"build:proto": "rm -rf ./dist/test/api && mkdir -p ./dist/test/api && grpc_tools_node_protoc --js_out=import_style=commonjs,binary:./dist/test/api --ts_out=generate_package_definition:./dist/test/api --grpc_out=grpc_js:./dist/test/api -I ./src/test/api ./src/test/api/**/*.proto",
"prebuild": "npm run build:proto",
"test": "jest --verbose",
"test:coverage": "npm run test -- --collectCoverage",
"test:codecov": "codecov",
"prepare": "npm run build",
"docs": "npm run docs:docusaurus",
"docs:docusaurus": "npm install --prefix=website && npm run build --prefix=website",
"check": "npm-check -i app -i errors -i config -i index & exit 0",
"cs:eslint:check": "eslint --ignore-path .gitignore '**/*.ts' -f codeframe",
"cs:eslint:fix": "npm run cs:eslint:check -- --fix",
"cs:prettier:check": "prettier --ignore-path .gitignore --check '**/*.{ts,js,json,md}'",
"cs:prettier:fix": "npm run cs:prettier:check -- --write '**/*.{ts,js,json,md}'"
},
"dependencies": {
"@grpc/grpc-js": "^1.6.7",
"@types/google-protobuf": "^3.15.6"
},
"devDependencies": {
"@ackee/styleguide-backend-config": "^0.2.2",
"@types/jest": "^26.0.23",
"codecov": "^3.8.2",
"docusaurus-plugin-typedoc": "^0.20.1",
"google-protobuf": "^3.20.1",
"grpc_tools_node_protoc_ts": "^5.3.2",
"grpc-tools": "^1.11.2",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-jest": "^26.5.6",
"typedoc": "^0.25.1",
"typedoc-plugin-markdown": "3.16",
"typescript": "^4.6.4"
}
}