-
Notifications
You must be signed in to change notification settings - Fork 32
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.37 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 2.37 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
{
"name": "@shortcut/client",
"version": "3.2.2",
"description": "A library for interacting with the Shortcut REST API",
"homepage": "https://github.com/useshortcut/shortcut-client-js#readme",
"bugs": {
"url": "https://github.com/useshortcut/shortcut-client-js/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/useshortcut/shortcut-client-js.git"
},
"files": [
"lib"
],
"type": "commonjs",
"sideEffects": false,
"main": "./lib/index.cjs",
"module": "./lib/index.mjs",
"types": "./lib/index.d.cts",
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.cjs"
}
},
"scripts": {
"build": "yarn build:client && yarn build:add-typedoc-comments && NODE_OPTIONS=\"--no-experimental-strip-types\" tsdown",
"build:add-typedoc-comments": "npx jscodeshift -t scripts/add-typedoc-comments.ts --extensions=ts --parser=ts src/generated/**",
"build:client": "swagger-typescript-api generate --path ./schema/shortcut.swagger.json --output ./src/generated --clean-output --axios --modular --templates ./templates",
"build:docs": "typedoc ./src --exclude 'src/__tests__/**'",
"check-exports": "attw --pack .",
"format": "oxfmt",
"format:check": "oxfmt --check",
"lint": "oxlint src examples",
"prepublishOnly": "yarn build",
"sync:schema": "curl --silent https://developer.shortcut.com/api/rest/v3/shortcut.swagger.json --output ./schema/shortcut.swagger.json && yarn validate:schema",
"test": "vitest",
"validate:examples": "npx tsc --project examples/tsconfig.json",
"validate:schema": "swagger-cli validate ./schema/shortcut.swagger.json"
},
"dependencies": {
"axios": "^1.15.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.1",
"@total-typescript/tsconfig": "1.0.4",
"@types/jscodeshift": "17.3.0",
"@types/node": "22.15.30",
"jscodeshift": "17.3.0",
"oxfmt": "0.46.0",
"oxlint": "1.61.0",
"stream-to-blob": "2.0.1",
"swagger-cli": "4.0.4",
"swagger-typescript-api": "13.6.10",
"tsdown": "0.21.10",
"typedoc": "0.28.19",
"typedoc-plugin-merge-modules": "7.0.0",
"typescript": "6.0.3",
"vitest": "4.1.5"
},
"packageManager": "[email protected]+sha512.64df448055b2d37ba269d7db535a469b8da93f8ef1140c25fd7a83c00a8fbaacb214ca0e02553b92a2c54cef78bb67d0b4817fab02001df0e24fac0faccc3b42"
}