You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

95 lines
3.6 KiB

  1. {
  2. "name": "nextcloud",
  3. "version": "1.0.0",
  4. "private": true,
  5. "description": "Nextcloud Server",
  6. "keywords": [
  7. "nextcloud"
  8. ],
  9. "repository": {
  10. "type": "git",
  11. "url": "https://github.com/nextcloud/server.git"
  12. },
  13. "license": "AGPL-3.0-or-later",
  14. "author": "Nextcloud GmbH and Nextcloud contributors",
  15. "type": "module",
  16. "scripts": {
  17. "build": "build/demi.sh build",
  18. "postbuild": "build/npm-post-build.sh",
  19. "cypress": "cypress run --e2e",
  20. "cypress:gui": "cypress open",
  21. "cypress:version": "cypress version",
  22. "dev": "build/demi.sh dev",
  23. "postinstall": "build/demi.sh ci",
  24. "lint": "eslint --suppressions-location build/eslint-baseline.json --no-error-on-unmatched-pattern ./cypress",
  25. "postlint": "build/demi.sh lint",
  26. "lint:fix": "build/demi.sh lint:fix",
  27. "sass": "sass --style compressed --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
  28. "sass:icons": "node build/icons.mjs",
  29. "sass:watch": "sass --watch --load-path core/css core/css/ $(for cssdir in $(find apps -mindepth 2 -maxdepth 2 -name \"css\"); do if ! $(git check-ignore -q $cssdir); then printf \"$cssdir \"; fi; done)",
  30. "stylelint": "stylelint $(for appdir in $(ls apps); do if ! $(git check-ignore -q \"apps/$appdir\"); then printf \"'apps/$appdir/**/*.{scss,vue}' \"; fi; done) 'core/**/*.{scss,vue}'",
  31. "stylelint:fix": "npm run stylelint -- --fix",
  32. "test": "vitest run; cd build/frontend-legacy && npm run test",
  33. "test:coverage": "vitest run --coverage --reporter=default",
  34. "test:update-snapshots": "vitest run --update; cd build/frontend-legacy && npm run test:update-snapshots",
  35. "test:watch": "concurrently 'vitest watch' 'cd build/frontend-legacy && npm run test:watch'",
  36. "watch": "build/demi.sh --parallel watch"
  37. },
  38. "browserslist": [
  39. "extends @nextcloud/browserslist-config"
  40. ],
  41. "dependencies": {
  42. "@mdi/svg": "^7.4.47",
  43. "@nextcloud/axios": "^2.5.2",
  44. "@nextcloud/calendar-availability-vue": "^3.0.0",
  45. "@nextcloud/dialogs": "^7.1.0",
  46. "@nextcloud/moment": "^1.3.5",
  47. "@nextcloud/password-confirmation": "^6.0.1",
  48. "@nextcloud/paths": "^2.2.1",
  49. "@nextcloud/vue": "^9.1.0",
  50. "pinia": "^3.0.3",
  51. "vue": "^3.5.22"
  52. },
  53. "devDependencies": {
  54. "@nextcloud/browserslist-config": "^3.1.1",
  55. "@nextcloud/e2e-test-server": "^0.4.0",
  56. "@nextcloud/eslint-config": "^9.0.0-rc.5",
  57. "@nextcloud/stylelint-config": "^3.1.1",
  58. "@nextcloud/vite-config": "^2.5.2",
  59. "@testing-library/cypress": "^10.1.0",
  60. "@testing-library/jest-dom": "^6.9.1",
  61. "@testing-library/vue": "^8.1.0",
  62. "@types/dockerode": "^3.3.45",
  63. "@types/wait-on": "^5.3.4",
  64. "@vitest/coverage-v8": "^3.2.4",
  65. "@vue/test-utils": "^2.4.6",
  66. "@vue/tsconfig": "^0.8.1",
  67. "@zip.js/zip.js": "^2.8.8",
  68. "concurrently": "^9.2.1",
  69. "cypress": "^15.5.0",
  70. "cypress-axe": "^1.7.0",
  71. "cypress-if": "^1.13.2",
  72. "cypress-split": "^1.24.25",
  73. "cypress-vite": "^1.8.0",
  74. "cypress-wait-until": "^3.0.2",
  75. "dockerode": "^4.0.9",
  76. "eslint": "^9.39.0",
  77. "eslint-plugin-cypress": "^5.2.0",
  78. "eslint-plugin-no-only-tests": "^3.3.0",
  79. "globals": "^16.5.0",
  80. "jsdom": "^27.0.1",
  81. "jsdom-testing-mocks": "^1.16.0",
  82. "sass": "^1.93.3",
  83. "stylelint": "^16.25.0",
  84. "stylelint-use-logical": "^2.1.2",
  85. "ts-node": "^10.9.2",
  86. "tslib": "^2.8.1",
  87. "vite": "^7.1.12",
  88. "vitest": "^3.2.4",
  89. "wait-on": "^9.0.1"
  90. },
  91. "engines": {
  92. "node": "^22.0.0",
  93. "npm": "^10.5.0"
  94. }
  95. }