-
Notifications
You must be signed in to change notification settings - Fork 35
/
package.json
78 lines (78 loc) · 4.66 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
{
"name": "brave-core-crx-packager",
"version": "1.0.0",
"description": "Packages component and theme extensions used in the Brave browser",
"type": "module",
"dependencies": {
"@aws-sdk/client-dynamodb": "3.693.0",
"@aws-sdk/client-s3": "3.693.0",
"@mongodb-js/zstd": "^1.2.0",
"@sentry/node": "7.120.0",
"adblock-rs": "0.9.2",
"brave-site-specific-scripts": "github:brave/brave-site-specific-scripts",
"playlist-component": "github:brave/playlist-component",
"recursive-readdir-sync": "1.0.6",
"unzip-crx-3": "0.2.0"
},
"devDependencies": {
"commander": "2.20.3",
"fs-extra": "11.2.0",
"level": "8.0.1",
"mkdirp": "3.0.1",
"replace-in-file": "7.2.0",
"rimraf": "5.0.10",
"standard": "17.1.2"
},
"scripts": {
"clean": "rimraf build/",
"test": "node --test test/*.js scripts/**/*.test.js",
"data-files-ad-block-rust": "node scripts/generateAdBlockRustDataFiles.js",
"data-files-local-data-files": "npm install --prefix ./node_modules/brave-site-specific-scripts && npm run --prefix ./node_modules/brave-site-specific-scripts build && mkdir -p brave-lists && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/clean-urls.json -O brave-lists/clean-urls.json && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/clean-urls-permissions.json -O brave-lists/clean-urls-permissions.json && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/debounce.json -O brave-lists/debounce.json && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/request-otr.json -O brave-lists/request-otr.json && wget https://https-upgrade-exceptions.s3.us-west-1.amazonaws.com/https-upgrade-exceptions-list.txt -O brave-lists/https-upgrade-exceptions-list.txt && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/localhost-permission-allow-list.txt -O brave-lists/localhost-permission-allow-list.txt && wget https://raw.githubusercontent.com/brave/adblock-lists/master/brave-lists/webcompat-exceptions.json -O brave-lists/webcompat-exceptions.json",
"data-files-leo-local-models": "mkdir -p leo-local-models && wget https://raw.githubusercontent.com/brave/leo-local-models/main/tflite_models/universal_sentence_encoder_qa_with_metadata_v1.tflite -O leo-local-models/universal_sentence_encoder_qa_with_metadata.tflite",
"download-ipfs-daemon": "node scripts/downloadIpfsDaemon.js",
"generate-ad-block-manifests": "node scripts/generateManifestForRustAdblock.js",
"generate-ntp-background-images": "node scripts/generateNTPBackgroundImages.js",
"generate-ntp-sponsored-images": "node scripts/ntp-sponsored-images/generate",
"generate-ntp-super-referrer": "node scripts/generateNTPSuperReferrer.js",
"generate-ntp-super-referrer-mapping-table": "node scripts/generateNTPSuperReferrerMappingTable.js",
"generate-user-model-installer-updates": "node scripts/generateBraveAdsResourcesComponentInputFiles.js",
"lint": "standard lib scripts test",
"package-brave-player": "node ./scripts/packageBravePlayer",
"package-ad-block": "node ./scripts/packageAdBlock",
"package-tor-client": "node ./scripts/packageTorClient",
"package-tor-pluggable-transports": "node ./scripts/packageTorPluggableTransports",
"package-ipfs-daemon": "node ./scripts/packageIpfsDaemon",
"package-wallet-data-files": "node ./scripts/packageWalletDataFiles",
"package-local-data-files": "node ./scripts/packageLocalDataFiles",
"package-leo-local-models": "node ./scripts/packageLeoLocalModels",
"package-ntp-background-images": "node ./scripts/packageNTPBackgroundImagesComponent",
"package-ntp-sponsored-images": "node ./scripts/ntp-sponsored-images/package",
"package-ntp-super-referrer": "node scripts/packageNTPSuperReferrerComponent.js",
"package-ntp-super-referrer-mapping-table": "node scripts/packageNTPSuperReferrerMappingTableComponent.js",
"package-playlist": "node ./scripts/packagePlaylist.js",
"package-user-model-installer-updates": "node ./scripts/packageBraveAdsResourcesComponent",
"generate-puffpatches": "node ./scripts/generatePuffpatches",
"upload-component": "node ./scripts/uploadComponent"
},
"repository": {
"type": "git",
"url": "https://github.com/brave/brave-core-crx-packager.git"
},
"standard": {
"ignore": [
"/submodules/"
]
},
"tap": {
"check-coverage": true,
"branches": 25,
"lines": 72,
"functions": 50,
"statements": 71
},
"license": "MPL-2.0",
"bugs": {
"url": "https://github.com/brave/brave-core-crx-packager/issues"
},
"homepage": "https://github.com/brave/brave-core-crx-packager#readme"
}