-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.33 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
{
"name": "gsa-gateway",
"version": "1.4.0",
"description": " Game Sales Analytics Gateway Service",
"main": "index.js",
"scripts": {
"lint": "eslint --ext .ts .",
"test": "ava --verbose --fail-fast",
"dev": "nodemon --config nodemon.json",
"build": "npm-run-all --silent --sequential clean transpile copy-manifests",
"clean": "rimraf build",
"transpile": "tsc --project tsconfig.build.json",
"copy-manifests": "cpy package.json pnpm-lock.yaml ecosystem.config.json build",
"genprotos": "npm-run-all --sequential --silent protos:clean protos:mkdirp protos:gen",
"protos:clean": "rimraf proto-gen",
"protos:mkdirp": "mkdirp proto-gen",
"protos:gen": "npm-run-all --sequential protos:gen:js protos:gen:dts",
"protos:gen:js": "grpc_tools_node_protoc -I=protos/ protos/*.proto --js_out=import_style=commonjs,binary:./proto-gen --grpc_out=grpc_js:./proto-gen --plugin=protoc-gen-grpc=$(which grpc_tools_node_protoc_plugin)",
"protos:gen:dts": "protoc -I=protos protos/*.proto --plugin=protoc-gen-ts=$(which protoc-gen-ts) --ts_out=grpc_js:./proto-gen",
"syncprotos": "npm-run-all --parallel --silent protos:sync:userssrv protos:sync:coresrv",
"protos:sync:userssrv": "curl https://raw.githubusercontent.com/game-sales-analytics/userssrv/main/api/userssrv.proto -o protos/userssrv.proto",
"protos:sync:coresrv": "curl https://raw.githubusercontent.com/game-sales-analytics/coresrv/main/api/coresrv.proto -o protos/coresrv.proto"
},
"repository": {
"type": "git",
"url": "git+https://github.com/game-sales-analytics/gateway.git"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"engines": {
"node": "~17"
},
"author": "xeptore < hello [ at ] xeptore [ dot ] me >",
"license": "SEE LICENSE IN license.txt",
"bugs": {
"url": "https://github.com/game-sales-analytics/gateway/issues"
},
"homepage": "https://github.com/game-sales-analytics/gateway#readme",
"devDependencies": {
"@changesets/cli": "^2.18.1",
"@tsconfig/node16": "^1.0.2",
"@types/is-number": "^7.0.1",
"@types/lodash.isnil": "^4.0.6",
"@types/node": "^16.11.12",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "^5.6.0",
"ava": "^3.15.0",
"chalk": "^4.1.2",
"cpy-cli": "^3.1.1",
"eslint": "^8.4.1",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-xo": "^0.39.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-array-func": "^3.1.7",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-optimize-regex": "^1.2.1",
"eslint-plugin-regexp": "^1.5.1",
"eslint-plugin-security": "^1.4.0",
"eslint-plugin-unicorn": "^39.0.0",
"grpc-tools": "^1.11.2",
"grpc_tools_node_protoc_ts": "^5.3.2",
"mkdirp": "^1.0.4",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"pino-pretty": "^7.2.0",
"rimraf": "^3.0.2",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^4.5.3"
},
"dependencies": {
"@grpc/grpc-js": "^1.4.4",
"fastify": "^3.24.1",
"google-protobuf": "^3.19.1",
"http-status-codes": "^2.1.4",
"is-number": "^7.0.0",
"joi": "^17.5.0",
"lodash.isnil": "^4.0.0",
"nanoid": "^3.1.30",
"pino": "^7.5.1"
}
}