-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·153 lines (153 loc) · 5.33 KB
/
package.json
File metadata and controls
executable file
·153 lines (153 loc) · 5.33 KB
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
{
"name": "@adobe/spacecat-task-processor",
"version": "1.12.3",
"description": "SpaceCat Task Processor",
"main": "src/index.js",
"type": "module",
"engines": {
"node": ">=24.0.0 <25.0.0",
"npm": ">=10.9.0"
},
"scripts": {
"start": "nodemon",
"test": "c8 mocha -i -g 'Post-Deploy' --spec=test/**/*.test.js",
"test-postdeploy": "mocha -g 'Post-Deploy' --spec=test/**/*.test.js",
"test:bundle": "HELIX_TEST_BUNDLE_NAME=dist/spacecat-services/task-processor@$(npm pkg get version | tr -d \\\")-bundle.mjs mocha -i -g 'Post-Deploy' --spec=test/index.test.js",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"logs": "aws logs tail /aws/lambda/spacecat-services--task-processor",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run --no-ci --branches $CI_BRANCH",
"build": "hedy -v --test-bundle",
"deploy": "hedy -v --deploy --aws-deploy-bucket=spacecat-prod-deploy --pkgVersion=latest --aws-reserved-concurrency=10",
"deploy-stage": "hedy -v --deploy --aws-deploy-bucket=spacecat-stage-deploy --pkgVersion=latest --aws-reserved-concurrency=10",
"deploy-dev": "hedy -v --deploy --pkgVersion=ci$CI_BUILD_NUM -l latest --aws-deploy-bucket=spacecat-dev-deploy --cleanup-ci=24h --aws-reserved-concurrency=10",
"deploy-secrets": "hedy --aws-update-secrets --params-file=secrets/secrets.env",
"prepare": "husky",
"local-build": "sam build",
"local-run": "sam local invoke",
"local-watch": "node scripts/watch-and-copy.js",
"test:brand-profile-it": "BRAND_PROFILE_IT=1 mocha test/it/agent-executor/brand-profile.test.js"
},
"hlx": {
"target": "aws",
"linkRoutes": false,
"name": "spacecat-services/task-processor@${version}",
"memory": 6144,
"awsRole!important": "arn:aws:iam::${env.AWS_ACCOUNT_ID}:role/spacecat-role-lambda-generic",
"testUrl": "/_status_check/healthcheck.json",
"awsAttachAuthorizer": "",
"dev": {
"params-file": "secrets/dev-secrets.json"
},
"fastlyServiceId!important": "",
"timeout": 900000,
"nodeVersion": 24,
"static": [
"static/prompts/",
"static/cls1.md",
"static/cls2.md",
"static/inp1.md",
"static/lcp1.md",
"static/lcp2.md",
"static/lcp3.md"
]
},
"repository": {
"type": "git",
"url": "https://github.com/adobe/spacecat-task-processor"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/adobe/spacecat-task-processor/issues"
},
"homepage": "https://github.com/adobe/spacecat-task-processor#readme",
"mocha": {
"require": "test/setup-env.js",
"recursive": "true",
"reporter": "mocha-multi-reporters",
"reporter-options": "configFile=.mocha-multi.json"
},
"dependencies": {
"@adobe/fetch": "4.2.3",
"@adobe/spacecat-shared-vault-secrets": "1.3.0",
"@adobe/helix-shared-wrap": "2.0.2",
"@adobe/helix-status": "10.1.5",
"@adobe/helix-universal": "5.4.0",
"@adobe/helix-universal-logger": "3.0.28",
"@adobe/spacecat-shared-data-access": "3.26.0",
"@adobe/spacecat-shared-data-access-v2": "npm:@adobe/spacecat-shared-data-access@2.109.0",
"@adobe/spacecat-shared-google-client": "1.5.6",
"@adobe/spacecat-shared-gpt-client": "1.6.19",
"@adobe/spacecat-shared-http-utils": "1.24.0",
"@adobe/spacecat-shared-ims-client": "1.12.0",
"@adobe/spacecat-shared-rum-api-client": "2.40.9",
"@adobe/spacecat-shared-scrape-client": "2.5.3",
"@adobe/spacecat-shared-slack-client": "1.6.3",
"@adobe/spacecat-shared-utils": "1.105.0",
"@aws-sdk/client-lambda": "3.1009.0",
"@aws-sdk/client-sqs": "3.1009.0",
"@aws-sdk/client-s3": "3.1009.0",
"@aws-sdk/client-cloudwatch-logs": "3.1009.0",
"@aws-sdk/credential-provider-node": "3.972.21",
"aws-xray-sdk": "3.12.0",
"cheerio": "1.2.0",
"diff": "8.0.3",
"franc-min": "6.2.0",
"get-xpath": "3.3.0",
"urijs": "1.19.11"
},
"devDependencies": {
"@adobe/eslint-config-helix": "3.0.22",
"@adobe/helix-deploy": "13.5.1",
"@adobe/helix-universal": "5.4.0",
"@adobe/helix-universal-devserver": "1.1.145",
"@adobe/semantic-release-coralogix": "1.1.40",
"@adobe/semantic-release-skms-cmr": "1.1.5",
"@eslint/config-helpers": "0.5.3",
"@redocly/cli": "2.21.1",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "7.1.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "13.1.5",
"@typescript-eslint/eslint-plugin": "8.57.0",
"@typescript-eslint/parser": "8.57.0",
"c8": "10.1.3",
"chai": "6.2.2",
"chai-as-promised": "8.0.2",
"chokidar": "5.0.0",
"dotenv": "17.3.1",
"eslint": "9.39.4",
"esmock": "2.7.3",
"husky": "9.1.7",
"junit-report-builder": "5.1.1",
"lint-staged": "16.4.0",
"mocha": "11.7.5",
"mocha-multi-reporters": "1.5.1",
"mocha-suppress-logs": "0.6.0",
"nock": "14.0.11",
"nodemon": "3.1.14",
"semantic-release": "25.0.3",
"sinon": "21.0.2",
"sinon-chai": "4.0.1",
"typescript": "5.9.3",
"yaml": "2.8.2"
},
"overrides": {
"@adobe/fetch": "4.2.3"
},
"lint-staged": {
"*.js": "eslint",
"*.ts": "eslint",
"*.cjs": "eslint"
},
"nodemonConfig": {
"exec": "node --inspect ./test/dev/server.mjs",
"watch": [
".env",
"."
],
"ext": ".js, .cjs, .ejs, .css"
}
}