-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpackage.json
More file actions
118 lines (118 loc) · 6.92 KB
/
package.json
File metadata and controls
118 lines (118 loc) · 6.92 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "framework-benchmarks",
"version": "1.0.0",
"description": "Cross-framework weather app comparison project",
"author": "Alicia Sykes",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/lissy93/framework-benchmarks"
},
"scripts": {
"setup": "python scripts/setup/main.py",
"test": "python scripts/verify/test.py",
"lint": "python scripts/verify/lint.py",
"check": "python scripts/verify/check.py",
"build": "python scripts/run/build.py",
"start": "python scripts/run/serve.py",
"help": "python scripts/main.py",
"// DEV COMMANDS": "-------------------------------------------------------",
"dev:all": "npm run dev:alpine && npm run dev:angular && npm run dev:jquery && npm run dev:lit && npm run dev:preact && npm run dev:qwik && npm run dev:react && npm run dev:solid && npm run dev:svelte && npm run dev:vanilla && npm run dev:vanjs && npm run dev:vue",
"dev:alpine": "cd apps/alpine && python3 -m http.server 3000 || python -m http.server 3000",
"dev:angular": "cd apps/angular && npx ng serve --port 3000",
"dev:jquery": "cd apps/jquery && npx vite --port 3000",
"dev:lit": "cd apps/lit && npx vite --port 3000",
"dev:preact": "cd apps/preact && npx vite",
"dev:qwik": "cd apps/qwik && npx vite --port 3000",
"dev:react": "cd apps/react && npx vite",
"dev:solid": "cd apps/solid && npx vite",
"dev:svelte": "cd apps/svelte && npx vite dev --port 3000",
"dev:vanilla": "cd apps/vanilla && python3 -m http.server 3000 || python -m http.server 3000",
"dev:vanjs": "cd apps/vanjs && npx vite --port 3000",
"dev:vue": "cd apps/vue && npx vite --port 3000",
"// BUILD COMMANDS": "-----------------------------------------------------",
"build:all": "npm run build:alpine && npm run build:angular && npm run build:jquery && npm run build:lit && npm run build:preact && npm run build:qwik && npm run build:react && npm run build:solid && npm run build:svelte && npm run build:vanilla && npm run build:vanjs && npm run build:vue",
"build:alpine": "cd apps/alpine && echo 'No build step required'",
"build:angular": "cd apps/angular && npx ng build",
"build:jquery": "cd apps/jquery && npx vite build",
"build:lit": "cd apps/lit && npx vite build",
"build:preact": "cd apps/preact && npx vite build",
"build:qwik": "cd apps/qwik && npx vite build",
"build:react": "cd apps/react && npx vite build",
"build:solid": "cd apps/solid && npx vite build",
"build:svelte": "cd apps/svelte && npx vite build",
"build:vanilla": "cd apps/vanilla && echo 'No build step required'",
"build:vanjs": "cd apps/vanjs && npx vite build",
"build:vue": "cd apps/vue && npx vite build",
"// TEST COMMANDS": "------------------------------------------------------",
"test:all": "npm run test:alpine && npm run test:angular && npm run test:jquery && npm run test:lit && npm run test:preact && npm run test:qwik && npm run test:react && npm run test:solid && npm run test:svelte && npm run test:vanilla && npm run test:vanjs && npm run test:vue",
"test:alpine": "npx playwright test --config=tests/config/playwright-alpine.config.js --reporter=list",
"test:angular": "npx playwright test --config=tests/config/playwright-angular.config.js --reporter=list",
"test:jquery": "npx playwright test --config=tests/config/playwright-jquery.config.js --reporter=list",
"test:lit": "npx playwright test --config=tests/config/playwright-lit.config.js --reporter=list",
"test:preact": "npx playwright test --config=tests/config/playwright-preact.config.js --reporter=list",
"test:qwik": "npx playwright test --config=tests/config/playwright-qwik.config.js --reporter=list",
"test:react": "npx playwright test --config=tests/config/playwright-react.config.js --reporter=list",
"test:solid": "npx playwright test --config=tests/config/playwright-solid.config.js --reporter=list",
"test:svelte": "npx playwright test --config=tests/config/playwright-svelte.config.js --reporter=list",
"test:vanilla": "npx playwright test --config=tests/config/playwright-vanilla.config.js --reporter=list",
"test:vanjs": "npx playwright test --config=tests/config/playwright-vanjs.config.js --reporter=list",
"test:vue": "npx playwright test --config=tests/config/playwright-vue.config.js --reporter=list",
"// LINT COMMANDS": "------------------------------------------------------",
"lint:all": "npm run lint:alpine && npm run lint:angular && npm run lint:jquery && npm run lint:lit && npm run lint:preact && npm run lint:qwik && npm run lint:react && npm run lint:solid && npm run lint:svelte && npm run lint:vanilla && npm run lint:vanjs && npm run lint:vue",
"lint:alpine": "eslint 'apps/alpine/**/*.js'",
"lint:angular": "eslint 'apps/angular/**/*.{ts,html}'",
"lint:jquery": "eslint 'apps/jquery/**/*.js'",
"lint:lit": "eslint 'apps/lit/**/*.js'",
"lint:preact": "eslint 'apps/preact/**/*.{js,jsx}'",
"lint:qwik": "eslint 'apps/qwik/**/*.{ts,tsx}'",
"lint:react": "eslint 'apps/react/**/*.{js,jsx}'",
"lint:solid": "eslint 'apps/solid/**/*.{js,jsx}'",
"lint:svelte": "eslint 'apps/svelte/**/*.{js,svelte}'",
"lint:vanilla": "eslint 'apps/vanilla/**/*.js'",
"lint:vanjs": "eslint 'apps/vanjs/**/*.js'",
"lint:vue": "eslint 'apps/vue/**/*.{js,vue}'",
"// MISC SCRIPTS": "--------------------------------------------------------",
"install:playwright": "playwright install",
"generate-mocks": "python scripts/setup/generate_mocks.py",
"generate-scripts": "python scripts/setup/generate_scripts.py",
"sync-assets": "python scripts/setup/sync_assets.py",
"benchmark": "python scripts/benchmark/main.py",
"benchmark:lighthouse": "python scripts/benchmark/lighthouse.py",
"verify": "python scripts/verify/main.py",
"build:static": "python scripts/run/build.py -- --static-site",
"transform": "python scripts/transform/benchmark_results.py --average --output-dir ./results "
},
"dependencies": {},
"devDependencies": {
"@angular-eslint/eslint-plugin": "^20.1.1",
"@angular-eslint/schematics": "^20.1.1",
"@angular-eslint/template-parser": "^20.1.1",
"@eslint/js": "^9.32.0",
"@playwright/test": "^1.40.0",
"@typescript-eslint/eslint-plugin": "^8.39.0",
"@typescript-eslint/parser": "^8.39.0",
"chrome-launcher": "^1.2.0",
"commander": "^14.0.0",
"eslint": "^9.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-svelte": "^3.11.0",
"eslint-plugin-vue": "^10.4.0",
"express": "^4.21.2",
"gzip-size": "^7.0.0",
"jsdom": "^26.1.0",
"lighthouse": "^12.8.1"
},
"keywords": [
"weather",
"frontend",
"comparison",
"vanilla-js",
"react",
"vue",
"svelte",
"angular"
],
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}