-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
93 lines (93 loc) · 2.43 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
{
"name": "poro",
"version": "2.3.0",
"description": "Leaguepedia API & Riot League of Legends API & CommunityDragon & Data Dragon",
"main": "./dist/cjs/src/index.js",
"module": "./dist/esm/src/index.js",
"types": "./dist/esm/src/index.d.ts",
"exports": {
"require": "./dist/cjs/src/index.js",
"import": "./dist/esm/src/index.js"
},
"sideEffects": false,
"scripts": {
"format": "prettier --write src/**/*.ts",
"gen:cargo": "tsx ./scripts/gen.ts --mode=1",
"gen:riot": "tsx ./scripts/gen.ts --mode=2",
"test:cargo": "vitest --update cargo",
"test:riot": "vitest --update riot",
"clean": "rimraf ./dist",
"build": "pnpm clean && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"lint": "eslint src/**/*.{ts,tsx} --fix",
"release": "pnpm build && release-it"
},
"files": [
"dist/cjs/src",
"dist/esm/src"
],
"keywords": [
"api",
"league of legends",
"lol",
"riot",
"leaguepedia",
"communitydragon",
"data dragon"
],
"author": "pacexy",
"license": "MIT",
"homepage": "https://github.com/pacexy/poro",
"repository": {
"type": "git",
"url": "https://github.com/pacexy/poro"
},
"bugs": {
"url": "https://github.com/pacexy/poro/issues"
},
"dependencies": {
"axios": "^0.21.1",
"axios-retry": "^3.1.9",
"limiter": "^2.1.0",
"lodash": "^4.17.21",
"p-queue": "^6.6.2",
"request": "^2.88.2",
"riot-ratelimiter": "^0.1.5",
"ts-morph": "^11.0.3",
"tslib": "^2.3.1"
},
"devDependencies": {
"@types/jsdom": "^21.1.6",
"@types/lodash": "^4.14.172",
"@types/node": "^16.4.2",
"@types/prettier": "^2.3.2",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"jsdom": "^22.1.0",
"lint-staged": "^10.2.11",
"prettier": "^2.3.2",
"release-it": "^14.11.5",
"rimraf": "^3.0.2",
"simple-git-hooks": "^2.9.0",
"tsx": "^4.5.0",
"typescript": "^5.3.2",
"vitest": "^0.34.6"
},
"release-it": {
"github": {
"release": true,
"web": true
}
},
"lint-staged": {
"*.{js,json,yml,yaml,css,scss,ts,tsx,md}": "prettier --write",
"*.{js,ts,tsx}": "eslint --fix"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
}
}