-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.json
79 lines (79 loc) · 2.77 KB
/
template.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
{
"package": {
"scripts": {
"start": "vite",
"start:mock": "VITE_MOCK=true vite",
"build": "tsc && vite build",
"serve": "vite preview",
"build:local": "env-cmd -f .env.development.local yarn build",
"build:dev": "env-cmd -f .env.development yarn build",
"build:prod": "env-cmd -f .env.production yarn build",
"test": "vitest watch",
"test:no-watch": "vitest run",
"test:coverage": "vitest run --coverage",
"i18n-compile": "yarn ttag update src/i18n/translations/pt.po src/ && npx ttag update src/i18n/translations/en.po src/ && npx ttag po2json src/i18n/translations/pt.po > src/i18n/translations/pt.po.json && npx ttag po2json src/i18n/translations/en.po > src/i18n/translations/en.po.json",
"i18n-init": "yarn ttag init en src/i18n/translations/en.po && npx ttag init pt src/i18n/translations/pt.po"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@hookform/devtools": "^4.3.0",
"@hookform/resolvers": "^2.9.10",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.4",
"@tanstack/react-query": "^4.22.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"axios": "^1.2.2",
"date-fns": "^2.29.3",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.42.1",
"react-query": "^3.39.2",
"react-router": "^6.6.2",
"react-router-dom": "^6.6.2",
"react-syntax-highlighter": "^15.5.0",
"react-toastify": "^9.1.1",
"store": "^2.0.12",
"ttag": "^1.7.24",
"typescript": "^4.9.4",
"valtio": "^1.9.0",
"vite": "^4.0.4",
"yup": "^0.32.11"
},
"devDependencies": {
"@tanstack/react-query-devtools": "^4.22.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@types/node": "^18.11.18",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@types/react-syntax-highlighter": "^15.5.6",
"@types/store": "^2.0.2",
"@vitejs/plugin-react": "^3.0.1",
"axios-mock-adapter": "^1.21.2",
"c8": "^7.12.0",
"env-cmd": "^10.1.0",
"jsdom": "^21.0.0",
"msw": "^0.49.2",
"node-sass": "^8.0.0",
"ts-node": "^10.9.1",
"ttag-cli": "^1.10.5",
"vite-plugin-svgr": "^2.4.0",
"vite-tsconfig-paths": "^4.0.3",
"vitest": "^0.27.1"
},
"eslintConfig": {
"extends": ["react-app"]
},
"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"
}
}
}