-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) 路 3.34 KB
/
Copy pathpackage.json
File metadata and controls
102 lines (102 loc) 路 3.34 KB
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
{
"name": "frontend-interview-prep",
"private": true,
"version": "1.0.0",
"type": "module",
"description": "Professional frontend interview preparation with curated questions for Angular, React, Next.js, and Redux",
"author": "Hussein Tirawi",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/htirawi/frontend-interview-prep.git"
},
"bugs": {
"url": "https://github.com/htirawi/frontend-interview-prep/issues"
},
"homepage": "https://github.com/htirawi/frontend-interview-prep#readme",
"keywords": [
"angular",
"interview",
"preparation",
"questions",
"senior-developer",
"react",
"typescript",
"pwa",
"interview-prep"
],
"scripts": {
"dev": "vite",
"build": "tsc -b && vite build",
"preview": "vite preview",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 10",
"lint:strict": "eslint src/ --ext ts,tsx --max-warnings 0",
"lint:fix": "eslint . --ext ts,tsx --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"type-check": "tsc --noEmit",
"prepare": "husky install",
"validate": "pnpm lint && pnpm type-check && pnpm test",
"pre-push": "node scripts/pre-push-validation.js",
"check:any": "grep -r \"any\" src/ --include=\"*.ts\" --include=\"*.tsx\" | grep -v \"// eslint-disable\" | grep -v \"example\" | grep -v \"snippet\" || echo 'No any types found'",
"check:unused": "eslint src/ --ext ts,tsx --rule \"no-unused-vars: error\" --quiet",
"check:console": "grep -r \"console\\.\" src/ --include=\"*.ts\" --include=\"*.tsx\" | grep -v \"console.warn\" | grep -v \"console.error\" | grep -v \"// eslint-disable\" || echo 'No console statements found'"
},
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-remove-scroll": "^2.6.0",
"react-router-dom": "^7.9.3"
},
"devDependencies": {
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@eslint/js": "^9.36.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^22.7.7",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@typescript-eslint/parser": "^8.8.1",
"@vitejs/plugin-react": "^5.0.4",
"@vitest/coverage-v8": "^2.1.9",
"@vitest/ui": "^2.1.9",
"autoprefixer": "^10.4.21",
"eslint": "^9.11.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.12",
"globals": "^16.4.0",
"husky": "^8.0.3",
"jsdom": "^26.0.0",
"lint-staged": "^15.5.2",
"postcss": "^8.4.47",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"tailwindcss": "^3.4.14",
"typescript": "^5.6.2",
"vite": "^5.4.8",
"vite-plugin-pwa": "^0.17.5",
"vitest": "^2.1.3"
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --fix",
"prettier --write"
],
"*.{json,md,yml,yaml}": [
"prettier --write"
]
},
"engines": {
"node": ">=18.0.0",
"pnpm": ">=8.0.0"
}
}