-
Notifications
You must be signed in to change notification settings - Fork 59
/
package.json
135 lines (135 loc) · 4.88 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
{
"name": "course-app",
"version": "0.1.0",
"private": true,
"type": "module",
"dependencies": {
"@reduxjs/toolkit": "^2.2.3",
"axios": "^1.6.8",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hooks-helper": "^1.6.0",
"react-loading-skeleton": "^3.4.0",
"react-lottie-player": "^2.0.0",
"react-multi-carousel": "^2.8.5",
"react-redux": "^9.1.1",
"react-router-dom": "^6.23.0",
"react-transition-group": "^4.4.5",
"styled-components": "^5.3.3",
"typescript": "^5.4.5",
"use-dark-mode": "^2.3.1"
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"test:ci": "vitest run",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build --output-dir build/storybook",
"build-storybook:test": "storybook build --output-dir build/storybook --test",
"build-all": "yarn build && yarn build-storybook",
"chromatic": "chromatic --project-token $CHROMATIC_PROJECT_TOKEN --exit-zero-on-changes --only-changed",
"prepare": "husky",
"lint": "eslint --fix .",
"prettier": "prettier --write .",
"pre-commit": "lint-staged",
"test-storybook": "test-storybook",
"test-storybook:json": "test-storybook --index-json",
"test-storybook:ci": "concurrently --kill-others --success first --names \"SB,TEST\" --prefix-colors \"magenta,blue\" \"yarn build-storybook:test && npx serve build/storybook --listen 6006 --no-request-logging\" \"wait-on tcp:6006 && yarn test-storybook\"",
"test-storybook:json:ci": "concurrently --kill-others --success first --names \"SB,TEST\" --prefix-colors \"magenta,blue\" \"yarn build-storybook:test && npx serve build/storybook --listen 6006 --no-request-logging\" \"wait-on tcp:6006 && SKIP_SNAPSHOTS=true yarn test-storybook:json\""
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.14.6",
"@chromatic-com/storybook": "^3.2.1",
"@ladle/react": "^4.1.2",
"@storybook/addon-a11y": "^8.5.0-beta.1",
"@storybook/addon-coverage": "^1.0.4",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-essentials": "^8.5.0-beta.1",
"@storybook/addon-themes": "^8.5.0-beta.1",
"@storybook/blocks": "^8.5.0-beta.1",
"@storybook/experimental-addon-test": "^8.5.0-beta.1",
"@storybook/manager-api": "^8.5.0-beta.1",
"@storybook/react": "^8.5.0-beta.1",
"@storybook/react-vite": "^8.5.0-beta.1",
"@storybook/test": "^8.5.0-beta.1",
"@storybook/test-runner": "^0.19.1",
"@storybook/theming": "^8.5.0-beta.1",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.12.7",
"@types/react": "^18.3.1",
"@types/react-dom": "^18.3.0",
"@types/react-hooks-helper": "^1.6.6",
"@types/react-redux": "^7.1.33",
"@types/react-transition-group": "^4.4.10",
"@types/styled-components": "^5.1.34",
"@types/testing-library__jest-dom": "^6.0.0",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-react": "^4.2.1",
"@vitest/browser": "2.1.2",
"@vitest/coverage-v8": "2.1.2",
"babel-loader": "8.1.0",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-open-source": "^1.3.3",
"c8": "^7.12.0",
"chromatic": "^11.12.5",
"concurrently": "^8.2.2",
"eslint": "^8.27.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-storybook": "^0.10.1",
"happy-dom": "^14.12.3",
"husky": ">=6",
"istanbul": "^0.4.5",
"jest-junit": "^16.0.0",
"lint-staged": ">=10",
"msw": "^2.2.2",
"msw-storybook-addon": "^2.0.3",
"playwright": "^1.46.0",
"prettier": "^3.2.5",
"react-is": "^18.3.1",
"react-test-renderer": "^18.3.1",
"storybook": "^8.5.0-beta.1",
"vite": "^4.0.0",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "2.1.2",
"vitest-axe": "^0.1.0",
"vitest-canvas-mock": "^0.3.3",
"wait-on": "^7.2.0"
},
"msw": {
"workerDirectory": "public"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --fix",
"*.{html,md}": "prettier --write"
},
"packageManager": "[email protected]",
"resolutions": {
"@use-it/event-listener@npm:^0.1.2": "patch:@use-it/event-listener@npm%3A0.1.7#~/.yarn/patches/@use-it-event-listener-npm-0.1.7-56ef42a654.patch"
}
}