- Updated image references in various components and configuration files to use AVIF format instead of PNG and JPG. - Modified the build process to include a script for converting images to AVIF, enhancing loading times and reducing file sizes. - Ensured consistency across the application by updating image paths in the footer, main layout, and content components.
86 lines
3.3 KiB
JSON
86 lines
3.3 KiB
JSON
{
|
|
"name": "reactshop",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "cross-env NODE_OPTIONS=\"--no-deprecation\" webpack serve --progress --mode development --no-open",
|
|
"start:seedheads": "cross-env PROXY_TARGET=https://seedheads.de NODE_OPTIONS=\"--no-deprecation\" webpack serve --progress --mode development --no-open",
|
|
"prod": "webpack serve --progress --mode production --no-client-overlay --no-client --no-web-socket-server --no-open --no-live-reload --no-hot --compress --no-devtool",
|
|
"build:client": "node scripts/convert-images-to-avif.cjs && cross-env NODE_ENV=production webpack --progress --mode production && shx cp dist/index.html dist/index_template.html",
|
|
"build": "npm run build:client",
|
|
"analyze": "cross-env ANALYZE=true NODE_ENV=production webpack --progress --mode production",
|
|
"lint": "eslint src/**/*.{js,jsx}",
|
|
"prerender": "node prerender.cjs",
|
|
"prerender:prod": "cross-env NODE_ENV=production node prerender.cjs",
|
|
"prerender:product": "node prerender-single-product.cjs",
|
|
"prerender:product:prod": "cross-env NODE_ENV=production node prerender-single-product.cjs",
|
|
"build:prerender": "npm run build:client && npm run prerender:prod",
|
|
"translate": "node translate-i18n.js",
|
|
"translate:english": "node translate-i18n.js --only-english",
|
|
"translate:skip-english": "node translate-i18n.js --skip-english",
|
|
"translate:others": "node translate-i18n.js --skip-english",
|
|
"validate:products": "node scripts/validate-products-xml.cjs"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "0BSD",
|
|
"description": "",
|
|
"dependencies": {
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.0",
|
|
"@mui/icons-material": "^7.1.1",
|
|
"@mui/material": "^7.1.1",
|
|
"@stripe/react-stripe-js": "^3.7.0",
|
|
"@stripe/stripe-js": "^7.3.1",
|
|
"async-mutex": "^0.5.0",
|
|
"chart.js": "^4.5.0",
|
|
"country-flag-icons": "^1.5.19",
|
|
"html-react-parser": "^5.2.5",
|
|
"i18next": "^25.3.2",
|
|
"i18next-browser-languagedetector": "^8.2.0",
|
|
"openai": "^4.0.0",
|
|
"react": "^19.1.0",
|
|
"react-chartjs-2": "^5.3.0",
|
|
"react-dom": "^19.1.0",
|
|
"react-i18next": "^15.6.0",
|
|
"react-router-dom": "^7.6.2",
|
|
"sanitize-html": "^2.17.0",
|
|
"sharp": "^0.34.2",
|
|
"socket.io-client": "^4.7.5"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.27.4",
|
|
"@babel/eslint-parser": "^7.27.5",
|
|
"@babel/preset-env": "^7.27.2",
|
|
"@babel/preset-react": "^7.27.1",
|
|
"@babel/register": "^7.26.0",
|
|
"@emotion/server": "^11.11.0",
|
|
"@eslint/js": "^9.25.0",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.0",
|
|
"babel-loader": "^10.0.0",
|
|
"cross-env": "^7.0.3",
|
|
"css-loader": "^7.1.2",
|
|
"eslint": "^9.29.0",
|
|
"eslint-plugin-import": "^2.31.0",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-webpack-plugin": "^5.0.2",
|
|
"globals": "^16.2.0",
|
|
"html-webpack-plugin": "^5.6.3",
|
|
"jsdom": "^26.1.0",
|
|
"mini-css-extract-plugin": "^2.9.2",
|
|
"react-refresh": "^0.17.0",
|
|
"shx": "^0.4.0",
|
|
"style-loader": "^4.0.0",
|
|
"terser-webpack-plugin": "^5.3.14",
|
|
"webpack": "^5.99.9",
|
|
"webpack-bundle-analyzer": "^4.10.2",
|
|
"webpack-cli": "^6.0.1",
|
|
"webpack-dev-server": "^5.2.2",
|
|
"webpack-node-externals": "^3.0.0",
|
|
"xmldom": "^0.6.0",
|
|
"xpath": "^0.0.34"
|
|
}
|
|
}
|