207 lines
6.6 KiB
JSON
207 lines
6.6 KiB
JSON
{
|
|
"name": "victron-venus-metrics",
|
|
"version": "3.7.2",
|
|
"description": "Metric framework for Victron VenusOS",
|
|
"license": "ISC",
|
|
"author": "",
|
|
"dependencies": {
|
|
"@babel/core": "^7.28.4",
|
|
"@babel/runtime": "^7.28.4",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.1",
|
|
"@react-hook/size": "^2.1",
|
|
"@react-leaflet/core": "^2.1.0",
|
|
"@sentry/react": "^6.15.0",
|
|
"@sentry/tracing": "^6.15.0",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@testing-library/jest-dom": "^6.8.0",
|
|
"@testing-library/react": "^16.3.0",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/leaflet": "^1.9.21",
|
|
"@victronenergy/mfd-modules": "^10.2.0",
|
|
"axios": "^0.30.2",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.6.0",
|
|
"babel-loader": "^10.0.0",
|
|
"babel-plugin-named-asset-import": "^0.3.8",
|
|
"babel-preset-react-app": "^10.1.0",
|
|
"bfj": "^9.1.2",
|
|
"camelcase": "^6.1.0",
|
|
"case-sensitive-paths-webpack-plugin": "2.4.0",
|
|
"chart.js": "^2.9.4",
|
|
"classnames": "^2.5.1",
|
|
"dotenv": "^8.2.0",
|
|
"dotenv-expand": "^5.1.0",
|
|
"file-loader": "^6.2.0",
|
|
"fs-extra": "^11.3.2",
|
|
"hammerjs": "^2.0.8",
|
|
"html-webpack-plugin": "^5.6.4",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jest": "^26.6.0",
|
|
"jest-circus": "^26.6.0",
|
|
"jest-resolve": "^26.6.0",
|
|
"jest-watch-typeahead": "^0.6.1",
|
|
"leaflet": "^1.9.4",
|
|
"lodash-es": "^4.17.21",
|
|
"mini-css-extract-plugin": "^2.9.4",
|
|
"mobx": "^6.15.0",
|
|
"mobx-react": "^9.2.1",
|
|
"mobx-utils": "^6.1.1",
|
|
"pnp-webpack-plugin": "^1.7.0",
|
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
"postcss-normalize": "^13.0.1",
|
|
"postcss-preset-env": "^10.4.0",
|
|
"preval.macro": "^5.0.0",
|
|
"process": "^0.11.10",
|
|
"prompts": "2.4.2",
|
|
"react": "^18.3.1",
|
|
"react-app-polyfill": "^3.0.0",
|
|
"react-dev-utils": "^12.0.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-error-boundary": "^4.0.13",
|
|
"react-i18nify": "^6.1.3",
|
|
"react-leaflet": "^4.2.1",
|
|
"react-qrcode-logo": "^3.0.0",
|
|
"react-refresh": "^0.14.2",
|
|
"react-svg-loader": "^3.0.3",
|
|
"resolve": "^1.22.10",
|
|
"resolve-url-loader": "^5.0.0",
|
|
"sass": "^1.79.6",
|
|
"sass-loader": "^16.0.5",
|
|
"semver": "^7.7.2",
|
|
"serve": "^14.2.5",
|
|
"stream-browserify": "^3.0.0",
|
|
"terser-webpack-plugin": "^5.3.14",
|
|
"ts-pnp": "^1.2.0",
|
|
"typescript": "^5.9.3",
|
|
"url-loader": "4.1.1",
|
|
"wasm-feature-detect": "^1.8.0",
|
|
"web-vitals": "^0.2.4",
|
|
"webpack": "^5.102.0",
|
|
"webpack-cli": "^6.0.1",
|
|
"webpack-dev-server": "^4.11.1",
|
|
"webpack-manifest-plugin": "^5.0.1",
|
|
"workbox-background-sync": "^7.3.0",
|
|
"workbox-broadcast-update": "^7.3.0",
|
|
"workbox-cacheable-response": "^7.3.0",
|
|
"workbox-core": "^7.3.0",
|
|
"workbox-expiration": "^7.3.0",
|
|
"workbox-google-analytics": "^7.3.0",
|
|
"workbox-navigation-preload": "^7.3.0",
|
|
"workbox-precaching": "^7.3.0",
|
|
"workbox-range-requests": "^7.3.0",
|
|
"workbox-routing": "^7.3.0",
|
|
"workbox-strategies": "^7.3.0",
|
|
"workbox-streams": "^7.3.0",
|
|
"workbox-webpack-plugin": "^7.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cfaester/enzyme-adapter-react-18": "^0.8.0",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/line-clamp": "^0.4.4",
|
|
"@testing-library/cypress": "^10.1.0",
|
|
"@testing-library/dom": "^10.4.1",
|
|
"@types/chart.js": "^2.9.4",
|
|
"@types/enzyme": "^3.10.19",
|
|
"@types/hammerjs": "^2.0.46",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/node": "^24.5.2",
|
|
"@types/preval.macro": "^3.0.2",
|
|
"@types/react": "^18.3.1",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.45.0",
|
|
"@typescript-eslint/parser": "^8.45.0",
|
|
"autoprefixer": "^10.4.21",
|
|
"compression-webpack-plugin": "^11.1.0",
|
|
"confusing-browser-globals": "^1.0.11",
|
|
"css-loader": "^7.1.2",
|
|
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
"cypress": "^15.3.0",
|
|
"enzyme": "^3.11.0",
|
|
"eslint": "^9.36.0",
|
|
"eslint-config-prettier": "^10.1.8",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-jest": "^29.0.1",
|
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
"eslint-plugin-prettier": "^5.5.4",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
"eslint-plugin-testing-library": "^7.10.0",
|
|
"eslint-webpack-plugin": "^5.0.2",
|
|
"globals": "^16.4.0",
|
|
"lint-staged": "^16.2.1",
|
|
"mocha": "^10.7.3",
|
|
"mochawesome": "^7.1.3",
|
|
"mochawesome-merge": "^4.3.0",
|
|
"mochawesome-report-generator": "^6.2.0",
|
|
"postcss": "^8.5.6",
|
|
"postcss-loader": "^8.2.0",
|
|
"prettier": "^3.6.2",
|
|
"react-test-renderer": "^18.3.1",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"style-loader": "^4.0.0",
|
|
"tailwindcss": "^3.2.7",
|
|
"typescript-eslint": "^8.45.0",
|
|
"url": "^0.11.4"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf build",
|
|
"start": "node scripts/start.js",
|
|
"build": "node scripts/build.js",
|
|
"test": "node scripts/test.js --config ./jest.config.js",
|
|
"lint": "eslint src/ --fix",
|
|
"serve": "scripts/serve.sh",
|
|
"test:dev": "npm test -- --watchAll=false && npm run cy:run",
|
|
"test:unit": "npm test",
|
|
"test:e2e": "npm run cy:run",
|
|
"test:ci": "npm test -- --watchAll=false && npm run cy:run",
|
|
"generate-e2e-report": "npm run copy-e2e-assets && npm run merge-e2e-results && npm run create-e2e-html-report",
|
|
"copy-e2e-assets": "rm -rf ./cypress/report && mkdir -p ./cypress/screenshots && mkdir -p ./cypress/videos && mkdir ./cypress/report && cp -r ./cypress/screenshots ./cypress/videos ./cypress/report/",
|
|
"merge-e2e-results": "./node_modules/.bin/mochawesome-merge ./cypress/results/*.json -o ./cypress/results/results.json",
|
|
"create-e2e-html-report": "./node_modules/.bin/marge ./cypress/results/results.json -f index.html -o ./cypress/report --cdn",
|
|
"cy:version": "./node_modules/.bin/cypress version",
|
|
"cy:verify": "./node_modules/.bin/cypress verify",
|
|
"cy:open": "./node_modules/.bin/cypress open",
|
|
"cy:run": "NODE_ENV=test cypress run",
|
|
"poeditor:pull": "node src/app/locales/poeditor/pull.js"
|
|
},
|
|
"browserslist": {
|
|
"production": [
|
|
"chrome >= 45",
|
|
"last 10 versions"
|
|
],
|
|
"development": [
|
|
"chrome >= 45",
|
|
"last 2 versions"
|
|
]
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"react-app"
|
|
],
|
|
"plugins": [
|
|
[
|
|
"@babel/plugin-proposal-class-properties",
|
|
{
|
|
"loose": false
|
|
}
|
|
],
|
|
[
|
|
"@babel/plugin-proposal-private-methods",
|
|
{
|
|
"loose": false
|
|
}
|
|
],
|
|
[
|
|
"@babel/plugin-proposal-private-property-in-object",
|
|
{
|
|
"loose": false
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "react-app"
|
|
}
|
|
}
|