-
Notifications
You must be signed in to change notification settings - Fork 22
/
package.json
80 lines (80 loc) · 2.42 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
{
"name": "grpc-web-example",
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
"build": "npm run build:typescript && npm run build:webpack",
"build:typescript": "tsc -p .",
"build:proto": "./compile-proto.sh",
"build:webpack": "webpack ./client.js -c webpack.config.js",
"watch:typescript": "npm run build:typescript -- -w",
"watch:webpack": "npm run build:webpack -- -w",
"prebuild": "npm run build:proto",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:prettier": "prettier --check \"**/*.{ts,js,json,svg,md,yml}\"",
"lint:eslint": "eslint . --ext .js,.ts",
"lint:fix": "npm run lint:fix:prettier && npm run lint:eslint -- --fix",
"lint:fix:prettier": "prettier --write '**/*.{ts,tsx,js,json,svg,md,yml}'",
"start:server": "node server",
"start:proxy": "docker run -d -p 8080:8080 -v \"$(pwd)\"/envoy.yaml:/etc/envoy/envoy.yaml:ro envoyproxy/envoy:v1.15.0"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@grpc/grpc-js": "^1.6.8",
"@grpc/proto-loader": "^0.7.0",
"@tsconfig/node12": "^1.0.11",
"@types/google-protobuf": "^3.15.6",
"@types/node": "^14.14.14",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"eslint": "^8.20.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"google-protobuf": "^3.21.0",
"grpc-tools": "^1.11.2",
"grpc-web": "^1.3.1",
"prettier": "^2.7.1",
"prettier-plugin-organize-imports": "^3.0.0",
"protoc-gen-grpc-web": "^1.4.0",
"ts-protoc-gen": "^0.15.0",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"eslintConfig": {
"ignorePatterns": [
"**/*.js",
"proto/*.ts",
"generated"
],
"env": {
"browser": false,
"es6": true,
"node": true
},
"parserOptions": {
"project": "./tsconfig.json",
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript"
]
},
"prettier": {
"singleQuote": true,
"tabWidth": 2,
"printWidth": 80,
"useTabs": false
}
}