-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
212 lines (212 loc) · 6.58 KB
/
Copy pathpackage.json
File metadata and controls
212 lines (212 loc) · 6.58 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"name": "flashcards-app-frontend",
"version": "1.0.0",
"description": "",
"main": "./dist/main.tsx",
"author": "Refael Ben Zvi",
"license": "MIT",
"scripts": {
"start": "pnpm run build & pnpm run serve",
"start:test": "pnpm run build:test & pnpm run serve:test",
"build": "cross-env VITE_ENV=production SOURCE_MAP=true vite build",
"build:test": "cross-env VITE_ENV=test SOURCE_MAP=true vite build",
"serve": "vite preview",
"clean": "rimraf dist main src/out",
"commit": "cz",
"dev": "cross-env VITE_ENV=development vite",
"dev:test": "cross-env VITE_ENV=test vite",
"extract-translations": "i18next --fail-on-warnings",
"prepare:husky": "husky install",
"lint": "pnpm lint:tsc && pnpm lint:eslint",
"lint:eslint": "eslint --fix --cache --ignore-path .gitignore --ext .ts,.tsx src",
"lint:tsc": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:watch-all": "jest --watch-all",
"test:ci": "jest --ci",
"test:e2e": "cypress open",
"test:e2e:headless": "cypress run",
"test:e2e:ci": "cross-env VITE_ENV=test vite build && start-server-and-test serve http://localhost:4000 'cypress run --record'",
"coverage:jest": "start ./coverage/jest/lcov-report/index.html",
"coverage:cypress": "start ./coverage/cypress/lcov-report/index.html",
"validate": "pnpm lint && pnpm test:ci && pnpm test:e2e:headless",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"@emotion/babel-plugin-jsx-pragmatic": "^0.1.5",
"@emotion/css": "^11.9.0",
"@emotion/react": "^11.7.1",
"@emotion/styled": "^11.6.0",
"@formkit/auto-animate": "1.0.0-beta.1",
"@xstate/react": "^3.0.0",
"axios": "^0.24.0",
"clsx": "^1.1.1",
"detect-it": "^4.0.1",
"formik": "^2.2.9",
"framer-motion": "^6.5.1",
"i18next": "^21.6.3",
"i18next-browser-languagedetector": "^6.1.2",
"i18next-http-backend": "^1.3.1",
"immer": "^9.0.7",
"lodash": "^4.17.21",
"millify": "^4.0.0",
"moment": "^2.29.1",
"nprogress": "^0.2.0",
"react": "^18.1.0",
"react-device-detect": "^2.2.2",
"react-dom": "^18.1.0",
"react-error-boundary": "^3.1.4",
"react-i18next": "^11.15.1",
"react-number-format": "^4.9.1",
"react-query": "^3.34.6",
"react-router": "^6.2.1",
"react-router-dom": "^6.2.1",
"react-select": "^5.4.0",
"react-spinners-kit": "^1.9.1",
"react-transition-group": "^4.4.2",
"react-tsparticles": "^2.1.3",
"recoil": "^0.5.2",
"tsparticles": "^2.1.3",
"twin.macro": "^3.0.0-rc.3",
"ua-parser-js": "^1.0.2",
"use-long-press": "^2.0.2",
"xstate": "^4.32.1",
"yup": "^0.32.11"
},
"devDependencies": {
"@babel/core": "^7.16.12",
"@babel/plugin-syntax-jsx": "^7.16.7",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.5",
"@cypress/code-coverage": "^3.9.12",
"@iconify/json": "^1.1.447",
"@nabla/vite-plugin-eslint": "^1.3.5",
"@rollup/plugin-replace": "^3.0.1",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/addons": "^6.5.9",
"@storybook/builder-vite": "^0.2.0",
"@storybook/react": "^6.5.9",
"@storybook/testing-library": "^0.0.13",
"@storybook/theming": "^6.5.9",
"@svgr/core": "^5.5.0",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/line-clamp": "^0.4.0",
"@tailwindcss/postcss7-compat": "2.1.4",
"@tailwindcss/typography": "^0.5.4",
"@testing-library/cypress": "^8.0.2",
"@types/css-mediaquery": "^0.1.1",
"@types/jest": "^27.0.3",
"@types/lodash": "^4.14.182",
"@types/nprogress": "^0.2.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.10",
"@types/react-motion": "^0.0.33",
"@types/react-router-config": "^5.0.4",
"@types/react-router-dom": "^5.3.2",
"@types/react-transition-group": "^4.4.4",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"@vitejs/plugin-react": "^2.0.0",
"autoprefixer": "^10.4.0",
"babel-loader": "^8.2.5",
"babel-plugin-transform-import-meta": "^2.1.0",
"babel-preset-react-app": "^10.0.1",
"babel-preset-vite": "^1.0.4",
"chance": "^1.1.8",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"css-mediaquery": "^0.1.2",
"cssnano": "^5.1.12",
"cypress": "^9.2.0",
"cypress-localstorage-commands": "^1.7.0",
"cz-conventional-changelog": "^3.3.0",
"daisyui": "^1.25.4",
"esbuild": "^0.14.14",
"eslint": "^8.21.0",
"eslint-config-airbnb": "^19.0.2",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-editorconfig": "^3.2.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^25.3.0",
"eslint-plugin-jest-dom": "^3.9.2",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-react-prefer-function-component": "^0.0.7",
"eslint-plugin-testing-library": "^5.0.1",
"eslint-plugin-unicorn": "^39.0.0",
"highlight.js": "^11.4.0",
"husky": "^7.0.4",
"i18next-parser": "^5.3.0",
"jest": "^27.4.7",
"jest-circus": "^27.4.6",
"jest-watch-typeahead": "^1.0.0",
"lint-staged": "^12.3.4",
"msw": "^0.38.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
"rimraf": "^3.0.2",
"rollup-plugin-istanbul": "^3.0.0",
"sass": "^1.47.0",
"serve": "^13.0.2",
"start-server-and-test": "^1.14.0",
"storybook-dark-mode": "^1.1.0",
"tailwindcss": "3.1.6",
"typescript": "^4.7.4",
"unplugin-auto-import": "^0.11.1",
"unplugin-icons": "^0.14.8",
"vite": "3.0.2",
"vite-plugin-babel-macros": "^1.0.6",
"vite-plugin-inspect": "^0.6.0",
"vite-plugin-pages": "^0.25.0",
"vite-plugin-pwa": "^0.12.3",
"vite-plugin-react-md": "^1.0.1",
"vite-tsconfig-paths": "^3.3.17",
"workbox-build": "^6.5.4",
"workbox-core": "^6.5.4",
"workbox-routing": "^6.5.4",
"workbox-strategies": "^6.5.4"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --cache",
"jest --findRelatedTests --coverage=false"
]
},
"nyc": {
"report-dir": "coverage/cypress",
"reporter": [
"lcov"
]
},
"directories": {
"test": "tests"
},
"repository": {
"type": "git",
"url": "git+https://github.com/flashcards-app/frontend.git"
},
"keywords": [],
"bugs": {
"url": "https://github.com/flashcards-app/frontend/issues"
},
"homepage": "https://github.com/flashcards-app/frontend/#readme",
"msw": {
"workerDirectory": "public"
}
}