-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
120 lines (120 loc) · 2.82 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
113
114
115
116
117
118
119
120
{
"name": "genshin-farming-helper",
"homepage": "https://helper.farm/",
"version": "1.0.0",
"description": "Proof of concept of a helper for keeping track while farming in Genshin Impact",
"keywords": [
"genshin impact",
"genshin",
"impact",
"farming"
],
"main": "src/index.jsx",
"type": "module",
"dependencies": {
"@emotion/react": "^11.13.5",
"@fontsource-variable/material-symbols-outlined": "^5.1.3",
"genshin-db": "^5.1.10",
"gh-pages": "^6.2.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@babel/runtime": "^7.26.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@vitejs/plugin-react": "^4.3.3",
"@vitest/coverage-v8": "^2.1.5",
"eslint": "^8.57.1",
"eslint-config-xo": "~0.45.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-vitest": "^0.5.4",
"jsdom": "^25.0.1",
"vite": "^5.4.11",
"vitest": "^2.0.5",
"xo": "^0.59.3"
},
"scripts": {
"build": "vite build",
"coverage": "vitest run --coverage",
"deploy": "gh-pages -d build",
"generate": "node src/scripts/generate-data.js",
"lint": "xo",
"lint:fix": "xo --fix",
"lint:watch": "npx nodemon -x npm run lint:fix --ext js,jsx,json",
"prebuild": "npm run generate",
"precoverage": "npm run generate",
"predeploy": "npm run build",
"prestart": "npm run generate",
"pretest": "npm run generate",
"publish": "npm run deploy",
"serve": "vite preview",
"start": "vite",
"test": "vitest"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"xo": {
"extends": [
"xo",
"xo-react"
],
"overrides": [
{
"files": "src/**/__tests__/*",
"plugins": [
"vitest"
],
"extends": [
"plugin:vitest/legacy-recommended"
]
}
],
"rules": {
"capitalized-comments": [
"error",
"always",
{
"ignorePattern": "v8|pragma|ignore|prettier-ignore",
"ignoreInlineComments": true,
"ignoreConsecutiveComments": true
}
],
"import/extensions": "off",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"parent",
"sibling",
"index"
]
}
],
"react/react-in-jsx-scope": "off",
"react/require-default-props": [
2,
{
"forbidDefaultForRequired": true,
"functions": "defaultArguments"
}
],
"react/no-unknown-property": [
2,
{
"ignore": [
"css"
]
}
]
}
}
}