forked from owncloud/web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
159 lines (159 loc) · 8.53 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "owncloud_phoenix",
"title": "ownCloud Phoenix",
"icon": "folder",
"description": "A safe home for all your data",
"main": "core/core.bundle.js",
"scripts": {
"build:dev": "webpack -d --config webpack.dev.js",
"build:dev-ocis": "yarn run build:dev && rm -Rf dist/apps/*; mkdir -p dist/apps; cd apps; for APP in *; do rm -Rf ../dist/$APP; ln -s ../../apps/$APP/dist ../dist/apps/$APP; done",
"build": "webpack -p --config webpack.prod.js",
"dist": "run-s clean-all install-all build-all",
"clean-all": "rimraf apps/*/node_modules apps/*/dist node_modules dist/",
"ncu-all": "node build/run-for-all.js npm-check-updates -a",
"upgrade-all": "node build/run-for-all.js yarn upgrade",
"install-all": "yarn install --frozen-lockfile && node build/run-for-all.js yarn install --frozen-lockfile",
"build-all": "node build/run-for-all.js yarn build",
"watch-all": "node build/run-for-all.js -p yarn watch",
"watch-all-ocis": "yarn run build:dev-ocis && node build/run-for-all.js -p yarn watch",
"watch": "yarn run build:dev && webpack-dev-server --progress --colors --watch --config webpack.dev.js --public $SERVER_HOST",
"lint": "eslint src apps/*/src tests build --ext vue --ext js --color",
"lint-fix": "eslint src apps/*/src tests build --ext vue --ext js --color --fix",
"accessibility-tests": "node node_modules/axe-cli/axe-cli --exit --disable page-has-heading-one,meta-viewport",
"accessibility-tests-drone": "node node_modules/axe-cli/axe-cli --exit --disable page-has-heading-one,meta-viewport",
"install": "cd node_modules/cucumber; yarn install --frozen-lockfile",
"acceptance-tests": "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}\"",
"acceptance-tests-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}\"",
"acceptance-tests-with-ldap": "RUN_ON_OCIS=true RUN_WITH_LDAP=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}\"",
"acceptance-tests-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}\"",
"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 phoenix-tests-selenium selenium/standalone-chrome-debug",
"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 phoenix-tests-selenium selenium/standalone-chrome-debug",
"ldap-server": "docker run --rm -d -p 127.0.0.1:389:389 -p 636:636 --hostname ldap.my-company.com -e LDAP_TLS_VERIFY_CLIENT=never -e LDAP_DOMAIN=owncloud.com -e LDAP_ORGANISATION=ownCloud -e LDAP_ADMIN_PASSWORD=admin --name phoenix-tests-slapd osixia/openldap",
"redis-server": "docker run --rm -d -p 6379:6379 -e REDIS_DATABASES=1 --name phoenix-tests-redis webhippie/redis:latest",
"killall": "yarn run ocis-kill; yarn run docker-kill",
"ocis-kill": "killall ocis",
"docker-kill": "docker kill phoenix-tests-selenium phoenix-tests-redis",
"testing-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;",
"build-ocis": "if [ -d tests/ocis ]; then (cd tests/ocis && git reset --hard master && git pull); else git clone --depth 1 https://github.com/owncloud/ocis.git tests/ocis; fi; cd tests/ocis; make clean; make",
"ocis": "yarn run build-ocis; REVA_STORAGE_OWNCLOUD_REDIS_ADDR='localhost:6379' REVA_STORAGE_HOME_EXPOSE_DATA_SERVER=1 REVA_STORAGE_OC_EXPOSE_DATA_SERVER=1 PHOENIX_ASSET_PATH='./dist' tests/ocis/bin/ocis server &",
"ocis:mac": "yarn run build-ocis; REVA_STORAGE_OWNCLOUD_REDIS_ADDR='localhost:6379' PROXY_OIDC_ISSUER='https://host.docker.internal:9200' KONNECTD_INSECURE='true' KONNECTD_IDENTIFIER_REGISTRATION_CONF='./tests/acceptance/mac-identifier-registration.yml' KONNECTD_ISS='https://host.docker.internal:9200' KONNECTD_TLS='true' PHOENIX_WEB_CONFIG='./tests/acceptance/ocis-mac-config.json' PHOENIX_ASSET_PATH='./dist' bin/ocis server &",
"test-requirements:ocis": "yarn run redis-server; yarn run selenium; yarn run testing-app; yarn run ocis",
"test-requirements:ocis:mac": "yarn run redis-server; yarn run selenium:mac; yarn run testing-app; yarn run ocis:mac"
},
"author": "Felix Heidecke",
"license": "AGPL-3.0",
"homepage": "https://github.com/owncloud/phoenix",
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@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.6.0",
"@babel/register": "^7.6.0",
"archiver": "^3.0.0",
"axe-cli": "^3.1.0",
"babel-eslint": "^10.0.2",
"babel-loader": "^8.0.6",
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
"babel-plugin-transform-es2015-shorthand-properties": "^6.24.1",
"chromedriver": "^80.0.1",
"copy-webpack-plugin": "^5.0.3",
"core-js": "3.6.4",
"css-loader": "^3.1.0",
"cucumber": ">=6.0.5",
"cucumber-pretty": ">=6.0.0",
"deepmerge": "^4.2.1",
"easygettext": "2.9.0",
"eslint": "6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-standard": "^14.1.0",
"eslint-loader": "^3.0.0",
"eslint-plugin-compat": "^3.2.0",
"eslint-plugin-import": "^2.18.2",
"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",
"execa": "^4.0.0",
"file-loader": "^5.1.0",
"filter-obj": "^2.0.1",
"html-webpack-plugin": "^3.2.0",
"husky": ">=3.0.5",
"inert-polyfill": "^0.2.5",
"join-path": "^1.1.1",
"ldap": "^0.7.1",
"lint-staged": ">=9",
"lodash": "^4.17.15",
"mini-css-extract-plugin": "^0.9.0",
"nightwatch": "1.3.4",
"nightwatch-api": "3.0.1",
"node-fetch": "^2.6.0",
"node-fs-extra": "^0.8.2",
"npm-run-all": "^4.1.5",
"oidc-client": "^1.9.1",
"owncloud-design-system": "^1.14.0",
"owncloud-sdk": "^1.0.0-740",
"p-limit": "^2.2.1",
"p-queue": "^6.1.1",
"parse-json": "^5.0.0",
"path": "^0.12.7",
"requirejs": "^2.3.6",
"rimraf": "^3.0.0",
"start-server-and-test": "^1.9.1",
"style-loader": "^1.0.0",
"tus-js-client": "^1.8.0",
"url-search-params-polyfill": "^8.0.0",
"vue": "^2.6.10",
"vue-clipboard2": "^0.3.1",
"vue-drag-drop": "^1.1.4",
"vue-events": "^3.1.0",
"vue-gettext": "^2.1.5",
"vue-loader": "^15.7.1",
"vue-meta": "^2.2.2",
"vue-resize": "^0.4.5",
"vue-router": "^3.1.3",
"vue-scrollto": "^2.15.0",
"vue-template-compiler": "^2.6.10",
"vue2-touch-events": "^2.2.1",
"vuex": "^3.1.1",
"vuex-persist": "2.0.1",
"vuex-router-sync": "^5.0.0",
"webpack": "^4.36.1",
"webpack-cli": "^3.3.8",
"webpack-copy-plugin": "^0.0.4",
"webpack-dev-server": "^3.7.2",
"webpack-merge": "^4.2.2",
"webpack-version-file-plugin": "^0.4.0",
"whatwg-fetch": "^3.0.0",
"wicked-good-xpath": "^1.3.0",
"xml-js": "^1.6.11"
},
"browserslist": [
"last 2 version",
"> .2%",
"not dead",
"not IE 11",
"not IE_Mob 11"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{vue,js}": [
"yarn lint --fix",
"git add"
]
},
"engines": {
"node": ">=10 <13"
}
}