-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
74 lines (74 loc) · 2.21 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
{
"name": "template-registry-api",
"version": "0.10.0",
"dependencies": {
"@adobe/aio-lib-console": "^5.1.0",
"@adobe/aio-lib-ims": "^7.0.1",
"@adobe/aio-metrics-client": "^0.4.0",
"@adobe/aio-sdk": "^5.0.1",
"@octokit/rest": "^20.0.2",
"axios": "^0.27.2",
"lodash.orderby": "^4.6.0",
"mongodb": "^6.5.0",
"openapi-enforcer": "^1.23.0"
},
"devDependencies": {
"@adobe/eslint-config-aio-lib-config": "^4.0.0",
"@openwhisk/wskdebug": "^1.3.0",
"@redocly/cli": "^1.10.6",
"@types/jest": "^29.5.12",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^27.9.0",
"eslint-plugin-jsdoc": "^48.2.3",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"nock": "^13.5.4",
"node-fetch": "^2.6.7",
"np": "^10.0.5"
},
"scripts": {
"test": "npm run lint:check && npm run unit-tests",
"test:smoke": "jest --ci --testPathPattern=smoke --collectCoverage=false --runInBand --detectOpenHandles --setupFilesAfterEnv=./test/jest.setup.smoke.js",
"unit-tests": "jest --ci --testPathIgnorePatterns=smoke",
"lint:check": "eslint --ext .js .",
"lint:fix": "eslint --ext .js --fix .",
"e2e": "jest --detectOpenHandles --config ./e2e/jest.config.js",
"api:spec:lint": "redocly lint template-registry-api.json",
"api:spec:generate": "redocly build-docs template-registry-api.json --output index.html",
"version": "node scripts/updateSwaggerVersion.js && npm run api:spec:generate",
"release": "np --no-publish"
},
"engines": {
"node": "^18 || ^20 || ^22"
},
"jest": {
"rootDir": ".",
"testEnvironment": "node",
"verbose": true,
"setupFilesAfterEnv": [
"./test/jest.setup.js"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"collectCoverage": true,
"collectCoverageFrom": [],
"reporters": [
"default",
"jest-junit"
],
"coverageThreshold": {
"global": {
"branches": 100,
"lines": 100,
"statements": 100,
"functions": 100
}
}
}
}