-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.65 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.65 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
{
"name": "@autifyhq/autify-sdk",
"version": "0.28.3",
"description": "Autify SDK for JavaScript",
"author": "Autify",
"homepage": "https://github.com/autifyhq/autify-sdk-js",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"repository": "autifyhq/autify-sdk-js",
"bugs": "https://github.com/autifyhq/autify-sdk-js/issues",
"files": [
"/dist"
],
"engines": {
"node": ">=22.16.0"
},
"dependencies": {
"axios": "^1.13.2",
"axios-logger": "^2.8.1",
"debug": "^4.4.3",
"form-data": "^4.0.4",
"tslib": "^2.8.1"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "^9.39.1",
"@openapitools/openapi-generator-cli": "^2.25.0",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/node": "^22.19.1",
"@typescript-eslint/eslint-plugin": "^8.46.4",
"@typescript-eslint/parser": "^8.46.4",
"axios-mock-adapter": "^2.1.0",
"eslint": "^9.39.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-unused-imports": "^4.3.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^16.2.6",
"prettier": "^3.6.2",
"shx": "^0.4.0",
"ts-jest": "^29.4.5",
"ts-morph": "^26.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.9.3"
},
"scripts": {
"update-swagger-web": "curl -o swagger-web.yml https://autifyhq.github.io/autify-api/swagger.yml",
"generate:openapi-client:web": "openapi-generator-cli generate -i ./swagger-web.yml -g typescript-axios -o src/generated/web/openapi --additional-properties withNodeImports=true,multipartFormData=true",
"generate:openapi-client:mobile": "openapi-generator-cli generate -i ./swagger-mobile.yml -g typescript-axios -o src/generated/mobile/openapi --additional-properties withNodeImports=true,multipartFormData=true",
"generate:sdk-client": "ts-node scripts/generate.ts",
"generate:client:web": "npm run update-swagger-web && npm run generate:openapi-client:web && npm run generate:sdk-client web",
"generate:client:mobile": "npm run generate:openapi-client:mobile && npm run generate:sdk-client mobile",
"generate": "npm run generate:client:web && npm run generate:client:mobile && npm run fix-html-escape && npm run lint && npm run format",
"build": "shx rm -rf dist && tsc -b",
"prepack": "npm run build",
"lint": "eslint . --ext .ts",
"fix-html-escape": "bash scripts/fixHtmlEscape.sh",
"format": "prettier --write '**/*.{md,json,yml,js,cjs,ts}'",
"prepare": "husky install",
"test": "jest test"
},
"lint-staged": {
"**/*.{md,json,yml,js,cjs}": "prettier --write",
"**/*.ts": [
"eslint",
"prettier --write"
]
}
}