diff --git a/striker-ui/package-lock.json b/striker-ui/package-lock.json index 686dfa5a..eefa8f99 100644 --- a/striker-ui/package-lock.json +++ b/striker-ui/package-lock.json @@ -20,6 +20,7 @@ "@mui/styles": "^5.2.3", "@novnc/novnc": "^1.2.0", "axios": "^0.24.0", + "format-data-size": "file:../../format-data-size", "next": "^12.1.0", "pretty-bytes": "^5.6.0", "react": "17.0.2", @@ -50,6 +51,35 @@ "typescript": "^4.1.5" } }, + "../../format-data-size": { + "version": "0.1.0", + "license": "MIT", + "bin": { + "format-data-size": "dist/cli.js" + }, + "devDependencies": { + "@babel/core": "^7.17.9", + "@babel/preset-env": "^7.16.11", + "@babel/preset-typescript": "^7.16.7", + "@rollup/plugin-babel": "^5.3.1", + "@rollup/plugin-node-resolve": "^13.2.0", + "@types/jest": "^27.4.1", + "@typescript-eslint/eslint-plugin": "^5.18.0", + "@typescript-eslint/parser": "^5.18.0", + "eslint": "^8.13.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jest": "^26.1.4", + "husky": "^7.0.4", + "jest": "^27.5.1", + "lint-staged": "^12.3.7", + "prettier": "^2.6.2", + "rollup": "^2.70.1", + "rollup-plugin-add-shebang": "^0.3.1", + "rollup-plugin-ts": "^2.0.5", + "typescript": "^4.6.3" + } + }, "node_modules/@ampproject/remapping": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.1.2.tgz", @@ -3245,6 +3275,10 @@ } } }, + "node_modules/format-data-size": { + "resolved": "../../format-data-size", + "link": true + }, "node_modules/fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", @@ -8581,6 +8615,31 @@ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.14.9.tgz", "integrity": "sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w==" }, + "format-data-size": { + "version": "file:../../format-data-size", + "requires": { + "@babel/core": "^7.17.9", + "@babel/preset-env": "^7.16.11", + "@babel/preset-typescript": "^7.16.7", + "@rollup/plugin-babel": "^5.3.1", + "@rollup/plugin-node-resolve": "^13.2.0", + "@types/jest": "^27.4.1", + "@typescript-eslint/eslint-plugin": "^5.18.0", + "@typescript-eslint/parser": "^5.18.0", + "eslint": "^8.13.0", + "eslint-config-prettier": "^8.5.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-jest": "^26.1.4", + "husky": "^7.0.4", + "jest": "^27.5.1", + "lint-staged": "^12.3.7", + "prettier": "^2.6.2", + "rollup": "^2.70.1", + "rollup-plugin-add-shebang": "^0.3.1", + "rollup-plugin-ts": "^2.0.5", + "typescript": "^4.6.3" + } + }, "fs-extra": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", diff --git a/striker-ui/package.json b/striker-ui/package.json index 0e5b5dbf..85123436 100644 --- a/striker-ui/package.json +++ b/striker-ui/package.json @@ -25,6 +25,7 @@ "@mui/styles": "^5.2.3", "@novnc/novnc": "^1.2.0", "axios": "^0.24.0", + "format-data-size": "file:../../format-data-size", "next": "^12.1.0", "pretty-bytes": "^5.6.0", "react": "17.0.2",