Revision 777ea3bc8a8e4d6ffe36ce8abdf73df3281943d0 authored by Kirill Lakhov on 24 March 2023, 09:58:15 UTC, committed by GitHub on 24 March 2023, 09:58:15 UTC
<!-- Raise an issue to propose your change
(https://github.com/opencv/cvat/issues).
It helps to avoid duplication of efforts from multiple independent
contributors.
Discuss your ideas with maintainers to be sure that changes will be
approved and merged.
Read the [Contribution
guide](https://opencv.github.io/cvat/docs/contributing/). -->

<!-- Provide a general summary of your changes in the Title above -->

### Motivation and context
<!-- Why is this change required? What problem does it solve? If it
fixes an open
issue, please link to the issue here. Describe your changes in detail,
add
screenshots. -->
Resolves #5615
- [x] Fix default preview resizing for all resources
- [x] Fix loding preview ux

![image](https://user-images.githubusercontent.com/50956430/227453295-6e2c8e3e-e536-4607-9854-a2eb46cc69da.png)

### How has this been tested?
<!-- Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc. -->

### Checklist
<!-- Go over all the following points, and put an `x` in all the boxes
that apply.
If an item isn't applicable for some reason, then ~~explicitly
strikethrough~~ the whole
line. If you don't do that, GitHub will show incorrect progress for the
pull request.
If you're unsure about any of these, don't hesitate to ask. We're here
to help! -->
- [x] I submit my changes into the `develop` branch
- [x] I have added a description of my changes into the
[CHANGELOG](https://github.com/opencv/cvat/blob/develop/CHANGELOG.md)
file
- ~~[ ] I have updated the documentation accordingly~~
- ~~[ ] I have added tests to cover my changes~~
- [x] I have linked related issues (see [GitHub docs](

https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))
- [x] I have increased versions of npm packages if it is necessary

([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning),

[cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning),

[cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning)
and

[cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning))

### License

- [x] I submit _my code changes_ under the same [MIT License](
https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the
project.
  Feel free to contact the maintainers if that's a concern.
1 parent ccc7e34
Raw File
package.json
{
  "name": "cvat",
  "version": "1.0.0",
  "description": "Eslint && remarklint dependencies",
  "main": ".eslintrc.js",
  "private": true,
  "directories": {
    "test": "tests"
  },
  "workspaces": [
    "cvat-data",
    "cvat-core",
    "cvat-canvas",
    "cvat-canvas3d",
    "cvat-ui"
  ],
  "devDependencies": {
    "@babel/cli": "^7.13.16",
    "@babel/core": "^7.6.0",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-proposal-optional-chaining": "^7.11.0",
    "@babel/preset-env": "^7.6.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.6.0",
    "@istanbuljs/nyc-config-babel": "^1.0.1",
    "@types/mousetrap": "^1.6.5",
    "@types/node": "^18.0.3",
    "@typescript-eslint/eslint-plugin": "^5.30.5",
    "@typescript-eslint/parser": "^5.30.5",
    "airbnb": "0.0.2",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.6",
    "babel-plugin-import": "^1.12.2",
    "babel-plugin-istanbul": "^6.0.0",
    "babel-register": "^6.26.0",
    "bundle-declarations-webpack-plugin": "^3.1.0",
    "copy-webpack-plugin": "^11.0.0",
    "coveralls": "^3.1.0",
    "css-loader": "^3.4.2",
    "eslint": "^7.11.0",
    "eslint-config-airbnb": "^18.0.1",
    "eslint-config-airbnb-base": "14.2.1",
    "eslint-config-airbnb-typescript": "^12.0.0",
    "eslint-plugin-cypress": "^2.11.2",
    "eslint-plugin-import": "^2.22.1",
    "eslint-plugin-jest": "^26.5.3",
    "eslint-plugin-jsx-a11y": "^6.3.1",
    "eslint-plugin-no-unsanitized": "^3.0.2",
    "eslint-plugin-react": "^7.21.5",
    "eslint-plugin-react-hooks": "^4.2.0",
    "eslint-plugin-security": "^1.4.0",
    "html-webpack-plugin": "^5.5.0",
    "husky": "^6.0.0",
    "lint-staged": "^13.0.3",
    "micromatch": "^4.0.2",
    "nodemon": "^2.0.7",
    "nyc": "^15.1.0",
    "postcss-loader": "^3.0.0",
    "postcss-preset-env": "^6.7.0",
    "react-svg-loader": "^3.0.3",
    "remark-cli": "^9.0.0",
    "remark-frontmatter": "^3.0.0",
    "remark-gfm": "^1.0.0",
    "remark-lint-emphasis-marker": "^2.0.0",
    "remark-lint-list-item-spacing": "^2.0.0",
    "remark-lint-maximum-heading-length": "^2.0.0",
    "remark-lint-maximum-line-length": "^2.0.0",
    "remark-lint-no-dead-urls": "^1.0.2",
    "remark-lint-no-file-name-irregular-characters": "^1.0.3",
    "remark-lint-ordered-list-marker-style": "^2.0.0",
    "remark-lint-strong-marker": "^2.0.0",
    "remark-lint-unordered-list-marker-style": "^2.0.0",
    "remark-preset-lint-consistent": "^4.0.0",
    "remark-preset-lint-markdown-style-guide": "^4.0.0",
    "remark-preset-lint-recommended": "^5.0.0",
    "sass": "^1.42.1",
    "sass-loader": "^10.0.0",
    "source-map-support": "^0.5.19",
    "style-loader": "^1.0.0",
    "stylelint": "^13.6.1",
    "stylelint-config-standard": "^20.0.0",
    "typescript": "^3.7.3",
    "vfile-reporter-json": "^2.0.2",
    "webpack": "^5.76.0",
    "webpack-cli": "^4.9.2",
    "webpack-dev-server": "4.9",
    "worker-loader": "^3.0.8"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "coverage": "yarn run instrument && yarn run cp && yarn run rm",
    "instrument": "nyc instrument cvat-ui cvat-ui_cov && nyc instrument cvat-canvas cvat-canvas_cov && nyc instrument cvat-data cvat-data_cov && nyc instrument cvat-core cvat-core_cov",
    "cp": "cp -r cvat-ui_cov/* cvat-ui && cp -r cvat-canvas_cov/* cvat-canvas && cp -r cvat-data_cov/* cvat-data && cp -r cvat-core_cov/* cvat-core",
    "rm": "rm -rf cvat-ui_cov cvat-canvas_cov cvat-data_cov cvat-core_cov",
    "prepare": "husky install && rm .husky/pre-commit; npx husky add .husky/pre-commit \"npx lint-staged\"",
    "precommit:cvat-tests": "cd tests && eslint --fix",
    "precommit:cvat-data": "cd cvat-data && eslint --fix",
    "precommit:cvat-core": "cd cvat-core && eslint --fix",
    "precommit:cvat-canvas": "cd cvat-canvas && eslint --fix",
    "precommit:cvat-canvas3d": "cd cvat-canvas3d && eslint --fix",
    "precommit:cvat-ui": "cd cvat-ui && eslint --fix",
    "build:cvat-ui": "yarn workspace cvat-ui run build",
    "build:cvat-canvas": "yarn workspace cvat-canvas run build",
    "build:cvat-canvas3d": "yarn workspace cvat-canvas3d run build",
    "build:cvat-core": "yarn workspace cvat-core run build",
    "build:cvat-data": "yarn workspace cvat-data run build",
    "server:cvat-canvas": "yarn workspace cvat-canvas run server",
    "server:cvat-canvas3d": "yarn workspace cvat-canvas3d run server",
    "server:cvat-data": "yarn workspace cvat-data run server",
    "start:cvat-ui": "yarn workspace cvat-ui run start"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cvat-ai/cvat.git"
  },
  "author": "CVAT.ai",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/cvat-ai/cvat/issues"
  },
  "homepage": "https://github.com/cvat-ai/cvat#readme",
  "resolutions": {
    "@types/react": "^17.0.30",
    "@types/react-dom": "^18.0.5",
    "@types/react-redux": "^7.1.24",
    "@types/react-router-dom": "^5.3.3",
    "@types/prettier": "2.4.1"
  }
}
back to top