generated from Jagoda11/react-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) Β· 4.22 KB
/
package.json
File metadata and controls
95 lines (95 loc) Β· 4.22 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
{
"name": "github-insights-dashboard",
"homepage": "https://Jagoda11.github.io/github-insights-dashboard",
"version": "1.0.0",
"type": "module",
"description": "React app: dashboard for checking commit history with TypeScript, ESLint, Prettier, Jest, Husky, and TailwindCSS",
"main": "src/index.tsx",
"scripts": {
"start": "echo 'π Starting the app...' && webpack serve --config webpack.config.mjs && echo 'πβ¨ App is up and running! Visit http://localhost:3002/github-insights-dashboard/ β¨'",
"build": "echo 'π¨ Building the app...' && webpack --config webpack.config.mjs && echo 'ποΈβ¨ Build completed! Your app is ready! β¨'",
"test": "echo 'π§ͺ Running tests...' && jest --config jest.config.cjs --coverage",
"test:e2e": "echo 'π Running Playwright E2E tests...' && npx playwright test",
"format": "echo 'ποΈ Formatting code... Please wait.' && prettier --write . && echo 'β
Your code is formatted!'",
"lint": "echo 'π§Ή Linting code... Please wait.' && eslint -c eslint.config.js . && echo 'β
Linting complete. Your code is clean!'",
"lint-fix": "echo 'π§ Linting and fixing issues...' && eslint --fix . && prettier --write .",
"precommit": "echo 'π Precommit: Linting and testing code...' && npm run lint && npm test",
"pretest": "echo 'π Pretest: Linting code...' && npm run lint",
"watch": "echo 'π Watching files...' && jest --watch",
"debug": "echo 'π Starting the app in debug mode...' && NODE_ENV=development nodemon --inspect src/index.tsx",
"clean": "echo 'π§½ Cleaning up...' && rm -rf node_modules dist .turbo .next coverage .cache && rm -f package-lock.json yarn.lock pnpm-lock.yaml",
"prepare": "husky install # πΆ Setting up Husky",
"docker-clean": "echo 'π§Ή Cleaning up Docker resources...' && docker stop $(docker ps -aq) && docker rm $(docker ps -aq) && docker image prune -af && docker volume prune -f && docker network prune -f && docker builder prune -f",
"generate-tests": "echo 'π οΈ Generating missing test files... π' && node scripts/generate-tests.js && echo 'β
Test generation complete! π'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Jagoda11/github-insights-dashboard.git"
},
"keywords": [],
"author": "Jagoda11",
"license": "MIT",
"bugs": {
"url": "https://github.com/Jagoda11/github-insights-dashboard/issues"
},
"devDependencies": {
"@babel/core": "^7.29.0",
"@babel/preset-env": "^7.29.0",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@types/jest": "^30.0.0",
"@types/node": "^25.1.0",
"@types/react": "^19.2.10",
"@types/react-dom": "^19.2.3",
"@types/react-redux": "^7.1.34",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"ajv": "^8.17.1",
"ajv-keywords": "^5.1.0",
"babel-loader": "^10.0.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jest": "^29.12.1",
"eslint-plugin-prettier": "^5.5.5",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"gh-pages": "^6.3.0",
"html-webpack-plugin": "^5.6.6",
"husky": "^9.1.7",
"jest": "^30.2.0",
"jest-environment-jsdom": "^30.2.0",
"nodemon": "^3.1.11",
"prettier": "^3.8.1",
"react-refresh": "^0.18.0",
"readline-sync": "^1.4.10",
"ts-jest": "^29.4.6",
"ts-loader": "^9.5.4",
"ts-morph": "^27.0.2",
"typescript": "^5.9.3",
"webpack": "^5.104.1",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.3",
"whatwg-fetch": "^3.6.20"
},
"dependencies": {
"@playwright/test": "^1.58.1",
"autoprefixer": "^10.4.24",
"axios": "^1.13.4",
"chart.js": "^4.5.1",
"express": "^5.2.1",
"postcss": "^8.5.6",
"react": "^19.2.4",
"react-chartjs-2": "^5.3.1",
"react-dom": "^19.2.4",
"react-redux": "^9.2.0",
"react-router-dom": "^7.13.0",
"redux": "^5.0.1",
"tailwindcss": "^4.1.18"
}
}