-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
132 lines (132 loc) · 4.48 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
{
"name": "@adobe/spacecat-api-service",
"version": "1.76.1",
"description": "SpaceCat API Service",
"main": "src/index.js",
"type": "module",
"engines": {
"node": ">=20.0.0 <23.0.0",
"npm": ">=10.0.0 <11.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 $CIRCLE_BRANCH",
"build": "hedy -v --test-bundle",
"deploy": "hedy -v --deploy --test",
"deploy-routes": "hedy --no-build -no-hints -l major",
"deploy-ci": "hedy -v --deploy --test --pkgVersion=ci$CIRCLE_BUILD_NUM -l ci --cleanup-ci=24h",
"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::282898975672:role/spacecat-role-services",
"testUrl": "/_status_check/healthcheck.json",
"awsAttachAuthorizer": "spacecat-token-authorizer",
"dev": {
"params-file": "secrets/dev-secrets.json"
},
"fastlyServiceId!important": "",
"timeout": 900000,
"nodeVersion": 20
},
"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.1.9",
"@adobe/helix-shared-body-data": "2.1.7",
"@adobe/helix-shared-bounce": "2.0.24",
"@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.3",
"@adobe/helix-universal-logger": "3.0.21",
"@adobe/spacecat-shared-data-access": "1.53.1",
"@adobe/spacecat-shared-gpt-client": "1.3.1",
"@adobe/spacecat-shared-http-utils": "1.7.0",
"@adobe/spacecat-shared-ims-client": "1.3.22",
"@adobe/spacecat-shared-rum-api-client": "2.10.0",
"@adobe/spacecat-shared-slack-client": "1.3.23",
"@adobe/spacecat-shared-utils": "1.22.7",
"@aws-sdk/client-s3": "3.693.0",
"@aws-sdk/client-sqs": "3.693.0",
"@aws-sdk/s3-request-presigner": "3.693.0",
"@slack/bolt": "4.1.0",
"busboy": "1.6.0",
"js-yaml": "4.1.0",
"psl": "1.10.0",
"slack-block-builder": "2.8.0"
},
"devDependencies": {
"@adobe/eslint-config-helix": "2.0.8",
"@adobe/helix-deploy": "12.3.6",
"@adobe/helix-universal": "5.0.6",
"@adobe/helix-universal-devserver": "1.1.67",
"@adobe/semantic-release-coralogix": "1.1.32",
"@adobe/semantic-release-skms-cmr": "1.1.5",
"@redocly/cli": "1.25.11",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/exec": "6.0.3",
"@semantic-release/git": "10.0.1",
"@semantic-release/npm": "12.0.1",
"@xmldom/xmldom": "0.9.5",
"c8": "10.1.2",
"chai": "5.1.2",
"chai-as-promised": "8.0.0",
"dotenv": "16.4.5",
"eslint": "8.57.1",
"esmock": "2.6.9",
"form-data": "4.0.1",
"husky": "9.1.6",
"jszip": "3.10.1",
"junit-report-builder": "5.1.1",
"lint-staged": "15.2.10",
"mocha": "10.8.2",
"mocha-multi-reporters": "1.5.1",
"mocha-suppress-logs": "0.5.1",
"nock": "13.5.6",
"nodemon": "3.1.7",
"semantic-release": "24.2.0",
"sinon": "19.0.2",
"sinon-chai": "4.0.0",
"yaml": "2.6.0"
},
"lint-staged": {
"*.js": "eslint",
"*.cjs": "eslint"
},
"nodemonConfig": {
"exec": "node --inspect ./test/dev/server.mjs",
"watch": [
".env",
"."
],
"ext": ".js, .cjs, .ejs, .css"
}
}