-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.46 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
{
"name": "food-menu-frontend-challenge",
"private": true,
"version": "0.0.1",
"type": "module",
"main": "index.js",
"repository": "https://github.com/johanguse/food-menu-frontend-challenge.git",
"homepage": "https://johanguse.github.io/food-menu-frontend-challenge",
"author": "Johan Guse <[email protected]>",
"license": "MIT",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint .",
"preview": "vite preview",
"predeploy": "npm run build",
"deploy": "gh-pages -d dist",
"format:svg": "prettier --write '**/*.svg' --parser 'html'",
"format": "prettier --write . && npm format:svg",
"prepare": "husky install",
"test": "npm run test:unit && npm run test:e2e",
"test:unit": "vitest run --run",
"test:unit-watch": "vitest",
"test:e2e": "playwright test",
"test:e2e-ui": "playwright test --ui"
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint --fix"
],
"**/*.svg": "prettier --write --ignore-unknown --parser 'html'",
"**/*": "prettier --write --ignore-unknown"
},
"dependencies": {
"class-variance-authority": "^0.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vite-tsconfig-paths": "^4.3.1",
"zustand": "^4.5.1"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",
"@playwright/test": "^1.41.2",
"@svgr/core": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/node": "^20.11.20",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.6.0",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"gh-pages": "^6.1.1",
"husky": "^9.0.11",
"jsdom": "^24.0.0",
"lint-staged": "^15.2.2",
"postcss": "^8.4.35",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"tailwindcss": "^3.4.1",
"ts-node": "^10.9.2",
"typescript": "^5.2.2",
"vite": "^5.1.4",
"vite-plugin-svgr": "^4.2.0",
"vitest": "^1.3.1"
}
}