-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
106 lines (106 loc) · 5.17 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
{
"name": "periodic-table-app",
"version": "1.0.1",
"private": true,
"type": "module",
"homepage": "https://Jagoda11.github.io/Periodic-Table-App",
"description": "A periodic table app built with Vue 3, typescript and Vite.",
"main": "src/main.ts",
"scripts": {
"dev": "echo '🚀 Starting development server...' && vite",
"dev:e2e": "echo '🔧 Starting dev server for e2e tests...' && vite --port 3001",
"start-server": "echo '🚀 Starting server...' && vite --port 3001",
"wait-server": "echo '⏳ Waiting for server to start...' && wait-on http://localhost:3001",
"test:e2e:concurrently": "echo '🔬 Running tests...' && concurrently --kill-others \"start-server-and-test start-server http://localhost:3001 test:e2e\"",
"build": "echo '🔨 Running type-check and building...' && run-p type-check \"build-only {@}\" --",
"preview": "echo '👀 Starting preview server...' && vite preview --port 3001 --host 0.0.0.0",
"clear-test-cache": "echo '🗑️ Clearing test cache...' && jest --clearCache",
"test": "echo '🚀 Running tests...' && jest && echo '✅ Tests completed.'",
"test-inspect": "echo '🔍 Inspecting tests...' && node --inspect node_modules/jest/bin/jest.js",
"test:watch": "echo '👓 Watching tests...' && jest --watch",
"test:coverage": "echo '📊 Generating test coverage...' && jest --coverage",
"test:e2e": "echo '🌐 Running E2E tests...' && TEST_BASE_URL=http://localhost:3001 npx playwright test --config=playwright-tests/playwright.config.ts",
"test:e2e:ci": "start-server-and-test 'npm run dev:e2e' http://localhost:3001 'npm run test:e2e' --wait-on-timeout 60000",
"test:e2e:watch": "echo '👀 Watching E2E tests...' && npx playwright test --watch",
"test:e2e:debug": "echo '🐛 Debugging E2E tests...' && npx playwright test --debug",
"test:e2e:coverage": "echo '📊 Generating E2E test coverage...' && npx playwright test --collect=coverage",
"test:e2e:report": "echo '📝 Showing E2E test report...' && npx playwright show-coverage",
"test-and-report": "echo '🚀 Running E2E tests...' && npm run test:e2e && echo '🔨 Compiling TypeScript...' && npx tsc playwright-tests/extractFailedTests.ts && echo '🔄 Renaming to .cjs...' && mv playwright-tests/extractFailedTests.js playwright-tests/extractFailedTests.cjs && echo '📄 Running extractFailedTests.cjs...' && node playwright-tests/extractFailedTests.cjs",
"audit": "echo '🔍 Running Lighthouse audit...' && lighthouse http://localhost:3000 --view",
"build-only": "echo '🔨 Building project...' && vite build && echo '✅ Build completed.'",
"type-check": "echo '🔍 Type-checking...' && vue-tsc --build --force",
"lint": "echo '🔍 Linting files...' && eslint . --fix && echo '✅ Linting completed.'",
"lint:fix": "echo '🛠️ Fixing lint issues...' && eslint . --fix",
"format": "echo '🎨 Formatting code...' && prettier --write src/ && echo '🎨 your code is beautifully formatted.🎨 '",
"vite:start": "echo '🚀 Starting Vite server...' && vite && echo '🛫 Vite server started go to http://localhost:3001/Periodic-Table-App'",
"vite:build": "echo '🔨 Building with Vite...' && vite build && echo '⚙️ Build completed.🔧'",
"clean": "echo '🧽 Cleaning up...' && rm -rf ./node_modules ./dist && rm package-lock.json"
},
"author": "Jagoda11",
"license": "MIT",
"dependencies": {
"@vue/runtime-dom": "^3.5.12",
"bootstrap": "^5.3.3",
"jsdom": "^25.0.1",
"pinia": "^2.2.6",
"vue": "^3.5.12",
"vue-router": "^4.4.5"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@babel/preset-typescript": "^7.26.0",
"@playwright/test": "^1.48.2",
"@rushstack/eslint-patch": "^1.10.4",
"@tsconfig/node20": "^20.1.4",
"@types/jest": "^29.5.14",
"@types/node": "^22.9.0",
"@typescript-eslint/eslint-plugin": "^8.13.0",
"@typescript-eslint/parser": "^8.13.0",
"@vitejs/plugin-vue": "^5.1.4",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue/babel-preset-app": "^5.0.8",
"@vue/compiler-sfc": "^3.5.12",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "^14.1.3",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.5.1",
"@vue/vue3-jest": "^29.2.6",
"concurrently": "^9.1.0",
"conventional-changelog-cli": "^5.0.0",
"eslint": "^9.14.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-vue": "^9.30.0",
"gh-pages": "^6.2.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lighthouse": "^12.2.1",
"lint-staged": "^15.2.10",
"npm-run-all2": "^7.0.1",
"prettier": "^3.3.3",
"start-server-and-test": "^2.0.8",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "~5.6.3",
"vite": "^5.4.10",
"vite-plugin-checker": "^0.8.0",
"vue-tsc": "^2.1.10",
"wait-on": "^8.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,cjs,mjs,ts,tsx,cts,mts,vue}": [
"eslint --fix",
"prettier --write"
]
},
"repository": {
"type": "git",
"url": "https://github.com/Jagoda11/Periodic-Table-App.git"
}
}