forked from farm-fe/performance-compare
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
81 lines (81 loc) · 2.85 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
{
"name": "performance-compare",
"private": true,
"version": "0.0.0",
"dependencies": {
"fast-glob": "^3.3.2",
"playwright": "^1.45.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@farmfe/cli": "^1.0.2",
"@farmfe/core": "^1.2.2",
"@farmfe/plugin-react": "^1.1.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
"@rspack/cli": "^0.5.9",
"@rspack/core": "^0.5.9",
"@rspack/plugin-react-refresh": "^0.5.9",
"@swc/core": "^1.6.5",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"@vitejs/plugin-react-swc": "^3.7.0",
"babel-loader": "^9.1.3",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^6.0.0",
"esbuild": "^0.20.2",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.9.0",
"next": "^14.2.4",
"parcel": "^2.12.0",
"react-refresh": "^0.14.2",
"style-loader": "^3.3.4",
"swc-loader": "^0.2.6",
"terser-webpack-plugin": "^5.3.10",
"typescript": "5.2.2",
"vite": "^5.3.1",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
},
"scripts": {
"benchmark": "node benchmark.mjs",
"benchmark:dev": "node benchmark.mjs -t=dev",
"benchmark:build": "node benchmark.mjs -t=build",
"start:farm": "farm start",
"start:vite": "vite",
"start:vite-swc": "vite -c vite.swc.config.mts",
"start:webpack": "webpack serve --mode development",
"start:webpack-swc": "webpack serve --config ./webpack.swc.config.js --mode development",
"start:rspack": "rspack serve",
"start:esbuild": "node ./benchmark/esbuild.mjs --watch",
"start:turbopack": "next dev --turbo -p 3000",
"start:parcel": "parcel index.html --dist-dir dist-parcel",
"build:farm": "farm build",
"build:vite": "vite build",
"build:vite-swc": "vite build -c vite.swc.config.mts",
"build:webpack": "webpack build --mode production",
"build:webpack-swc": "webpack build --config ./webpack.swc.config.js --mode production",
"build:rspack": "rspack build",
"build:esbuild": "esbuild src/index.tsx --bundle --minify --target=chrome87,firefox78,safari14,edge88 --outdir=dist-esbuild",
"build:turbopack": "echo 'skipped'",
"build:parcel": "parcel build index.html --dist-dir dist-parcel --no-source-maps --no-cache"
},
"browserslist": [
"Chrome >= 87, Firefox >= 78, Safari >= 14, Edge >= 88"
],
"// parcel configs": {
"// note with resolve.extensions": "parcel doesn't provide a way to specify it",
"// note with sourcemaps": "parcel includes sourcesContent field."
},
"alias": {
"process": false
},
"packageManager": "[email protected]"
}