-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
257 lines (257 loc) · 8.77 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
{
"name": "brave",
"version": "0.24.0",
"description": "Brave laptop and desktop browser",
"main": "./app/index.js",
"config": {
"port": "8080"
},
"scripts": {
"add-simulated-payment-history": "node ./tools/addSimulatedPaymentHistory.js",
"add-simulated-synopsis-visits": "node ./tools/addSimulatedSynopsisVisits.js",
"build-installer": "node ./tools/buildInstaller.js",
"build-package": "node ./tools/buildPackage.js",
"build-test": "cross-env NODE_ENV=test webpack",
"check-security": "nsp check",
"checks": "npm run check-security",
"clean": "node ./tools/clean.js",
"clean-adblock-data": "node ./tools/clean.js userData ABPFilterParserData.dat",
"clean-httpse-data": "node ./tools/clean.js userData httpse.json",
"clean-sb-data": "node ./tools/clean.js userData SafeBrowsingData.dat",
"clean-session-store": "node ./tools/clean.js userData session-store-1",
"clean-tp-data": "node ./tools/clean.js userData TrackingProtection.dat",
"download-languages": "node ./tools/downloadLanguages",
"download-sync-client": "node ./tools/downloadSyncClient",
"electron-rebuild": "electron-rebuild",
"flow": "flow; test $? -eq 0 -o $? -eq 2",
"lint": "standard --verbose | snazzy",
"lint-standard": "standard",
"postinstall": "npm run download-sync-client && webpack",
"pre-push-tests": "if [ -z $NO_PUSH_TESTS ]; then npm run unittest; fi",
"start-log": "node ./tools/start.js --user-data-dir-name=brave-development --enable-logging=stderr --v=1 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start": "node ./tools/start.js --user-data-dir-name=brave-development --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start2": "node ./tools/start.js --user-data-dir-name=brave-development-2 --enable-logging --v=0 --enable-extension-activity-logging --enable-sandbox-logging --enable-dcheck",
"start-brk": "node ./tools/start.js --debug-brk=5858 -enable-logging --v=0 --enable-dcheck --user-data-dir-name=brave-development",
"test": "cross-env NODE_ENV=test mocha \"test/**/*Test.js\"",
"testsuite": "node ./tools/test.js",
"unittest": "python tools/test && cross-env NODE_ENV=test mocha \"test/unit/**/*Test.js\" --globals chrome,DOMParser,XMLSerializer",
"unittest-cov-nyc": "nyc --reporter=lcov --reporter=text-lcov npm run unittest",
"unittest-cov": "node --harmony node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --globals chrome,DOMParser,XMLSerializer --report lcovonly --report html --report text -x \"test/unit/**/*Test.js\" -- \"test/unit/**/*Test.js\"",
"update-pdfjs": "rm -r app/extensions/pdfjs/; cp -r ../pdf.js/build/chromium/ app/extensions/pdfjs/",
"update-psl": "./tools/updatepsl.sh",
"vagrant-destroy-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant destroy",
"vagrant-halt-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant halt",
"vagrant-rsync-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant rsync-auto",
"vagrant-ssh-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant ssh",
"vagrant-up-linux": "VAGRANT_CWD=./test/vms/vagrant/ubuntu-14.04 vagrant up",
"watch": "webpack-dev-server --color",
"watch-all": "npm run watch & npm run watch-test",
"watch-test": "cross-env NODE_ENV=test webpack --watch",
"webpack": "webpack",
"win-renpm": "powershell ./tools/windows/re-npm.ps1"
},
"repository": "brave/browser-laptop",
"author": {
"name": "Brave Software <[email protected]>"
},
"contributors": [
{
"name": "Brian R. Bondy",
"email": "[email protected]"
},
{
"name": "Aubrey Keus",
"email": "[email protected]"
},
{
"name": "Brian Johnson",
"email": "[email protected]"
},
{
"name": "Yan Zhu",
"email": "[email protected]"
},
{
"name": "Brian Clifton",
"email": "[email protected]"
},
{
"name": "Cezar Augusto",
"email": "[email protected]"
}
],
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/brave/browser-laptop/issues"
},
"homepage": "https://www.brave.com/",
"dependencies": {
"acorn": "3.2.0",
"aphrodite": "1.1.0",
"async": "^2.0.1",
"bat-balance": "^1.0.7",
"bat-client": "^3.3.2",
"bat-publisher": "^2.0.18",
"bignumber.js": "^4.0.4",
"bloodhound-js": "brave/bloodhound",
"clipboard-copy": "^1.0.0",
"compare-versions": "^3.0.1",
"date-fns": "^1.29.0",
"deepmerge": "^2.0.1",
"dtrace-provider": "brave/node-dtrace-provider",
"electron-localshortcut": "^0.6.0",
"electron-squirrel-startup": "brave/electron-squirrel-startup",
"emoji-regex": "^6.5.1",
"file-loader": "0.11.2",
"font-awesome": "^4.5.0",
"fs-extra": "^2.1.2",
"immutable": "^3.7.5",
"immutablediff": "^0.4.2",
"immutablepatch": "brave/immutable-js-patch",
"ip": "^1.1.5",
"l20n": "^3.5.1",
"lru-cache": "^1.0.0",
"nan": "2.8.0",
"niceware": "^1.0.4",
"parse-torrent": "^5.8.1",
"prettier-bytes": "^1.0.3",
"prop-types": "^15.5.6",
"punycode": "^2.0.0",
"qr-image": "3.2.0",
"random-lib": "2.1.0",
"react": "~15.6.1",
"react-dnd": "^2.1.4",
"react-dnd-html5-backend": "^2.1.2",
"react-dom": "^15.5.4",
"react-select": "^0.9.1",
"react-transition-group": "^2.2.1",
"sha3": "brave/node-sha3",
"snazzy": "^7.0.0",
"string.prototype.endswith": "^0.2.0",
"string.prototype.startswith": "^0.2.0",
"tablesort": "5.0.2",
"tldjs": "^2.3.1",
"underscore": "1.8.3",
"url-loader": "~0.6.2",
"v8-compile-cache": "^1.1.0",
"webtorrent-remote": ">=2.1.0"
},
"devDependencies": {
"asar": "~0.13.0",
"babel": "^6.1.18",
"babel-core": "^6.3.15",
"babel-eslint": "7.2.1",
"babel-loader": "^7.1.1",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-react-constant-elements": "^6.4.0",
"babel-plugin-transform-react-inline-elements": "^6.4.0",
"babel-polyfill": "^6.3.14",
"babel-preset-env": "^1.1.6",
"babel-preset-react": "^6.1.18",
"babel-register": "^6.3.13",
"babel-runtime": "^6.3.13",
"base64-js": "^1.2.0",
"chai": "^3.4.1",
"chai-as-promised": "^5.1.0",
"chrome-remote-interface": "^0.24.3",
"co-mocha": "^1.1.2",
"cross-env": "^3.1.4",
"css-loader": "~0.28.7",
"electron-builder": "^19.55.3",
"electron-chromedriver": "^1.7.1",
"electron-packager": "brave/electron-packager",
"electron-prebuilt": "brave/electron-prebuilt",
"empty-port": "0.0.2",
"enzyme": "^2.9.1",
"eslint-plugin-flowtype": "^2.40.1",
"flow-bin": "^0.53.1",
"font-awesome-webpack": "~0.0.4",
"git-rev-sync": "^1.8.0",
"gulp": "^3.9.0",
"istanbul": "^1.1.0-alpha.1",
"joi": "^10.2.2",
"jsdom": "~11.2.0",
"jsdom-global": "~3.0.2",
"json-loader": "^0.5.4",
"jsonfile": "^2.2.3",
"less": "^2.5.3",
"less-loader": "^2.2.1",
"level": "^2.1.1",
"lolex": "~1.3.2",
"mkdirp": "^0.5.1",
"mocha": "^2.3.4",
"mockery": "^2.1.0",
"muon-winstaller": "^3.0.0",
"ncp": "^2.0.0",
"node-gyp": "^3.3.1",
"node-libs-browser": "~2.0.0",
"node-static": "^0.7.7",
"nsp": "^3.2.1",
"nyc": "^12.0.2",
"pre-commit": "brave/pre-commit",
"pre-push": "^0.1.1",
"react-addons-perf": "^15.2.1",
"react-addons-test-utils": "^15.4.1",
"react-test-renderer": "^15.5.4",
"request": "^2.81.0",
"sinon": "^1.17.6",
"spectron": "brave/spectron#chromium60",
"standard": "10.0.3",
"style-loader": "~0.19.0",
"uglifyjs-webpack-plugin": "^1.0.0",
"uuid": "^3.0.1",
"webdriverio": "4.7.1",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.6.1",
"webpack-notifier": "^1.2.1"
},
"optionalDependencies": {
"electron-installer-debian": "brave/electron-installer-debian",
"electron-installer-redhat": "brave/electron-installer-redhat"
},
"standard": {
"global": [
"chrome",
"muon",
"postMessage",
"ClientRect",
"HTMLElement",
"ReactComponent",
"SyntheticDragEvent"
],
"parser": "babel-eslint",
"plugins": [
"flowtype"
],
"ignore": [
"app/extensions/**",
"app/browser/ads/adDivCandidates.js",
"Brave-darwin-x64/**",
"less/**",
"res/**",
"js/data/**",
"js/lib/psl.js",
"dist/**",
"doc/**",
"public/**",
"app/ext/**",
"app/gen/**",
"decls/**",
"tools/lib/rimraf.js"
]
},
"pre-commit": {
"run": [],
"template": "COMMIT_TEMPLATE"
},
"pre-push": {
"run": [
"lint",
"pre-push-tests"
]
},
"engines": {
"node": ">= 7.9.0"
}
}