-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.76 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.76 KB
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@contract-case/case-connector",
"version": "0.28.2",
"type": "module",
"description": "Connector to allow ContractCase to run as a server. Use only if you're creating a custom wrapper for a new language",
"author": "Timothy Jones <timothy.l.jones@gmail.com> (https://github.com/TimothyJones)",
"homepage": "https://case.contract-testing.io/docs",
"license": "BSD-3-Clause",
"main": "./dist/cjs/src/index.cjs",
"types": "./dist/cjs/src/index.d.cts",
"exports": {
".": {
"import": {
"types": "./dist/src/index.d.ts",
"default": "./dist/src/index.js"
},
"require": {
"types": "./dist/cjs/src/index.d.cts",
"default": "./dist/cjs/src/index.cjs"
}
},
"./cjs": {
"types": "./dist/cjs/src/index.d.cts",
"require": "./dist/cjs/src/index.cjs"
}
},
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/case-contract-testing/case.git"
},
"bin": {
"case-connector": "./dist/bin/case-connector.mjs"
},
"scripts": {
"build:proto": "npm run build:proto:js && npm run build:proto:ts && npm run format:fix",
"build:proto:js": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:src/connectors/grpc --grpc_out=grpc_js:src/connectors/grpc ./proto/contract_case_stream.proto",
"build:proto:ts": "grpc_tools_node_protoc --js_out=import_style=commonjs,binary:src/connectors/grpc --grpc_out=grpc_js:src/connectors/grpc --plugin=protoc-gen-grpc=../../node_modules/grpc_tools_node_protoc_ts/bin/protoc-gen-ts ./proto/contract_case_stream.proto",
"build": "rimraf {dist,package} && duel --project tsconfig.build.json && webpack-cli",
"postbuild": "attw --pack || attw --pack -f json",
"lint": "eslint",
"lint:fix": "eslint --fix",
"lint:fix:proto": "protolint --fix ./proto",
"format:base": "prettier --parser typescript \"src/**/*.ts\"",
"format:check": "npm run format:base -- --list-different",
"format:fix": "npm run format:base -- --write "
},
"bugs": {
"url": "https://github.com/case-contract-testing/case/issues"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.2",
"@contract-case/case-maintainer-config": "0.28.2",
"@contract-case/eslint-config-case-maintainer": "0.28.2",
"@knighted/duel": "^2.1.6",
"@types/google-protobuf": "^3.15.12",
"@types/jest": "^30.0.0",
"@types/uuid": "^11.0.0",
"grpc_tools_node_protoc_ts": "^5.3.3",
"grpc-tools": "^1.12.4",
"prettier": "3.6.2",
"rimraf": "^6.1.2",
"source-map-loader": "^5.0.0",
"terser-webpack-plugin": "^5.3.14",
"ts-jest": "^29.4.5",
"ts-node": "^10.9.2",
"typescript": "5.9.3",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"@contract-case/case-connector-proto": "0.28.2",
"@contract-case/case-core": "0.28.2",
"@contract-case/case-entities-internal": "0.28.2",
"@grpc/grpc-js": "^1.13.3",
"@grpc/proto-loader": "^0.8.0",
"get-port": "^7.1.0",
"google-protobuf": "^4.0.2",
"pretty-format": "^30.2.0",
"uuid": "^13.0.0"
},
"stability": "stable",
"nx": {
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
"options": {
"cacheableOperations": [
"build",
"package",
"lint",
"format:check",
"test"
]
}
}
},
"targetDefaults": {
"prebuild": {
"dependsOn": [
"^prebuild"
]
},
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"{projectRoot}/build"
]
},
"package": {
"outputs": [
"{projectRoot}/dist"
]
}
}
}
}