-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
115 lines (115 loc) · 5.8 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
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
{
"name": "@hatchet-dev/typescript-sdk",
"version": "0.18.0",
"description": "Background task orchestration & visibility for developers",
"types": "dist/index.d.ts",
"files": [
"*",
"!**/*.test.js",
"!**/*.test.d.ts",
"!**/*.e2e.js",
"!**/*.e2e.d.ts"
],
"repository": {
"type": "git",
"url": "https://github.com/hatchet-dev/hatchet-typescript.git"
},
"scripts": {
"build": "echo 'build hatchet sdk with `npn run tsc:build` to ensure it is not build during the publish step' && exit 0",
"prepare": "npm run build",
"dump-version": "node -e \"console.log('export const HATCHET_VERSION = \\'' + require('./package.json').version + '\\';');\" > src/version.ts",
"tsc:build": "npm run dump-version && tsc && resolve-tspaths",
"test:unit": "jest --testMatch='**/*.test.ts'",
"test:e2e": "jest --testMatch='**/*.e2e.ts'",
"test:unit:watch": "jest --testMatch='**/*.test.ts' --watch",
"generate": "pnpm run '/generate-.*/'",
"generate-api": "npx --yes swagger-cli bundle ../oss/api-contracts/openapi/openapi.yaml --outfile openapi.yaml --type yaml && npx swagger-typescript-api -p openapi.yaml -o src/clients/rest/generated -n hatchet.ts --modular --axios",
"generate-protoc": "./generate-protoc.sh",
"lint:check": "npm run eslint:check && npm run prettier:check",
"lint:fix": "npm run eslint:fix && npm run prettier:fix",
"eslint:check": "eslint \"{src,tests}/**/*.{ts,tsx,js}\"",
"eslint:fix": "eslint \"{src,tests}/**/*.{ts,tsx,js}\" --fix",
"prettier:check": "prettier \"src/**/*.{ts,tsx}\" --list-different",
"prettier:fix": "prettier \"src/**/*.{ts,tsx}\" --write",
"exec": "npx dotenv -- ts-node -r tsconfig-paths/register --project tsconfig.json",
"example:event": "npm run exec -- ./src/examples/example-event.ts",
"example:event-listen": "npm run exec -- ./src/examples/example-event-with-results.ts",
"worker:namespaced": "npm run exec -- ./src/examples/namespaced-worker.ts",
"worker:rate": "npm run exec -- ./src/examples/rate-limit/worker.ts",
"example:rate": "npm run exec -- ./src/examples/rate-limit/events.ts",
"worker:fanout": "npm run exec -- ./src/examples/fanout-worker.ts",
"worker:simple": "npm run exec -- ./src/examples/simple-worker.ts",
"worker:affinity": "npm run exec -- ./src/examples/affinity-workers.ts",
"worker:sticky": "npm run exec -- ./src/examples/sticky-worker.ts",
"worker:sticky-with-check": "npm run exec -- ./src/examples/sticky-worker-with-check.ts",
"trigger:sticky": "npm run exec -- ./src/examples/sticky-trigger.ts",
"worker:on-failure": "npm run exec -- ./src/examples/on-failure.ts",
"manual:trigger": "npm run exec -- ./src/examples/manual-trigger.ts",
"manual:meta": "npm run exec -- ./src/examples/stream-by-additional-meta.ts",
"bulk:trigger": "npm run exec -- ./src/examples/bulk-trigger.ts",
"bulk:fanout:worker": "npm run exec -- ./src/examples/bulk-fanout-worker.ts",
"bulk:fanout:trigger": "npm run exec -- ./src/examples/bulk-fanout-trigger.ts",
"worker:dag": "npm run exec -- ./src/examples/dag-worker.ts",
"worker:concurrency": "npm run exec -- ./src/examples/concurrency/cancel-in-progress/concurrency-worker.ts",
"event:concurrency": "npm run exec -- ./src/examples/concurrency/cancel-in-progress/concurrency-event.ts",
"worker:concurrency:rr": "npm run exec -- ./src/examples/concurrency/group-round-robin/concurrency-worker-expression.ts",
"event:concurrency:rr": "npm run exec -- ./src/examples/concurrency/group-round-robin/concurrency-event.ts",
"worker:playground": "npm run exec -- ./src/examples/playground.ts",
"worker:retries": "npm run exec -- ./src/examples/retries-worker.ts",
"worker:retries-with-backoff": "npm run exec -- ./src/examples/retries-with-backoff.ts",
"worker:multi-workflow": "npm run exec -- ./src/examples/multi-workflow.ts",
"worker:logger": "npm run exec -- ./src/examples/logger.ts",
"api": "npm run exec -- ./src/examples/api.ts",
"prepublish": "cp package.json dist/package.json;",
"publish:ci": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks",
"publish:ci:alpha": "rm -rf ./dist && npm run dump-version && npm run tsc:build && npm run prepublish && cd dist && npm publish --access public --no-git-checks --tag alpha",
"generate-docs": "typedoc"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^22.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"autoprefixer": "^10.4.16",
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-unused-imports": "^4.1.3",
"grpc-tools": "^1.12.4",
"jest": "^29.7.0",
"prettier": "^3.1.1",
"resolve-tspaths": "^0.8.17",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"ts-proto": "^2.0.2",
"typedoc": "^0.27.1",
"typedoc-plugin-markdown": "^4.0.2",
"typescript": "^5.3.3"
},
"dependencies": {
"@bufbuild/protobuf": "^2.1.0",
"@types/qs": "^6.9.11",
"abort-controller-x": "^0.4.3",
"axios": "^1.6.7",
"long": "^5.2.3",
"nice-grpc": "^2.1.7",
"nice-grpc-common": "^2.0.2",
"protobufjs": "^7.2.6",
"qs": "^6.11.2",
"yaml": "^2.3.4",
"zod": "^3.22.4"
}
}