-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.56 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
{
"name": "anime-browsing",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint .",
"lint:fix": "eslint --fix",
"test": "jest",
"format": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc.json",
"generate-types": "graphql-codegen --config codegen.ts",
"generate-gql-type": "npx apollo codegen:generate --localSchemaFile=graphql-schema.json --target=typescript --tagName=gql",
"generate-graphql-schema": "npx apollo schema:download --endpoint=https://graphql.anilist.co/ graphql-schema.json",
"get-schema": "get-graphql-schema https://graphql.anilist.co/ > schema.graphql",
"prepare": "husky install",
"cypress:open": "cypress open"
},
"dependencies": {
"@apollo/client": "^3.7.4",
"@fortawesome/fontawesome-svg-core": "^6.2.1",
"@fortawesome/free-solid-svg-icons": "^6.2.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"apollo-link-rest": "^0.9.0",
"get-graphql-schema": "^2.1.2",
"graphql": "^16.6.0",
"pusher-js": "^8.0.1",
"qs": "^6.11.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.7.0",
"recoil": "^0.7.6",
"ts-node": "^10.9.1",
"vite-plugin-svgr": "^2.4.0"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@graphql-codegen/cli": "^2.16.4",
"@graphql-codegen/typescript": "^2.8.7",
"@graphql-codegen/typescript-resolvers": "^2.7.12",
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@typescript-eslint/eslint-plugin": "^5.49.0",
"@typescript-eslint/parser": "^5.49.0",
"@vitejs/plugin-react": "^3.0.0",
"autoprefixer": "^10.4.13",
"babel-jest": "^29.5.0",
"chai": "^4.3.10",
"cypress": "^13.6.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.1",
"husky": "^8.0.3",
"jest": "^29.5.0",
"lint-staged": "^13.1.2",
"mocha": "^10.2.0",
"postcss": "^8.4.21",
"prettier": "^2.8.3",
"prettier-plugin-tailwindcss": "^0.2.1",
"react-test-renderer": "^18.2.0",
"tailwindcss": "^3.2.4",
"ts-jest": "^29.0.5",
"typescript": "^4.9.3",
"vite": "^4.0.4",
"vite-plugin-pwa": "^0.14.3"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"npm run lint:fix"
]
}
}