-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
85 lines (85 loc) · 2.96 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
{
"name": "@nitric/sdk",
"description": "Nitric NodeJS client sdk",
"nitric": "v1.14.0",
"author": "Nitric <https://github.com/nitrictech>",
"repository": "https://github.com/nitrictech/node-sdk",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"scripts": {
"bump": "standard-version",
"build": "tsup src/index.ts --dts --outDir lib",
"test": "jest",
"check-nitric": "ts-node ./scripts/check-nitric-version.ts",
"test:coverage": "jest --coverage",
"coverage:upload": "yarn run test:coverage && codecov",
"prettier:check": "prettier --check src",
"prettier:fix": "prettier --write src",
"lint": "eslint \"src/**/*.ts\"",
"lint:fix": "yarn lint --fix",
"license:header:remove": "license-check-and-add remove -f ./licenseconfig.json",
"license:header:add": "license-check-and-add add -f ./licenseconfig.json",
"license:header:check": "license-check-and-add check -f ./licenseconfig.json",
"license:check": "licensee --production",
"download:contracts": "curl -L https://github.com/nitrictech/nitric/releases/download/${npm_package_nitric}/proto.tgz -o nitric.tgz && tar xvzf nitric.tgz && rm nitric.tgz",
"download:contracts:local": "rm -r ./nitric && mkdir ./nitric && cp -r $NITRIC_CORE_HOME/nitric/proto ./nitric",
"gen:proto": "yarn run download:contracts && yarn run gen:sources",
"gen:sources": "mkdir -p ./src/gen && grpc_tools_node_protoc --ts_out=service=grpc-node,mode=grpc-js:./src/gen --js_out=import_style=commonjs,binary:./src/gen --grpc_out=grpc_js:./src/gen -I ./ ./nitric/proto/**/*/*.proto"
},
"contributors": [
"Jye Cusch <[email protected]>",
"Tim Holm <[email protected]>",
"David Moore <[email protected]>"
],
"dependencies": {
"@grpc/grpc-js": "1.10.0",
"@nitric/grpc-error-status": "^0.0.2",
"google-protobuf": "3.14.0",
"portfinder": "^1.0.32",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"lint-staged": {
"src/**/*.{ts}": "yarn lint:fix"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"devDependencies": {
"@types/google-protobuf": "^3.15.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.17",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"codecov": "^3.8.3",
"eslint": "^7.24.0",
"eslint-plugin-jsdoc": "^46.9.1",
"glob-run": "^0.1.7",
"grpc-tools": "^1.11.3",
"husky": "^6.0.0",
"jest": "^29.0.10",
"license-check-and-add": "^4.0.2",
"licensee": "^8.2.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"standard-version": "^9.0.0",
"ts-jest": "^29.1.5",
"ts-node": "^10.9.1",
"ts-protoc-gen": "^0.15.0",
"tsconfig-paths": "^4.2.0",
"tsup": "^6.5.0",
"typescript": "^4.4"
},
"license-check-config": {
"src": [
"src/**/*.ts",
"!./node_modules/**/*"
],
"path": "assets/license_header.txt",
"blocking": true,
"logInfo": false,
"logError": true
}
}