-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
145 lines (145 loc) · 4.39 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": "base-react-typescript-project",
"description": "A base react typescript project",
"version": "0.1.0",
"private": true,
"type": "module",
"author": {
"name": "Lucian Caetano"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/luciancaetano/base-react-typescript-project.git"
},
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "is-ci \"test:coverage\" \"test:jest\"",
"test:staged": "cross-env CI=1 react-scripts test --findRelatedTests",
"test:jest": "jest",
"test:coverage": "cross-env CI=1 yarn test:jest -- --coverage",
"postinstall": "husky install",
"cy:run": "cypress run",
"cy:install": "cypress install",
"cy:open": "cypress open",
"pretest:e2e:run": "yarn build",
"test:e2e:dev": "start-server-and-test start:cli http://localhost:3000 cy:open",
"test:e2e": "is-ci \"test:e2e:run\" \"test:e2e:dev\"",
"test:e2e:run": "start-server-and-test serve http://localhost:3000 cy:run",
"lint": "eslint --fix --ext .js,.ts,.tsx ./src --ignore-path .gitignore",
"serve": "serve --no-clipboard --single --listen 3000 dist",
"generate": "plop",
"validate-types": "tsc --project tsconfig.json --pretty --noEmit",
"validate": "yarn validate-types && yarn lint && yarn test"
},
"dependencies": {
"@headlessui/react": "^1.7.18",
"@hookform/resolvers": "^3.3.4",
"@stylistic/eslint-plugin": "^1.6.2",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.19",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@vitejs/plugin-react": "^4.2.1",
"axios": "^1.6.7",
"clsx": "^2.1.0",
"dayjs": "^1.11.10",
"history": "^5.3.0",
"i18next": "^23.9.0",
"i18next-browser-languagedetector": "^7.2.0",
"intersection-observer": "^0.12.2",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"marked": "^12.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.12",
"react-helmet-async": "^2.0.4",
"react-hook-form": "^7.50.1",
"react-i18next": "^14.0.5",
"react-icons": "^5.0.1",
"react-router-dom": "^6.22.1",
"type-fest": "^4.10.2",
"typescript": "^5.3.3",
"uuid": "^9.0.1",
"vite": "^5.1.3",
"vite-tsconfig-paths": "^4.3.1",
"web-vitals": "^3.5.2",
"zustand": "^4.5.1"
},
"devDependencies": {
"@mswjs/data": "^0.16.1",
"@stylistic/eslint-plugin-ts": "^1.6.2",
"@testing-library/cypress": "^10.0.1",
"@testing-library/react-hooks": "^8.0.1",
"@types/dompurify": "^3.0.5",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.14.202",
"@types/marked": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"autoprefixer": "^10",
"browserslist-to-esbuild": "^2.1.1",
"cross-env": "^7.0.3",
"cypress": "^13.6.4",
"eslint": "^8.56.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest-dom": "^5.1.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-no-relative-import-paths": "^1.5.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"is-ci": "^3.0.1",
"is-ci-cli": "^2.2.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"msw": "^2.2.1",
"npm-run-all": "^4.1.5",
"plop": "^4.0.1",
"postcss": "^8",
"react-test-renderer": "^18.2.0",
"sass": "^1.71.0",
"serve": "^14.2.1",
"start-server-and-test": "^2.0.3",
"tailwindcss": "^3.4.1",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsconfig-paths-webpack-plugin": "^4.1.0"
},
"eslintConfig": {
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.+(ts|tsx|js)": [
"yarn lint",
"npm run test:staged",
"git add"
]
}
}