forked from cozy/cozy-drive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
176 lines (176 loc) · 9.35 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
{
"name": "cozy-drive",
"version": "1.41.0",
"main": "src/main.jsx",
"scripts": {
"build": "yarn build:drive && yarn build:photos",
"build:drive": "yarn build:drive:browser",
"build:drive:browser": "COZY_APP_SLUG=drive cozy-scripts build --manifest src/drive/targets/manifest.webapp --build-dir build/drive --src-dir src/drive",
"build:drive:mobile": "COZY_APP_SLUG=drive cozy-scripts build --mobile --manifest src/drive/targets/manifest.webapp --src-dir src/drive",
"watch:drive": "yarn watch:drive:browser",
"watch:drive:browser": "COZY_APP_SLUG=drive cozy-scripts watch --manifest src/drive/targets/manifest.webapp --build-dir build/drive --src-dir src/drive",
"watch:drive:mobile": "COZY_APP_SLUG=drive NODE_ENV=mobile:development cozy-scripts watch --manifest src/drive/targets/manifest.webapp --src-dir src/drive",
"start:drive:browser": "COZY_APP_SLUG=drive cozy-scripts start --manifest src/drive/targets/manifest.webapp --build-dir build/drive --src-dir src/drive",
"start:drive:mobile": "COZY_APP_SLUG=drive NODE_ENV=mobile:development cozy-scripts start --mobile --manifest src/drive/targets/manifest.webapp --src-dir src/drive ",
"start:drive:standalone": "COZY_APP_SLUG=drive NODE_ENV=mobile:development cozy-scripts start --manifest src/drive/targets/manifest.webapp --src-dir src/drive",
"build:photos": "npm-run-all --parallel build:photos:browser",
"build:photos:browser": "COZY_APP_SLUG=photos cozy-scripts build --manifest src/photos/targets/manifest.webapp --build-dir build/photos --src-dir src/photos",
"watch:photos": "yarn watch:photos:browser",
"watch:photos:browser": "COZY_APP_SLUG=photos cozy-scripts watch --manifest src/photos/targets/manifest.webapp --build-dir build/photos --src-dir src/photos",
"start:photos:browser": "COZY_APP_SLUG=photos cozy-scripts start --manifest src/photos/targets/manifest.webapp --build-dir build/photos --src-dir src/photos",
"deploy:drive": "cozy-app-publish --token $REGISTRY_TOKEN --build-dir 'build/drive/' --prepublish downcloud --postpublish mattermost",
"deploy:photos": "cozy-app-publish --token $REGISTRY_TOKEN --build-dir 'build/photos/' --prepublish downcloud --postpublish mattermost",
"tx": "tx pull --all || true",
"lint": "npm-run-all --parallel 'lint:*'",
"lint:styles": "stylint src --config ./node_modules/cozy-scripts/config/.stylintrc",
"lint:js": "eslint '{src,test}/**/*.{js,jsx}'",
"testcafe:drive": "node testcafe/runner-drive.js",
"testcafe:photos": "node testcafe/runner-photos.js",
"test": "env NODE_ENV='test' cozy-scripts test",
"genicon:drive:mobile": "(cd src/drive/targets/mobile && rm -Rf ./res/icons ./res/screens && splashicon-generator --imagespath='./res/model' && cp res/model/splash.png res/screens/ios/Default@2x~universal~anyany.png)",
"prepare:drive:mobile": "(cd src/drive/targets/mobile && rm -rf platforms && rm -rf plugins && cordova prepare)",
"run:drive:android": "(cd src/drive/targets/mobile && cordova run android --device )",
"run:drive:android:emulator": "(cd src/drive/targets/mobile && cordova run android --emulator )",
"build:drive:android": "(cd src/drive/targets/mobile && cordova build android --release )",
"build:drive:android:debug": "(cd src/drive/targets/mobile && cordova build android --debug )",
"sign:drive:android": "(cd src/drive/targets/mobile && mkdir -p build/android && apksigner sign --ks keys/android/cozy-drive-release-key.jks --out build/android/cozy-drive.apk platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk)",
"autosign:drive:android": "(cd src/drive/targets/mobile && mkdir -p build/android && apksigner sign --ks keys/android/cozy-drive-release-key.jks --ks-pass env:ANDROID_KEYSTORE_PASS --out build/android/cozy-drive.apk platforms/android/app/build/outputs/apk/release/app-release-unsigned.apk)",
"buildsigned:drive:android": "yarn build:drive:android && yarn sign:drive:android",
"publish:drive:android": "yarn build:drive:mobile && yarn buildsigned:drive:android && (cd src/drive/targets/mobile && fastlane android pushbeta)",
"publishbeta:drive:android": "(cd src/drive/targets/mobile && fastlane android pushbeta)",
"run:drive:ios": "(cd src/drive/targets/mobile && cordova run ios --buildFlag='-UseModernBuildSystem=0' --device)",
"run:drive:ios:emulator": "(cd src/drive/targets/mobile && cordova run ios --buildFlag='-UseModernBuildSystem=0' --emulator)",
"publish:drive:ios": "yarn build:drive:mobile && (cd src/drive/targets/mobile && fastlane ios pushtest)",
"sentry:drive:mobile": "sentry-cli releases -o sentry -p cozy-drive-v3 files $npm_package_version upload-sourcemaps ./src/drive/targets/mobile/www",
"version": "yarn version:drive & yarn version:photos",
"version:drive:manifest": "replace '\\d+\\.\\d+\\.\\d+' $npm_package_version ./src/drive/targets/manifest.webapp",
"version:drive:mobilePackage": "replace '\"version\": \"\\d+\\.\\d+\\.\\d+\"' '\"version\": \"'$npm_package_version'\"' ./src/drive/targets/mobile/package.json",
"version:drive:config": "replace 'version=\"\\d+\\.\\d+\\.\\d+\"' 'version=\"'$npm_package_version'\"' ./src/drive/targets/mobile/config.xml",
"version:drive:iosbuild": "replace 'CFBundleVersion=\"\\d+\\.\\d+\\.\\d+.\\d+\"' 'CFBundleVersion=\"'$npm_package_version'.0\"' ./src/drive/targets/mobile/config.xml",
"version:drive:androidbuild": "replace 'android-versionCode=\"\\d+\"' 'android-versionCode=\"'${npm_package_version//\\./}'0000\"' ./src/drive/targets/mobile/config.xml",
"version:drive:useragent": "replace 'value=\"(.+)\\d+\\.\\d+\\.\\d+\"' 'value=\"$1'$npm_package_version'\"' ./src/drive/targets/mobile/config.xml",
"version:drive": "npm-run-all --parallel 'version:drive:*'",
"version:photos": "replace '\\d+\\.\\d+\\.\\d+' $npm_package_version ./src/photos/targets/manifest.webapp"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cozy/cozy-drive.git"
},
"author": "Cozy Cloud <[email protected]> (https://cozy.io/)",
"contributors": [
"CPatchane",
"enguerran",
"GoOz",
"goldoraf",
"gregorylegarec",
"kossi",
"m4dz",
"nono",
"ptbrowne",
"y_lohse",
"trollepierre"
],
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/cozy/cozy-drive/issues"
},
"homepage": "https://github.com/cozy/cozy-drive#readme",
"devDependencies": {
"@sentry/cli": "1.72.1",
"@testing-library/jest-dom": "5.16.3",
"@testing-library/react": "11.2.7",
"@testing-library/react-hooks": "3.7.0",
"@welldone-software/why-did-you-render": "^6.1.4",
"babel-core": "7.0.0-bridge.0",
"babel-runtime": "^6.26.0",
"bundlemon": "1.3.1",
"chrome-remote-interface": "0.31.2",
"cordova": "8.1.2",
"cordova-android": "9.1.0",
"css-mediaquery": "^0.1.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.6",
"enzyme-to-json": "3.6.2",
"eslint-config-cozy-app": "4.0.0",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"jest-environment-jsdom-sixteen": "^2.0.0",
"npm-run-all": "4.1.5",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "16.14.0",
"replace": "1.2.1",
"splashicon-generator": "0.2.12",
"stylint": "1.5.9",
"tar": "4.4.18",
"testcafe": "1.18.3",
"unzipper": "0.10.11",
"visualreview-client": "git+https://github.com/cozy/VisualReview-node-client.git#v0.0.4",
"worker-loader": "2.0.0"
},
"dependencies": {
"@cozy/minilog": "1.0.0",
"@egjs/hammerjs": "^2.0.17",
"@material-ui/core": "4.12.3",
"classnames": "2.3.1",
"copy-text-to-clipboard": "1.0.4",
"cozy-authentication": "2.6.1",
"cozy-bar": "7.17.7",
"cozy-ci": "0.4.1",
"cozy-client": "^27.19.4",
"cozy-client-js": "0.19.0",
"cozy-device-helper": "1.17.0",
"cozy-doctypes": "1.82.2",
"cozy-flags": "2.6.0",
"cozy-harvest-lib": "5.10.5",
"cozy-intent": "^1.13.2",
"cozy-keys-lib": "4.1.1",
"cozy-logger": "1.6.0",
"cozy-pouch-link": "^27.19.4",
"cozy-realtime": "3.13.0",
"cozy-scanner": "2.0.2",
"cozy-scripts": "6.3.1",
"cozy-sharing": "4.1.5",
"cozy-stack-client": "^27.19.4",
"cozy-ui": "^62.4.3",
"date-fns": "1.30.1",
"diacritics": "1.3.0",
"fastclick": "1.0.6",
"filesize": "3.6.1",
"jest": "^24.9.0",
"justified-layout": "2.1.2",
"kd-tree-javascript": "1.0.3",
"localforage": "1.10.0",
"lodash": "4.17.21",
"log-prefix": "0.1.1",
"mime-types": "2.1.34",
"mui-bottom-sheet": "https://github.com/cozy/mui-bottom-sheet.git#v1.0.6",
"node-fetch": "2.6.7",
"node-polyglot": "2.4.2",
"popper.js": "1.16.1",
"pouchdb-adapter-cordova-sqlite": "^2.0.7",
"pouchdb-adapter-idb": "7.2.2",
"pouchdb-adapter-indexeddb": "7.2.2",
"pouchdb-debug": "^7.2.1",
"prop-types": "15.8.1",
"propagating-hammerjs": "^2.0.1",
"raven-js": "3.27.2",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-dropzone": "5.1.1",
"react-inspector": "^5.1.0",
"react-measure": "2.5.0",
"react-redux": "7.2.0",
"react-remove-scroll": "^2.4.4",
"react-router": "3.2.6",
"react-tooltip": "3.11.1",
"redux": "3.7.2",
"redux-logger": "3.0.6",
"redux-mock-store": "1.5.4",
"redux-raven-middleware": "1.2.0",
"redux-thunk": "2.3.0",
"scheduler": "0.20.2",
"snarkdown": "2.0.0",
"webpack-node-externals": "3.0.0",
"whatwg-fetch": "3.0.0"
}
}