-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
159 lines (159 loc) · 8.51 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": "cozy-drive",
"version": "1.24.0",
"main": "src/main.jsx",
"scripts": {
"build:drive": "npm run 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": "npm run 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:browser:hot": "COZY_APP_SLUG=drive cozy-scripts start --no-stack --hot --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",
"watch:drive:mobile:hot": "COZY_APP_SLUG=drive NODE_ENV=mobile:development cozy-scripts start --no-stack --hot --mobile --manifest src/drive/targets/manifest.webapp --src-dir src/drive ",
"watch:drive:standalone": "COZY_APP_SLUG=drive NODE_ENV=mobile:development cozy-scripts start --no-stack --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": "npm run watch:photos:browser",
"watch:photos:browser": "COZY_APP_SLUG=photos cozy-scripts watch --debug --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/drive/styles --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 USE_REACT=true cozy-scripts test --config=jest.config.json",
"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 && rm package.json || true && rm package-lock.json || true && 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 && 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 && 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": "npm run build:drive:android && npm run sign:drive:android",
"publish:drive:android": "npm run build:drive:mobile && npm run 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": "npm run 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:drive:manifest": "replace '\\d+\\.\\d+\\.\\d+' $npm_package_version ./src/drive/targets/manifest.webapp",
"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//\\./}'000\"' ./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 <contact@cozycloud.cc> (https://cozy.io/)",
"contributors": [
"CPatchane",
"enguerran",
"GoOz",
"goldoraf",
"gregorylegarec",
"kossi",
"m4dz",
"nono",
"ptbrowne",
"y_lohse"
],
"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.44.2",
"@testing-library/react": "^10.0.1",
"babel-core": "7.0.0-bridge.0",
"chrome-remote-interface": "0.27.1",
"cordova": "7.1.0",
"cordova-android": "7.1.4",
"cozy-jobs-cli": "1.13.0",
"css-mediaquery": "^0.1.2",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.2",
"enzyme-to-json": "3.4.4",
"eslint-config-cozy-app": "1.1.4",
"husky": "0.14.3",
"identity-obj-proxy": "3.0.0",
"npm-run-all": "4.1.5",
"react-addons-test-utils": "15.6.2",
"react-test-renderer": "15.6.2",
"replace": "1.1.5",
"splashicon-generator": "0.2.12",
"stylint": "1.5.9",
"tar": "4.4.13",
"testcafe": "1.4.3",
"unzipper": "0.10.5",
"visualreview-client": "git+https://github.com/cozy/VisualReview-node-client.git#v0.0.4",
"worker-loader": "2.0.0"
},
"dependencies": {
"@material-ui/core": "3.9.4",
"babel-preset-cozy-app": "1.8.1",
"classnames": "2.2.6",
"copy-text-to-clipboard": "1.0.4",
"cozy-authentication": "^2.0.5",
"cozy-bar": "7.12.2",
"cozy-ci": "0.4.1",
"cozy-client": "13.5.2",
"cozy-client-js": "0.16.4",
"cozy-device-helper": "1.9.2",
"cozy-doctypes": "1.72.2",
"cozy-flags": "1.11.0",
"cozy-realtime": "3.8.0",
"cozy-scanner": "^0.3.2",
"cozy-scripts": "1.13.2",
"cozy-sharing": "1.9.1",
"cozy-stack-client": "13.5.2",
"cozy-ui": "35.17.0",
"date-fns": "1.30.1",
"diacritics": "1.3.0",
"fastclick": "1.0.6",
"filesize": "3.6.1",
"hammerjs": "2.0.8",
"intersection-observer": "0.5.0",
"jest": "^24.9.0",
"justified-layout": "2.1.2",
"kd-tree-javascript": "1.0.3",
"localforage": "1.7.3",
"lodash": "4.17.15",
"log-prefix": "0.1.1",
"mime-types": "2.1.24",
"minilog": "https://github.com/cozy/minilog.git#master",
"node-polyglot": "2.4.0",
"node-uuid": "1.4.8",
"piwik-react-router": "0.8.2",
"popper.js": "1.14.4",
"pouchdb-find": "0.10.5",
"prop-types": "15.7.2",
"raven-js": "3.26.4",
"react": "16.10.2",
"react-autosuggest": "9.3.4",
"react-dom": "16.10.2",
"react-dropzone": "5.1.1",
"react-hot-loader": "^4.12.19",
"react-markdown": "3.6.0",
"react-measure": "2.2.4",
"react-redux": "7.2.0",
"react-router": "3.2.4",
"react-tooltip": "3.11.1",
"redux": "3.7.2",
"redux-logger": "3.0.6",
"redux-mock-store": "1.5.3",
"redux-raven-middleware": "1.2.0",
"redux-thunk": "2.3.0",
"scheduler": "0.17.0",
"webpack-node-externals": "1.7.2",
"whatwg-fetch": "3.0.0"
}
}