generated from manoldonev/react-app-template-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
145 lines (145 loc) · 5.21 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "react-todo-app-ts",
"homepage": "https://manoldonev.github.io/react-todo-app-ts",
"version": "0.2.0",
"private": true,
"dependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@graphql-codegen/add": "^3.1.1",
"@graphql-codegen/cli": "^2.6.2",
"@graphql-codegen/introspection": "^2.1.1",
"@graphql-codegen/typescript": "^2.4.7",
"@graphql-codegen/typescript-msw": "^1.0.6",
"@graphql-codegen/typescript-operations": "^2.3.4",
"@graphql-codegen/typescript-react-query": "^4.0.0",
"@heroicons/react": "^2.0.0",
"@hookform/resolvers": "^2.8.8",
"@reach/dialog": "^0.18.0",
"@reach/visually-hidden": "^0.18.0",
"@react-hook/media-query": "^1.1.1",
"@rooks/use-mutation-observer": "^4.11.2",
"@sentry/react": "^7.11.1",
"@sentry/tracing": "^7.11.1",
"@tailwindcss/line-clamp": "^0.4.0",
"@tanstack/react-query": "^4.0.10",
"@tanstack/react-query-devtools": "^4.0.10",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.0.0",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.0.4",
"@types/headroom.js": "^0.12.2",
"@types/masonry-layout": "^4.2.5",
"@types/node": "^18.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"@vitejs/plugin-react": "^2.0.0",
"autoprefixer": "^10.4.2",
"axe-core": "^4.4.1",
"concurrently": "^7.1.0",
"cssnano": "^5.0.17",
"cypress": "^10.0.0",
"cypress-axe": "^1.0.0",
"eslint": "^8.12.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest-dom": "^4.0.1",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"eslint-plugin-testing-library": "^5.3.0",
"gh-pages": "^4.0.0",
"graphql": "^16.2.0",
"headroom.js": "^0.12.0",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"immer": "^9.0.12",
"jotai": "^1.7.7",
"jsdom": "^20.0.0",
"lint-staged": "^13.0.0",
"masonry-layout": "^4.2.2",
"msw": "^0.44.0",
"postcss": "^8.4.5",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.2.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-error-boundary": "^3.1.4",
"react-hook-form": "^7.27.0",
"react-hot-toast": "^2.2.0",
"react-infinite-scroll-hook": "^4.0.1",
"react-intersection-observer-hook": "^2.0.4",
"react-router-dom": "^6.2.1",
"react-swipeable": "^7.0.0",
"tailwindcss": "^3.0.11",
"tsc-files": "^1.1.3",
"typescript": "^4.5.4",
"vite": "^3.0.0",
"vite-tsconfig-paths": "^4.0.0",
"vitest": "^0.20.2",
"wait-on": "^6.0.1",
"web-vitals": "^3.0.0",
"whatwg-fetch": "^3.6.2",
"yup": "^0.32.11"
},
"scripts": {
"start": "vite",
"build": "vite build",
"prepare": "husky install",
"predeploy": "pnpm run build",
"deploy": "gh-pages -d build",
"pretest": "npx tailwindcss -i ./src/index.css -o ./src/generated/output.css",
"pretest:related": "npx tailwindcss -i ./src/index.css -o ./src/generated/output.css",
"test": "vitest",
"test:related": "vitest related ./src/**/*.{ts,tsx} --run --passWithNoTests",
"posttest": "rm ./src/generated/output.css",
"posttest:related": "rm ./src/generated/output.css",
"lint:src": "eslint 'src/**/*.{ts,tsx}' --ignore-pattern 'src/**/*.test.ts' --ignore-pattern 'src/**/*.test.tsx' --quiet",
"lint:vitest": "eslint 'src/**/*.test.{ts,tsx}' --quiet",
"lint:cypress": "eslint 'cypress/**/*.ts' --quiet",
"lint": "pnpm run lint:src && pnpm run lint:vitest && pnpm run lint:cypress",
"lint:fix": "pnpm run lint:src --fix && pnpm run lint:vitest --fix && pnpm run lint:cypress --fix",
"prettier": "prettier --check src",
"graphql:codegen": "graphql-codegen --config .graphqlrc.yml",
"cy:open": "npx cypress open",
"cy:run": "npx cypress run",
"cypress": "VITE_API_MOCKING=enabled concurrently 'pnpm start' '$(pnpm bin)/wait-on http-get://localhost:5173 --config wait-on.config.js && pnpm run cy:open' --kill-others --success first",
"cypress:ci": "VITE_API_MOCKING=enabled concurrently 'pnpm start' '$(pnpm bin)/wait-on http-get://localhost:5173 --config wait-on.config.js && pnpm run cy:run' --kill-others --success first"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"msw": {
"workerDirectory": "public"
},
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
"react": "18",
"react-dom": "18",
"@types/react": "18",
"graphql": "16",
"cypress": "10"
}
}
},
"packageManager": "pnpm@7.26.2"
}