-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 1.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
{
"name": "@evo/featureflags-client",
"version": "1.6.0",
"description": "GRPC node client for feature flags service",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=10.0.0",
"npm": ">=6.0.0"
},
"scripts": {
"tsc": "tsc",
"dev": "tsc -w",
"stubs:js": "pbjs -p protobuf -t static-module -w commonjs -o protostub/proto.js protobuf/featureflags/protobuf/service.proto",
"stubs:ts": "pbts -o protostub/proto.d.ts protostub/proto.js",
"build:stubs": "run-s \"stubs:js --\" \"stubs:ts --\"",
"build": "run-s \"tsc --\" \"build:stubs --\"",
"precommit": "lint-staged",
"pretty": "prettier --write \"./src/**/*.ts\"",
"test": "jest --coverage --bail --verbose --runInBand --detectOpenHandles --forceExit",
"test:watch": "npm run test -- --watchAll"
},
"author": "d.medvinskiy",
"license": "ISC",
"devDependencies": {
"@types/jest": "23.3.9",
"@types/node": "10.12.7",
"husky": "1.2.1",
"jest": "23.6.0",
"lint-staged": "8.1.0",
"npm-run-all": "4.1.5",
"prettier": "1.15.3",
"protobufjs": "6.8.0",
"ts-node": "7.0.1",
"typescript": "3.1.3"
},
"dependencies": {
"@grpc/grpc-js": "0.3.6",
"@grpc/proto-loader": "0.5.0",
"underscore": "^1.13.6"
},
"jest": {
"testURL": "http://localhost/",
"verbose": true,
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"transform": {
"^.+\\.(ts|tsx)$": "<rootDir>/preprocessor.js"
},
"testMatch": [
"**/__tests__/**/*.test.(ts|js)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/packaje.json",
"<rootDir>/packaje-lock.json",
"<rootDir>/coverage"
]
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
}
}