|
1 | 1 | { |
2 | 2 | "name": "nextcloud", |
3 | 3 | "version": "1.0.0", |
| 4 | + "private": true, |
4 | 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", |
5 | 14 | "author": "Nextcloud GmbH and Nextcloud contributors", |
6 | | - "private": true, |
7 | 15 | "directories": { |
8 | 16 | "lib": "lib", |
9 | 17 | "test": "tests" |
10 | 18 | }, |
11 | 19 | "scripts": { |
12 | 20 | "build": "webpack --node-env production --progress", |
13 | 21 | "postbuild": "build/npm-post-build.sh", |
| 22 | + "cypress": "npm run cypress:component && npm run cypress:e2e", |
| 23 | + "cypress:component": "cypress run --component", |
| 24 | + "cypress:e2e": "cypress run --e2e", |
| 25 | + "cypress:gui": "cypress open", |
| 26 | + "cypress:version": "cypress version", |
14 | 27 | "dev": "webpack --node-env development --progress", |
15 | | - "watch": "webpack --node-env development --progress --watch", |
16 | 28 | "lint": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"apps/$appdir \"; fi; done) core --no-error-on-unmatched-pattern", |
17 | 29 | "lint:fix": "eslint $(for appdir in $(ls apps); do if ! $(git check-ignore -q $appdir); then printf \"apps/$appdir \"; fi; done) core --no-error-on-unmatched-pattern --fix", |
| 30 | + "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)", |
| 31 | + "sass:icons": "babel-node core/src/icons.js", |
| 32 | + "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)", |
18 | 33 | "stylelint": "stylelint '{apps,core}/**/*.{scss,vue}'", |
19 | 34 | "stylelint:fix": "stylelint --fix '{apps,core}/**/*.{scss,vue}'", |
20 | 35 | "test": "vitest run", |
21 | | - "test:watch": "vitest watch", |
22 | 36 | "test:coverage": "vitest run --coverage", |
23 | | - "test:update-snapshots": "vitest run --update", |
24 | 37 | "test:jsunit": "karma start tests/karma.config.js --single-run", |
25 | | - "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)", |
26 | | - "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)", |
27 | | - "sass:icons": "babel-node core/src/icons.js", |
28 | | - "cypress": "npm run cypress:component && npm run cypress:e2e", |
29 | | - "cypress:component": "cypress run --component", |
30 | | - "cypress:e2e": "cypress run --e2e", |
31 | | - "cypress:gui": "cypress open", |
32 | | - "cypress:version": "cypress version" |
33 | | - }, |
34 | | - "repository": { |
35 | | - "type": "git", |
36 | | - "url": "https://github.com/nextcloud/server.git" |
| 38 | + "test:update-snapshots": "vitest run --update", |
| 39 | + "test:watch": "vitest watch", |
| 40 | + "watch": "webpack --node-env development --progress --watch" |
37 | 41 | }, |
38 | | - "keywords": [ |
39 | | - "nextcloud" |
| 42 | + "browserslist": [ |
| 43 | + "extends @nextcloud/browserslist-config" |
40 | 44 | ], |
41 | | - "license": "AGPL-3.0-or-later", |
| 45 | + "overrides": { |
| 46 | + "colors": "1.4.0" |
| 47 | + }, |
42 | 48 | "dependencies": { |
43 | 49 | "@chenfengyuan/vue-qrcode": "^1.0.2", |
44 | 50 | "@mdi/js": "^7.4.47", |
|
195 | 201 | "webpack-merge": "^6.0.1", |
196 | 202 | "workbox-webpack-plugin": "^7.3.0" |
197 | 203 | }, |
198 | | - "browserslist": [ |
199 | | - "extends @nextcloud/browserslist-config" |
200 | | - ], |
201 | 204 | "engines": { |
202 | 205 | "node": "^20.0.0", |
203 | | - "npm": "^10.0.0" |
204 | | - }, |
205 | | - "overrides": { |
206 | | - "colors": "1.4.0" |
| 206 | + "npm": "^10.5.0" |
207 | 207 | } |
208 | 208 | } |
0 commit comments