forked from cozy-labs/cozy-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
155 lines (155 loc) · 5.93 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
{
"name": "CozyDrive",
"productName": "Cozy Drive",
"private": true,
"version": "3.14.0",
"description": "Cozy Drive is a synchronization tool for your files and folders with Cozy Cloud.",
"homepage": "https://github.com/cozy-labs/cozy-desktop",
"author": "Cozy Cloud <[email protected]> (https://cozycloud.cc/)",
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/cozy-labs/cozy-desktop/issues"
},
"main": "gui/main.js",
"repository": {
"type": "git",
"url": "git://github.com/cozy-labs/cozy-desktop.git"
},
"engines": {
"node": ">=8.9.3"
},
"keywords": [
"Electron",
"desktop",
"drive",
"data",
"sync",
"files",
"cozy"
],
"scripts": {
"bootstrap": "yarn dev:setup && yarn test:setup",
"bootstrap:remote": "electron ./dev/remote/generate-test-env.js",
"build": "yarn build:css && yarn build:elm && yarn build:tx",
"build:css": "stylus --sourcemap --compress --use cozy-ui/stylus gui/styles/app.styl --out gui",
"build:elm": "elm make ./gui/elm/Main.elm --output ./gui/elm.js",
"build:tx": "tx pull --all --minimum-perc=1 || true",
"capture": "env-cmd .env.test electron ./dev/capture.js",
"capture:manual": "env-cmd .env.test electron ./dev/chokidar.js",
"clean": "rimraf core/lib/ core/tmp/ gui/elm.js gui/app.css* gui/dist/",
"cozy-stack": "yarn docker:exec cozy-stack",
"dev:setup": "bash ./dev/setup.sh",
"dev:elm": "yarn watch:css & yarn watch:elm & python2 -m SimpleHTTPServer 8000",
"dist": "electron-builder build",
"dist:all": "yarn dist --x64 --ia32",
"docker:exec": "docker exec -it cozy-desktop-stack",
"elm:upgrade": "cd gui && yarn add --dev elm@latest elm-upgrade@latest && elm-upgrade",
"jq": "cross-env HOME=. nice -n 19 jq",
"jsdoc": "jsdoc -c .jsdoc.json -r ./CODE_ORGANIZATION.md -d ./doc/api/ core/ dev/ gui/ test/",
"jsdoc:watch": "chokidar package.json .jsdoc.json ./CODE_ORGANIZATION.md 'core/**/*.js' 'dev/**/*.js' 'gui/**/*.js' 'test/**/*.js' -c 'yarn jsdoc'",
"lint": "yarn lint:flow && yarn lint:eslint",
"lint:flow": "flow status --quiet --show-all-errors",
"lint:elm": "elm-format --validate gui/elm test/elm",
"lint:eslint": "eslint './core/**/*.js' 'dev/**/*.js' gui/main.js gui/ports.js 'gui/js/**/*.js' './test/**/*.js'",
"mocha": "env-cmd .env.test electron-mocha ./test/support/hooks/index.js",
"mocha:coverage": "yarn mocha --require ./test/support/coverage --reporter ./test/support/istanbul_reporter",
"mocha:watch": "./test/watch.sh",
"install:all": "yarn && yarn install:electron",
"install:electron": "electron-builder install-app-deps",
"prebuild": "yarn clean",
"repl": "env-cmd .env.dev electron ./dev/repl.js",
"stack:reset": "sudo ./node_modules/.bin/rimraf tmp/couchdb tmp/cozy-storage",
"start": "env-cmd .env.dev electron .",
"test": "yarn test:world && yarn test:unit && yarn test:elm && yarn test:integration && yarn test:scenarios",
"test:coverage": "yarn test:unit:coverage && yarn test:integration",
"test:elm": "elm-test test/elm/*.elm",
"test:integration": "yarn mocha test/integration",
"test:performance": "yarn mocha test/performance",
"test:property": "env NO_ELECTRON=true BLUEBIRD_WARNINGS=0 mocha --exit test/property",
"test:scenarios": "yarn mocha test/scenarios/run.js",
"test:setup": "yarn docker:exec /cozy-desktop/test/setup.sh",
"test:unit": "yarn mocha test/unit/",
"test:unit:coverage": "yarn mocha:coverage test/unit/",
"test:world": "yarn mocha test/world/",
"watch": "yarn watch:core & cross-env WATCH=true yarn start & yarn watch:css & yarn watch:elm & yarn watch:js",
"watch:core": "yarn build:core --watch",
"watch:css": "stylus --sourcemap --use cozy-ui/stylus --watch gui/styles/app.styl --out gui",
"watch:elm": "chokidar 'gui/elm/**/*.elm' -c 'yarn build:elm'",
"watch:js": "chokidar 'gui/js/**/*.js' gui/main.js gui/ports.js -c 'eslint {path}'"
},
"dependencies": {
"@atom/watcher": "^1.3.1",
"async": "^2.6.2",
"auto-bind": "^2.0.0",
"auto-launch": "^5.0.3",
"bluebird": "^3.5.4",
"btoa": "^1.1.2",
"bunyan": "^1.8.12",
"chokidar": "^2.0.4",
"cozy-client-js": "0.13.0",
"deep-diff": "^1.0.2",
"dtrace-provider": "^0.8.6",
"electron-fetch": "~1.1.0",
"electron-positioner": "^4.0.0",
"electron-proxy-agent": "^1.0.2",
"electron-updater": "^3.0.0",
"fs-extra": "^8.0.0",
"isomorphic-fetch": "2.2.1",
"lnk": "^1.1.0",
"lodash": "^4.17.11",
"micromatch": "^3.1.0",
"mime": "^1.3.4",
"opn": "5.0.0",
"pouchdb": "^7.0.0",
"pouchdb-find": "^7.0.0",
"raven": "^2.6.4",
"read": "1.0.7",
"trash": "^5.0.0",
"uuid": "^3.3.2",
"yargs": "^11.0.0"
},
"devDependencies": {
"cheerio": "^0.22.0",
"chokidar-cli": "^1.2.1",
"commander": "^2.20.0",
"cozy-ui": "3.0.0-beta39",
"cross-env": "^5.2.0",
"debug-menu": "^0.6.1",
"del": "^4.0.0",
"devtron": "^1.4.0",
"electron": "^2.0.18",
"electron-builder": "^19.48.3",
"electron-mocha": "^8.0.3",
"elm": "^0.19.0",
"elm-format": "elm0.19.0",
"elm-test": "^0.19.0-rev6",
"elm-upgrade": "^0.19.6",
"env-cmd": "^8.0.0",
"eslint-config-cozy-app": "^1.1.12",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.1.1",
"faker": "^4.1.0",
"flow-bin": "^0.98.0",
"flow-typed": "^2.5.0",
"glob": "^7.1.4",
"istanbul": "^0.4.5",
"istanbul-api": "^2.0.0",
"istanbul-lib-coverage": "^2.0.0",
"istanbul-lib-hook": "^2.0.0",
"jsdoc": "~3.5.0",
"jsverify": "^0.8.4",
"merge-dirs": "^0.2.1",
"mocha-clean": "^1.0.0",
"pouchdb-adapter-memory": "^7.0.0",
"request-promise": "^4.2.4",
"rimraf": "^2.6.3",
"should": "^11.2.1",
"should-sinon": "^0.0.5",
"sinon": "^2.3.1",
"source-map-support": "^0.5.11",
"stylus": "^0.54.5"
},
"optionalDependencies": {
"@gyselroth/windows-fsstat": "^0.0.7"
}
}