forked from mrrfv/cloudflare-gateway-pihole-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
23 lines (23 loc) · 916 Bytes
/
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
{
"scripts": {
"start": "npm run download && npm run cloudflare-delete && npm run cloudflare-create",
"dry": "npm run download && DRY_RUN=1 npm run cloudflare-create:list",
"download": "node download_lists.js",
"download:allowlist": "node download_lists.js allowlist",
"download:blocklist": "node download_lists.js blocklist",
"cloudflare-create": "npm run cloudflare-create:list && npm run cloudflare-create:rule",
"cloudflare-delete": "npm run cloudflare-delete:rule && npm run cloudflare-delete:list",
"cloudflare-create:rule": "node cf_gateway_rule_create.js",
"cloudflare-create:list": "node cf_list_create.js",
"cloudflare-delete:rule": "node cf_gateway_rule_delete.js",
"cloudflare-delete:list": "node cf_list_delete.js"
},
"type": "module",
"dependencies": {
"dotenv": "^16.0.3",
"node-fetch": "^3.3.2"
},
"engines": {
"node": ">=16"
}
}