forked from cozy-labs/cozy-desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 6.23 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
{
"name": "CozyDrive",
"productName": "Cozy Drive",
"private": true,
"version": "3.4.4-beta.2",
"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"
},
"keywords": [
"Electron",
"desktop",
"drive",
"data",
"sync",
"files",
"cozy"
],
"scripts": {
"bootstrap": "yarn dev:setup && yarn test:setup",
"bootstrap:remote": "babel-node ./dev/remote/generate-test-env.js",
"build": "yarn build:core && yarn build:css && yarn build:elm && yarn build:tx",
"build:core": "babel --source-maps --out-dir core-built core/",
"build:core:coverage": "babel --plugins babel-plugin-istanbul --source-maps --out-dir core-cov core/",
"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 babel-node ./dev/capture.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",
"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",
"lint": "npm run lint:flow && npm run 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",
"mocha:coverage": "yarn mocha --require ./test/support/coverage --reporter ./test/support/istanbul_reporter",
"postinstall": "yarn postinstall:electron && yarn postinstall:elm",
"postinstall:electron": "electron-builder install-app-deps",
"postinstall:elm": "elm-package install -y",
"prebuild": "yarn clean",
"reinstall": "bash -c 'rm -rf node_modules/' && yarn",
"release:build": "yarn release:check && yarn reinstall && yarn run clean && yarn build && yarn dist --publish onTagOrDraft",
"release:check": "yarn release:check:node8 && yarn release:check:branch",
"release:check:branch": "node ./dev/check-release-branch.js",
"release:check:node8": "node -e \"(process.versions.node.split('.')[0] !== '8') && process.exit(1)\"",
"repl": "env-cmd .env.dev babel-node ./dev/repl.js",
"start": "env-cmd .env.dev electron .",
"test": "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:integration": "yarn mocha test/integration",
"test:performance": "yarn mocha test/performance",
"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/",
"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": {
"async": "^2.1.5",
"auto-launch": "^5.0.3",
"babel-polyfill": "^6.26.0",
"bluebird": "^3.5.0",
"btoa": "1.1.2",
"bunyan": "^1.8.10",
"chokidar": "1.7.0",
"commander": "2.9.0",
"cozy-client-js": "^0.3.13",
"electron-fetch": "^1.1.0",
"electron-main-notification": "^1.0.1",
"electron-positioner": "^3.0.0",
"electron-proxy-agent": "^1.0.2",
"electron-updater": "^2.18.2",
"fs-extra": "^3.0.0",
"isomorphic-fetch": "2.2.1",
"lnk": "^1.1.0",
"lodash": "^4.17.4",
"micromatch": "3.0.2",
"mime": "^1.3.4",
"opn": "5.0.0",
"pouchdb": "^6.2.0",
"pouchdb-find": "^6.2.0",
"read": "1.0.7",
"readdirp": "2.1.0",
"trash": "^4.0.1",
"yargs": "^10.0.3"
},
"devDependencies": {
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-eslint": "^7.1.1",
"babel-plugin-array-includes": "^2.0.3",
"babel-plugin-autobind-class-methods": "^5.0.1",
"babel-plugin-istanbul": "^4.0.0",
"babel-plugin-transform-class-properties": "^6.23.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-es2016": "^6.22.0",
"babel-preset-es2017": "^6.22.0",
"cheerio": "^0.22.0",
"chokidar-cli": "^1.2.0",
"cozy-ui": "3.0.0-beta39",
"cross-env": "^5.0.0",
"debug-menu": "^0.6.1",
"del": "^2.2.2",
"devtron": "^1.4.0",
"electron": "^1.7.9",
"electron-builder": "^19.48.3",
"electron-mocha": "^3.4.2",
"elm": "^0.18.0",
"elm-format": "^0.6.1-alpha",
"elm-test": "^0.18.12",
"elm-upgrade": "^0.18.7",
"env-cmd": "^5.0.0",
"eslint": "^3.17.1",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-flowtype": "^2.30.3",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.0",
"faker": "^4.1.0",
"flow-bin": "^0.63.1",
"flow-typed": "^2.0.0",
"istanbul": "^0.4.5",
"istanbul-api": "^1.2.1",
"istanbul-lib-hook": "^1.1.0",
"jsverify": "^0.8.0",
"mocha": "^3.4.2",
"mocha-clean": "^1.0.0",
"rimraf": "^2.6.1",
"should": "^11.2.1",
"should-sinon": "^0.0.5",
"sinon": "^2.3.1",
"source-map-support": "^0.4.11",
"stylus": "^0.54.5",
"uuid": "^3.2.1",
"yarn": "^1.3.2"
}
}