-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
69 lines (69 loc) · 2.5 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
{
"name": "@shortcut/client",
"version": "1.1.0",
"description": "A Promise based library to the Shortcut REST API",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"bugs": {
"url": "https://github.com/useshortcut/shortcut-client-js/issues"
},
"homepage": "https://github.com/useshortcut/shortcut-client-js",
"readme": "https://github.com/useshortcut/shortcut-client-js#readme",
"repository": {
"type": "git",
"url": "https://github.com/useshortcut/shortcut-client-js.git"
},
"license": "MIT",
"scripts": {
"build": "yarn build:client && yarn build:add-typedoc-comments && tsc",
"build:client": "swagger-typescript-api -p ./schema/shortcut.swagger.json -o ./src/generated --clean-output --axios --modular --templates ./templates",
"build:add-typedoc-comments": "npx jscodeshift -t scripts/add-typedoc-comments.ts --extensions=ts --parser=ts src/generated/**",
"build:docs": "typedoc ./src --exclude 'src/__tests__/**'",
"validate:examples": "npx tsc examples/*.ts --noEmit",
"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",
"validate:schema": "swagger-cli validate ./schema/shortcut.swagger.json",
"lint": "eslint 'src/**/*.{js,ts}'",
"test": "jest",
"format": "prettier --write -l *.{json,md,prettierrc} '{src,scripts}/**/*.ts'",
"format:check": "prettier --check *.{json,md,prettierrc} '{src,scripts}/**/*.ts'"
},
"dependencies": {
"axios": "^1.5.0"
},
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/jscodeshift": "0.11.6",
"@types/node": "^20.5.7",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.48.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.4",
"jscodeshift": "^0.15.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.1",
"stream-to-blob": "^2.0.1",
"swagger-cli": "^4.0.4",
"swagger-typescript-api": "^13.0.3",
"ts-jest": "^29.1.1",
"typedoc": "0.25.0",
"typedoc-plugin-merge-modules": "5.1.0",
"typescript": "^5.2.2"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"<rootDir>/lib/",
"<rootDir>/node_modules/"
]
}
}