forked from owncloud/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 5.78 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"private": true,
"workspaces": [
"packages/web-app-draw-io",
"packages/web-app-files",
"packages/web-app-markdown-editor",
"packages/web-app-media-viewer",
"packages/web-runtime"
],
"scripts": {
"build": "rollup -c",
"build:w": "rollup -c -w",
"dep:test:app": "if [ -d tests/testing-app ]; then (cd tests/testing-app && git pull && pwd); else git clone --depth 1 https://github.com/owncloud/testing.git tests/testing-app; fi;",
"docker:kill": "docker kill web-tests-redis web-tests-selenium",
"docker:redis": "docker run --rm -d -p 6379:6379 -e REDIS_DATABASES=1 --name web-tests-redis webhippie/redis:latest",
"docker:selenium": "docker run --rm -d --network=\"host\" -v /dev/shm:/dev/shm -v ${REMOTE_UPLOAD_DIR:-$PWD/tests/acceptance/filesForUpload}:${LOCAL_UPLOAD_DIR:-/uploads}:ro --name web-tests-selenium selenium/standalone-chrome-debug",
"docker:selenium:mac": "docker run --rm -d -p ${SELENIUM_PORT:-4444}:4444 -p 5900:5900 -v /dev/shm:/dev/shm -v ${REMOTE_UPLOAD_DIR:-$PWD/tests/acceptance/filesForUpload}:${LOCAL_UPLOAD_DIR:-/uploads}:ro --name web-tests-selenium selenium/standalone-chrome-debug",
"lint": "eslint packages/*/src tests --ext vue --ext js --color",
"lint:fix": "eslint packages/*/src tests --ext vue --ext js --color --fix",
"test:acceptance:drone": "cucumber-js --retry 1 --require-module @babel/register --require-module @babel/polyfill --require tests/acceptance/setup.js --require tests/acceptance/stepDefinitions --format node_modules/cucumber-pretty ${TEST_PATHS:-tests/acceptance/features/$TEST_CONTEXT} -t \"${TEST_TAGS}\"",
"test:acceptance:oc10": "cucumber-js --require-module @babel/register --require-module @babel/polyfill --require tests/acceptance/setup.js --require tests/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOC10}\"",
"test:acceptance:ocis": "NODE_TLS_REJECT_UNAUTHORIZED=0 RUN_ON_OCIS=true cucumber-js --require-module @babel/register --require-module @babel/polyfill --require tests/acceptance/setup.js --require tests/acceptance/stepDefinitions --format node_modules/cucumber-pretty -t \"${TEST_TAGS:-not @skip and not @skipOnOCIS and not @notToImplementOnOCIS}\"",
"test:acceptance:prepare": "yarn docker:redis; yarn docker:selenium; yarn dep:test:app",
"test:acceptance:prepare:mac": "yarn docker:redis; yarn docker:selenium:mac; yarn dep:test:app",
"test:accessibility": "node node_modules/axe-cli/axe-cli --exit --disable page-has-heading-one,meta-viewport"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{vue,js}": [
"yarn lint --fix",
"git add"
]
},
"author": "ownCloud",
"license": "AGPL-3.0",
"homepage": "https://github.com/owncloud/web",
"browserslist": [
"last 2 version",
"> .2%",
"not dead",
"not IE 11",
"not IE_Mob 11"
],
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-proposal-export-default-from": "^7.5.2",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-transform-classes": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.12.11",
"@babel/register": "^7.6.0",
"@erquhart/rollup-plugin-node-builtins": "^2.1.5",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-html": "^0.2.0",
"@rollup/plugin-json": "^4.1.0",
"@vue/test-utils": "^1.1.2",
"archiver": "^3.0.0",
"axe-cli": "^3.1.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.6",
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"babel-plugin-transform-es2015-shorthand-properties": "^6.24.1",
"chromedriver": "^87.0.0",
"cucumber": ">=6.0.5",
"cucumber-pretty": ">=6.0.0",
"ejs": "^3.1.5",
"eslint": "6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.0",
"eslint-plugin-vue": "^6.2.2",
"fs-extra": "^9.0.1",
"html-minifier": "^4.0.0",
"husky": ">=3.0.5",
"inert-polyfill": "^0.2.5",
"jest": "^26.6.3",
"jest-serializer-vue": "^2.0.2",
"jest-svg-transformer": "^1.0.0",
"join-path": "^1.1.1",
"ldapjs": "^2.2.3",
"lint-staged": ">=9",
"lodash": "^4.17.15",
"nightwatch": "1.3.4",
"nightwatch-api": "3.0.1",
"nightwatch-vrt": "^0.2.10",
"node-fetch": "^2.6.1",
"node-fs-extra": "^0.8.2",
"node-sass": "^5.0.0",
"npm-run-all": "^4.1.5",
"oidc-client": "^1.9.1",
"owncloud-design-system": "^2.1.2",
"owncloud-sdk": "^1.0.0-740",
"p-limit": "^2.2.1",
"postcss": "^8.2.2",
"requirejs": "^2.3.6",
"rollup": "^2.34.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-gzip": "^2.5.0",
"rollup-plugin-modify": "^3.0.0",
"rollup-plugin-node-globals": "^1.4.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^4.0.0",
"rollup-plugin-progress": "^1.1.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^4.2.0",
"rollup-plugin-vue": "^5.1.4",
"url-search-params-polyfill": "^8.0.0",
"vue-template-compiler": "^2.6.12",
"xml-js": "^1.6.11"
},
"engines": {
"node": ">=10 <13"
}
}