-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
69 lines (69 loc) · 2.59 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": "@autifyhq/autify-sdk",
"version": "0.23.0",
"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": ">=20.16.0"
},
"dependencies": {
"axios": "^1.7.9",
"axios-logger": "^2.8.1",
"debug": "^4.4.0",
"form-data": "^4.0.1",
"tslib": "^2.8.1"
},
"devDependencies": {
"@openapitools/openapi-generator-cli": "^2.15.3",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.10",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"axios-mock-adapter": "^1.22.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-unused-imports": "^3.2.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.11",
"prettier": "^3.4.2",
"shx": "^0.3.4",
"ts-jest": "^29.2.5",
"ts-morph": "^23.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.7.2"
},
"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"
]
}
}