-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
112 lines (112 loc) · 3.04 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "hoyoapi",
"version": "1.2.0",
"description": "HoYoAPI is an unofficial API Wrapper library developed to facilitate communication with the official HoYoLab API.",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./gi": {
"import": "./dist/esm/client/gi/index.mjs",
"require": "./dist/cjs/client/gi/index.js",
"types": "./dist/types/client/gi/index.d.ts"
},
"./hi": {
"import": "./dist/esm/client/hi/index.mjs",
"require": "./dist/cjs/client/hi/index.js",
"types": "./dist/types/client/hi/index.d.ts"
},
"./hsr": {
"import": "./dist/esm/client/hsr/index.mjs",
"require": "./dist/cjs/client/hsr/index.js",
"types": "./dist/types/client/hsr/index.d.ts"
},
"./hoyolab": {
"import": "./dist/esm/client/hoyolab/index.mjs",
"require": "./dist/cjs/client/hoyolab/index.js",
"types": "./dist/types/client/hoyolab/index.d.ts"
}
},
"types": "./dist/types/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"scripts": {
"prepare": "husky install",
"format": " npx prettier --ignore-path .gitignore \"**/*.{ts,js,json,mjs,tsx}\" -w",
"lint": "eslint --ignore-path .gitignore \"**/*.{ts,js,json,mjs,tsx}\" --fix",
"build": "ts-node scripts/build.ts",
"test": "npm run type-check && ava",
"test:coverage": "npm run type-check && c8 ava",
"test:watch": "ava --watch",
"type-check": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vermaysha/hoyoapi.git"
},
"keywords": [
"hoyolab-api",
"hoyoverse-api",
"genshin-api",
"honkai-api"
],
"author": "Ashary Vermaysha",
"license": "MIT",
"bugs": {
"url": "https://github.com/vermaysha/hoyoapi/issues"
},
"homepage": "https://github.com/vermaysha/hoyoapi#readme",
"lint-staged": {
"*.{ts,tsx,js,json}": [
"prettier --write --ignore-unknown"
],
"*.{ts,tsx}": "eslint --fix"
},
"files": [
"dist/**/*"
],
"engines": {
"node": ">=8.17"
},
"ava": {
"files": [
"tests/**/*.test.ts"
],
"timeout": "5m",
"extensions": [
"ts"
],
"require": [
"ts-node/register"
]
},
"packageManager": "^[email protected]",
"devDependencies": {
"@commitlint/cli": "17.6.6",
"@commitlint/config-conventional": "17.6.6",
"@types/eslint": "latest",
"@types/node": "20.3.3",
"@types/prettier": "latest",
"@types/sinon": "^10.0.15",
"@typescript-eslint/eslint-plugin": "5.61.0",
"@typescript-eslint/parser": "5.61.0",
"ava": "^5.2.0",
"c8": "^8.0.0",
"concurrently": "^8.0.1",
"dotenv": "^16.0.3",
"esbuild": "^0.18.0",
"eslint": "8.44.0",
"eslint-config-prettier": "8.8.0",
"husky": "8.0.3",
"lint-staged": "13.2.3",
"nock": "^13.3.0",
"prettier": "2.8.8",
"sinon": "^15.0.3",
"tiny-glob": "^0.2.9",
"ts-node": "^10.9.1",
"tsx": "^3.12.6",
"typescript": "5.1.6"
}
}