-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 4.29 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
{
"name": "fe-template-hazem",
"private": true,
"version": "1.0.11",
"type": "module",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.(js|jsx|ts|tsx)": [
"eslint --fix",
"git add --force"
],
"*.+(json|css|md|mdx|js|jsx|ts|tsx)": [
"prettier --write",
"git add --force"
]
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"test": "vitest",
"test:ui": "vitest --ui",
"coverage": "vitest run --coverage",
"test-storybook": "test-storybook",
"preview": "vite preview",
"prepare": "husky install",
"lint": "eslint --ignore-path .eslintignore . --ext .js,.jsx,.ts,.tsx",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json|tsx|jsx)\"",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"chromatic": "chromatic",
"extract-messages": "formatjs extract \"src/**/!(*.d|*.test).{js,jsx,ts,tsx}\" --ignore \"src/*.d.ts\" --out-file src/lang/temp_en.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' && formatjs compile src/lang/temp_en.json --out-file src/lang/en.json && rm src/lang/temp_en.json",
"sync-locales": "node \"./src/lang/syncLocales.cjs\"",
"locale": "yarn extract-messages & yarn sync-locales",
"bundle-size": "vite-bundle-visualizer",
"release": "standard-version"
},
"resolutions": {
"styled-components": "^5"
},
"dependencies": {
"localforage": "^1.10.0",
"match-sorter": "^6.3.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.43.8",
"react-intl": "^6.3.2",
"react-query": "^3.39.3",
"react-router-dom": "^6.10.0",
"sort-by": "^1.2.0"
},
"devDependencies": {
"@babel/core": "^7.21.3",
"@commitlint/cli": "^17.5.1",
"@commitlint/config-conventional": "^17.4.4",
"@formatjs/cli": "^6.0.4",
"@hookform/devtools": "^4.3.1",
"@storybook/addon-docs": "^7.0.5",
"@storybook/addon-essentials": "^7.0.5",
"@storybook/addon-interactions": "^7.0.5",
"@storybook/addon-links": "^7.0.5",
"@storybook/addon-mdx-gfm": "^7.0.5",
"@storybook/addon-storysource": "^7.0.5",
"@storybook/blocks": "^7.0.5",
"@storybook/react": "^7.0.5",
"@storybook/react-vite": "^7.0.5",
"@storybook/test-runner": "^0.10.0",
"@storybook/testing-library": "^0.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.0.31",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vitejs/plugin-react": "^3.1.0",
"@vitest/coverage-c8": "^0.29.8",
"@vitest/ui": "^0.29.8",
"babel-loader": "^9.1.2",
"chalk": "4",
"chromatic": "^6.17.2",
"eslint": "^8.37.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-formatjs": "^4.9.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jsx": "^0.1.0",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-storybook": "^0.6.11",
"eslint-plugin-testing-library": "^5.10.3",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^8.0.3",
"jsdom": "^21.1.1",
"lint-staged": "^13.2.0",
"prettier": "^2.8.7",
"prop-types": "^15.8.1",
"sharp": "^0.32.0",
"standard-version": "^9.5.0",
"storybook": "^7.0.5",
"storybook-addon-designs": "^6.3.1",
"svgo": "^3.0.2",
"typescript": "^5.0.2",
"vite": "^4.2.1",
"vite-bundle-visualizer": "^0.6.0",
"vite-plugin-image-optimizer": "^1.1.2",
"vite-plugin-react-click-to-component": "^2.0.0",
"vite-plugin-svgr": "^2.4.0",
"vitest": "^0.29.8",
"yarn-upgrade-all": "^0.7.2"
}
}