-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 3.46 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "grpc-hmac-interceptor",
"version": "1.0.4",
"description": "Nodejs library for effortless HMAC Client and Server interceptors in gRPC applications.",
"type": "module",
"main": "build/index.js",
"scripts": {
"all": "npm run clean && npm run generate && npm run format --fix && npm run lint -- --fix && npm run test -- --run && npm run build",
"clean": "rimraf build",
"format": "prettier --write '**/*.{ts,js,cjs,json}'",
"format-check": "prettier --check '**/*.{ts,js,cjs,json}'",
"lint": "eslint src/**/*.ts test/**/*.ts --cache",
"test": "vitest",
"generate": "npm run generate-proto-loader",
"generate-protoc": "mkdir -p test/common/static-generated && grpc_tools_node_protoc --proto_path=test/fixtures/ --js_out=import_style=commonjs,binary:./test/common/static-generated --grpc_out=grpc_js:./test/common/static-generated example.proto",
"generate-proto-loader": "proto-loader-gen-types --longs String --enums String --keepCase --defaults --oneofs --includeComments --include-dirs ./test/fixtures/ -O test/common/generated/ --grpcLib @grpc/grpc-js example.proto",
"build-server": "ncc build src/server/index.ts -mo build/src/server --source-map --license licenses.txt --target es2022",
"build-client": "ncc build src/client/index.ts -mo build/src/client --source-map --license licenses.txt --target es2022",
"build": "ncc build ./index.ts -mo build --source-map --license licenses.txt --target es2022",
"build-all": "concurrently 'npm run build-server' 'npm run build-client' 'npm run build'",
"compile": "tsc -p .",
"pack": "npm pack"
},
"repository": {
"type": "git",
"url": "git+https://github.com/travix/ts-grpc-hmac.git"
},
"release": {
"branches": [
"main"
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "build/*.tgz",
"label": "ts-grpc-hmac-${nextRelease.version}.tgz"
}
]
}
]
]
},
"keywords": [
"grpc",
"node",
"interceptor"
],
"author": "Travix International",
"homepage": "https://github.com/travix/ts-grpc-hmac#readme",
"license": "MIT",
"devDependencies": {
"@grpc/grpc-js": "^1.10.1",
"@grpc/proto-loader": "^0.7.10",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^7.1.1",
"@typescript-eslint/parser": "^7.9.0",
"@vercel/ncc": "^0.38.1",
"chalk": "^5.3.0",
"concurrently": "^8.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-vitest-globals": "^1.5.0",
"prettier": "^3.2.5",
"semantic-release": "^23.1.1",
"typescript": "^5.3.3",
"typescript-eslint": "^7.1.1",
"vitest": "^1.6.0",
"winston": "^3.12.0"
},
"files": [
"src",
"index.ts",
"build/*.{js,cjs,d.ts,js.map}",
"LICENSE"
]
}