This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
forked from dgraph-io/dgraph-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 1.97 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": "dgraph-js",
"version": "20.03.0",
"description": "Official javascript client for Dgraph",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/dgraph-io/dgraph-js.git"
},
"bugs": {
"url": "https://github.com/dgraph-io/dgraph-js/issues"
},
"homepage": "https://github.com/dgraph-io/dgraph-js#readme",
"files": [
"lib",
"generated"
],
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"scripts": {
"clean": "rimraf coverage",
"build:protos:msgs": "protoc --plugin=protoc-gen-ts=./node_modules/.bin/protoc-gen-ts --js_out=import_style=commonjs,binary:./generated/ --ts_out=service=false:./generated/ --proto_path=./protos/ api.proto",
"build:protos:srvs": "grpc_tools_node_protoc --plugin=protoc-gen-grpc=`which grpc_tools_node_protoc_plugin` --grpc_out=./generated/ --proto_path=./protos/ api.proto",
"build:protos": "yarn build:protos:msgs && yarn build:protos:srvs",
"build": "tsc -p tsconfig.release.json",
"build:watch": "tsc -w -p tsconfig.release.json",
"lint": "tslint -t stylish --project tsconfig.json",
"lint:fix": "tslint --fix -t stylish --project tsconfig.json",
"pretest": "yarn lint",
"test": "jest --coverage --runInBand",
"test:watch": "jest --watch",
"coveralls": "cat ./coverage/lcov.info | coveralls"
},
"devDependencies": {
"@types/google-protobuf": "^3.2.7",
"@types/jest": "^25.2.1",
"@types/node": "^13.11.1",
"coveralls": "^3.0.0",
"grpc-tools": "^1.6.6",
"grpc_tools_node_protoc_ts": "^2.5.3",
"install-peers": "^1.0.2",
"jest": "^25.3.0",
"jest-teamcity": "^1.7.0",
"rimraf": "^3.0.2",
"ts-jest": "^25.3.1",
"ts-protoc-gen": "^0.12.0",
"tslint": "^6.1.1",
"tslint-microsoft-contrib": "^6.2.0",
"typescript": "^3.5.1"
},
"dependencies": {
"google-protobuf": "^3.8.0",
"grpc": "^1.21.1",
"is-base64": "^1.1.0"
},
"peerDependencies": {
"grpc": ">=1.7.0 <2.0.0"
}
}