forked from evuventures/cheaperFrontEnd
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.91 KB
/
package.json
File metadata and controls
108 lines (108 loc) · 2.91 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
{
"name": "cheaper-extension",
"version": "1.0.0",
"homepage": ".",
"private": true,
"dependencies": {
"ajv-keywords": "3.5.2",
"axios": "1.11.0",
"lucide-react": "0.511.0",
"react": "18.2.0",
"react-cookie-consent": "9.0.0",
"react-dom": "18.2.0",
"react-icons": "5.5.0",
"react-router": "7.6.2",
"react-router-dom": "7.6.3",
"react-scripts": "5.0.1",
"react-tooltip": "5.28.1",
"web-vitals": "2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start:prod": "serve -s build -l 8080",
"build": "react-scripts build && node scripts/copyAssets.js",
"build:pwa": "npm run build && cp public/manifest.pwa.json build/manifest.json",
"build:extension": "npm run build && cp public/extension.manifest.json build/manifest.json && node scripts/postbuild.js",
"postbuild": "node scripts/postbuild.js",
"test": "react-scripts test",
"test:ci": "react-scripts test --watchAll=false --ci --coverage",
"eject": "react-scripts eject",
"lint": "eslint src --ext .js,.jsx --max-warnings=0",
"lint:fix": "eslint src --ext .js,.jsx --fix",
"package": "web-ext build --source-dir ./build --artifacts-dir ./dist",
"size-check": "size-limit"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/index.js",
"!src/reportWebVitals.js",
"!src/setupTests.js"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 40,
"lines": 50,
"statements": 50
}
},
"moduleNameMapper": {
"^react-router-dom$": "<rootDir>/src/__mocks__/react-router-dom.js"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/eslint-parser": "7.27.1",
"@babel/preset-react": "7.27.1",
"@eslint/eslintrc": "3.3.1",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"autoprefixer": "10.4.21",
"eslint": "8.26.0",
"eslint-config-react": "1.1.7",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "4.6.2",
"fs-extra": "11.3.0",
"globals": "16.1.0",
"html-webpack-plugin": "5.6.3",
"postcss": "8.5.6",
"serve": "10.0.2",
"size-limit": "8.2.3",
"tailwindcss": "4.1.10",
"wait-on": "8.0.3",
"web-ext": "8.9.0"
},
"size-limit": [
{
"path": "build/static/js/*.js",
"limit": "500 KB",
"name": "JavaScript bundles"
},
{
"path": "build/static/css/*.css",
"limit": "100 KB",
"name": "CSS bundles"
}
]
}