-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
40 lines (40 loc) · 2.32 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
{
"name": "ew-nomoreleaks-master-harperdb",
"version": "0.0.47",
"description": "Master EdgeWorker to validate username/password against HarperDB",
"main": "main.ts",
"config": {
"ewid": "90808",
"edgerc_section": "gss",
"description": "Master EdgeWorker to validate username/password against HarperDB",
"ew_name": "ew-nomoreleaks-master-harperdb",
"tier": "200",
"ew_group_id": "48668",
"switchkey": "B-3-16OEUPX:1-2RBL"
},
"scripts": {
"build": "npm run build-ts",
"build-ts": "tsc && npm run build-bundle-json",
"build-bundle-json": "cd built && echo '{\"edgeworker-version\":\"'$npm_package_version'\",\"description\":\"'$npm_package_config_description'\" }' > bundle.json && npm run build-ew-tgz",
"build-ew-tgz": "cd built && tar czvf ../dist/'ew_'$npm_package_config_ewid'_'$npm_package_version'.tgz' * && npm run activate-edgeworker",
"upload-edgeworker": "akamai edgeworkers --section $npm_package_config_edgerc_section --accountkey $npm_package_config_switchkey upload $npm_package_config_ewid --bundle dist/'ew_'$npm_package_config_ewid'_'$npm_package_version'.tgz'",
"activate-edgeworker": "npm run upload-edgeworker && akamai edgeworkers --section $npm_package_config_edgerc_section --accountkey $npm_package_config_switchkey activate $npm_package_config_ewid staging $npm_package_version",
"activate-edgeworker-prod": "akamai edgeworkers --section $npm_package_config_edgerc_section --accountkey $npm_package_config_switchkey activate $npm_package_config_ewid production $npm_package_version",
"generate-token": "akamai edgeworkers --section $npm_package_config_edgerc_section --accountkey $npm_package_config_switchkey auth --expiry 600 $npm_package_config_hostname",
"list-groups": "akamai edgeworkers lg --section $npm_package_config_edgerc_section --accountkey $npm_package_config_switchkey",
"create-ew-id": "akamai edgeworkers create-id --section $npm_package_config_edgerc_section --accountkey npm_package_config_switchkey $npm_package_config_ew_group_id -restier $npm_package_config_tier $npm_package_config_ew_name"
},
"keywords": [
"harperdb",
"nomoreleaks",
"master"
],
"author": "jgrinwis@akamai.com",
"license": "ISC",
"devDependencies": {
"typescript": "^5.6.3"
},
"dependencies": {
"@types/akamai-edgeworkers": "^1.1.17"
}
}