-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
147 lines (147 loc) · 5.1 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
{
"name": "@adobe/spacecat-api-service",
"version": "1.103.3",
"description": "SpaceCat API Service",
"main": "src/index.js",
"type": "module",
"engines": {
"node": ">=22.0.0 <23.0.0",
"npm": ">=10.9.0 <12.0.0"
},
"scripts": {
"start": "nodemon",
"test": "c8 --skip-full mocha -i -g 'Post-Deploy' --spec=test/**/*.test.js",
"test-postdeploy": "mocha -g 'Post-Deploy' --spec=test/**/*.test.js",
"test-e2e": "mocha --timeout 30s --spec=test/**/*.e2e.js",
"lint": "eslint .",
"logs": "aws logs tail /aws/lambda/spacecat-services--api-service",
"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",
"deploy-stage": "hedy -v --deploy --aws-deploy-bucket=spacecat-stage-deploy --pkgVersion=latest",
"deploy-dev": "hedy -v --deploy --pkgVersion=latest$CI_BUILD_NUM -l latest --aws-deploy-bucket=spacecat-dev-deploy --cleanup-ci=24h --aws-api vldld6qz1d",
"deploy-secrets": "hedy --aws-update-secrets --params-file=secrets/secrets.env",
"docs": "npm run docs:lint && npm run docs:build",
"docs:build": "npx @redocly/cli build-docs -o ./docs/index.html --config docs/openapi/redocly-config.yaml",
"docs:lint": "npx @redocly/cli lint --config docs/openapi/redocly-config.yaml",
"docs:serve": "npx @redocly/cli preview-docs --config docs/openapi/redocly-config.yaml",
"prepare": "husky"
},
"wsk": {
"target": "aws",
"name": "spacecat-services/api-service@${version}",
"memory": 4096,
"awsRole!important": "arn:aws:iam::${env.AWS_ACCOUNT_ID}:role/spacecat-role-lambda-generic",
"testUrl": "/_status_check/healthcheck.json",
"awsAttachAuthorizer": "spacecat-token-authorizer",
"dev": {
"params-file": "secrets/dev-secrets.json"
},
"fastlyServiceId!important": "",
"timeout": 900000,
"nodeVersion": 22,
"static": [
"static/onboard/profiles.json"
]
},
"repository": {
"type": "git",
"url": "https://github.com/adobe/spacecat-api-service"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/adobe/spacecat-api-service/issues"
},
"homepage": "https://github.com/adobe/spacecat-api-service#readme",
"mocha": {
"require": "test/setup-env.js",
"recursive": "true",
"reporter": "mocha-multi-reporters",
"reporter-options": "configFile=.mocha-multi.json"
},
"dependencies": {
"@adobe/fetch": "4.2.0",
"@adobe/helix-shared-body-data": "2.1.10",
"@adobe/helix-shared-bounce": "2.0.26",
"@adobe/helix-shared-secrets": "2.2.10",
"@adobe/helix-shared-utils": "3.0.2",
"@adobe/helix-shared-wrap": "2.0.2",
"@adobe/helix-status": "10.1.5",
"@adobe/helix-universal-logger": "3.0.24",
"@adobe/spacecat-shared-data-access": "2.14.0",
"@adobe/spacecat-shared-gpt-client": "1.5.6",
"@adobe/spacecat-shared-http-utils": "1.10.2",
"@adobe/spacecat-shared-ims-client": "1.7.0",
"@adobe/spacecat-shared-rum-api-client": "2.22.4",
"@adobe/spacecat-shared-brand-client": "1.1.2",
"@adobe/spacecat-shared-slack-client": "1.5.10",
"@adobe/spacecat-shared-utils": "1.36.1",
"@aws-sdk/client-s3": "3.758.0",
"@aws-sdk/client-sqs": "3.758.0",
"@aws-sdk/s3-request-presigner": "3.758.0",
"@langchain/core": "0.3.42",
"@langchain/langgraph": "0.2.54",
"@langchain/openai": "0.4.4",
"@octokit/rest": "21.1.1",
"@slack/bolt": "4.2.1",
"@slack/web-api": "7.8.0",
"busboy": "1.6.0",
"csv": "6.3.11",
"csv-writer": "1.6.0",
"fuse.js": "7.1.0",
"js-yaml": "4.1.0",
"jsdom": "26.0.0",
"psl": "1.15.0",
"slack-block-builder": "2.8.0",
"urijs": "1.19.11",
"zod": "3.24.2"
},
"devDependencies": {
"@adobe/eslint-config-helix": "2.0.9",
"@adobe/helix-deploy": "https://gitpkg.now.sh/alinarublea/helix-deploy?main",
"@adobe/helix-universal": "5.1.1",
"@adobe/helix-universal-devserver": "1.1.106",
"@adobe/semantic-release-coralogix": "1.1.35",
"@adobe/semantic-release-skms-cmr": "1.1.5",
"@redocly/cli": "1.33.0",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "7.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "12.0.1",
"@xmldom/xmldom": "0.9.8",
"c8": "10.1.3",
"chai": "5.2.0",
"chai-as-promised": "8.0.1",
"dotenv": "16.4.7",
"eslint": "8.57.1",
"esmock": "2.7.0",
"form-data": "4.0.2",
"husky": "9.1.7",
"jszip": "3.10.1",
"junit-report-builder": "5.1.1",
"lint-staged": "15.4.3",
"mocha": "11.1.0",
"mocha-multi-reporters": "1.5.1",
"mocha-suppress-logs": "0.5.1",
"nock": "14.0.1",
"nodemon": "3.1.9",
"semantic-release": "24.2.3",
"sinon": "20.0.0",
"sinon-chai": "4.0.0",
"yaml": "2.7.0"
},
"lint-staged": {
"*.js": "eslint",
"*.cjs": "eslint"
},
"nodemonConfig": {
"exec": "node --inspect ./test/dev/server.mjs",
"watch": [
".env",
"."
],
"ext": ".js, .cjs, .ejs, .css"
}
}