-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.79 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
{
"name": "jikan-api-ts",
"version": "0.0.0",
"description": "",
"author": "Shahrad Elahi <shahrad@litehex.com> (https://github.com/shahradelahi)",
"license": "MIT",
"repository": "github:shahradelahi/jikan-api-ts",
"homepage": "https://github.com/shahradelahi/jikan-api-ts",
"keywords": [],
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist/**/*",
"!**/*.test.*"
],
"packageManager": "pnpm@9.7.0",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"lint": "pnpm typecheck && eslint .",
"lint:fix": "eslint --fix .",
"format:check": "prettier --check .",
"format": "prettier --write .",
"test": "mocha \"**/*.test.ts\" --retries 2",
"api-docs": "curl -o src/api-docs.json https://raw.githubusercontent.com/jikan-me/jikan-rest/master/storage/api-docs/api-docs.json && openapi typegen src/api-docs.json > src/autogenerated.types.ts && tsx transform.ts",
"prepublishOnly": "pnpm api-docs && pnpm test && pnpm lint && pnpm format:check && pnpm build"
},
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.0",
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"@sindresorhus/tsconfig": "^6.0.0",
"@types/chai": "^4.3.19",
"@types/mocha": "^10.0.7",
"@types/node": "^22.4.1",
"@typescript-eslint/eslint-plugin": "^8.1.0",
"chai": "^5.1.1",
"eslint": "^9.9.0",
"globals": "^15.9.0",
"mocha": "^10.7.3",
"openapicmd": "^2.4.0",
"prettier": "^3.3.3",
"tsup": "^8.2.4",
"tsx": "^4.19.0",
"typescript": "^5.5.4"
},
"dependencies": {
"axios": "^1.7.7",
"axios-cache-interceptor": "^1.5.3",
"openapi-client-axios": "^7.5.5"
},
"peerDependencies": {
"axios": "^1",
"axios-cache-interceptor": "^1"
}
}