-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.62 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 4.62 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
{
"name": "@serverlessworkflow/sdk",
"version": "1.0.3-alpha1",
"schemaVersion": "1.0.3",
"description": "Typescript SDK for Serverless Workflow Specification",
"type": "commonjs",
"main": "./index.cjs",
"module": "./index.mjs",
"browser": "./index.umd.min.js",
"types": "./index.d.mts",
"typings": "./index.d.mts",
"exports": {
".": {
"import": {
"types": "./index.d.mts",
"default": "./index.mjs"
},
"require": {
"types": "./index.d.cts",
"default": "./index.cjs"
},
"default": "./index.mjs"
},
"./package.json": "./package.json"
},
"files": [
"*.cjs",
"*.mjs",
"*.js",
"*.d.ts",
"*.d.cts",
"*.d.mts",
"*.map",
"README.md",
"LICENSE",
"package.json"
],
"sideEffects": false,
"packageManager": "npm@11.5.1",
"scripts": {
"rimraf": "npx rimraf",
"tsc": "npx tsc",
"ts-node": "npx ts-node",
"oxlint": "npx oxlint",
"oxfmt": "npx oxfmt",
"lint-staged": "npx lint-staged",
"clean": "npx rimraf dist coverage",
"tools:1_download-schemas": "npx ts-node --project ./tools/tsconfig.json ./tools/1_download-schemas.ts",
"tools:2_generate-definitions": "npx ts-node --project ./tools/tsconfig.json ./tools/2_generate-definitions.ts",
"tools:3_generate-validation-pointers": "npx ts-node --project ./tools/tsconfig.json ./tools/3_generate-validation-pointers.ts",
"tools:4_generate-classes": "npx ts-node --project ./tools/tsconfig.json ./tools/4_generate-classes.ts",
"tools:5_generate-builders": "npx ts-node --project ./tools/tsconfig.json ./tools/5_generate-builders.ts",
"codegen": "npm run tools:1_download-schemas && npm run tools:2_generate-definitions && npm run tools:3_generate-validation-pointers && npm run tools:4_generate-classes && npm run tools:5_generate-builders && npm run format",
"codegen:check": "npm run codegen && git diff --exit-code -- src/lib/generated",
"update-code-base": "npm run codegen && npm run test && npm run format && npm run lint",
"format": "npx oxfmt --config ./.oxfmtrc.json --write src tests tools scripts vitest.config.mjs tsdown.config.mjs",
"format:check": "npx oxfmt --config ./.oxfmtrc.json --check src tests tools scripts vitest.config.mjs tsdown.config.mjs",
"lint": "npx oxlint -c ./.oxlintrc.json . && npm run format:check",
"typecheck:tools": "npx tsc --project ./tsconfig.typecheck.json --noEmit",
"typecheck:tests": "npx tsc --project ./tests/tsconfig.json --noEmit",
"typecheck": "npm run typecheck:tools && npm run typecheck:tests",
"test": "npm run typecheck && npx vitest run",
"test:watch": "npx vitest",
"build": "npm run clean && npx tsdown --config ./tsdown.config.mjs && node ./scripts/prepare-dist-package.mjs",
"release:preflight": "node ./scripts/release-preflight.mjs",
"validate:publish": "node ./scripts/validate-package-tools.mjs",
"verify-publish-directory": "node ./scripts/verify-publish-directory.mjs",
"prepack": "npm run verify-publish-directory",
"prepublishOnly": "npm run verify-publish-directory",
"pack:dist": "node ./scripts/cleanup-tarballs.mjs && npm pack ./dist --cache ./.npm-cache",
"validate:tarball": "node ./scripts/validate-tarball.mjs",
"validate:package:dist": "npm run pack:dist && npm run validate:publish && npm run validate:tarball",
"validate:package": "npm run build && npm run validate:package:dist",
"prepare": "husky",
"serve": "npm run build && npx http-server -c-1 -o /examples/browser"
},
"dependencies": {
"ajv": "^8.18.0",
"ajv-formats": "^3.0.1",
"js-yaml": "^4.1.1"
},
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^15.3.1",
"@arethetypeswrong/cli": "^0.18.2",
"@types/js-yaml": "^4.0.9",
"@types/yargs": "^17.0.32",
"http-server": "^14.1.1",
"husky": "^9.1.7",
"json-schema-to-typescript": "^15.0.4",
"lint-staged": "^16.4.0",
"oxfmt": "^0.45.0",
"oxlint": "^1.56.0",
"publint": "^0.3.18",
"rimraf": "^6.0.1",
"ts-inference-check": "^0.3.0",
"ts-morph": "^28.0.0",
"ts-node": "^10.9.2",
"tsdown": "^0.21.8",
"typescript": "^6.0.2",
"vitest": "^4.1.0",
"yargs": "^18.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/serverlessworkflow/sdk-typescript.git"
},
"author": {
"name": "Serverless Workflow Contributors",
"url": "https://serverlessworkflow.io"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/serverlessworkflow/sdk-typescript/issues"
},
"homepage": "https://serverlessworkflow.io",
"engines": {
"node": ">=22.0.0",
"npm": ">=10.0.0"
}
}