-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
46 lines (46 loc) · 1.46 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
{
"name": "aep-openapi-linter",
"version": "0.1.0",
"description": "Linter for OpenAPI definitions to check compliance to AEPs",
"main": "spectral.yaml",
"scripts": {
"lint": "prettier --check . && eslint --cache --quiet --ext '.js' functions test",
"lint-fix": "prettier --write . && eslint --cache --quiet --ext '.js' --fix functions test",
"test": "jest --coverage"
},
"author": "Mike Kistler",
"license": "MIT",
"repository": {
"url": "https://github.com/aep-dev/aep-openapi-linter"
},
"devDependencies": {
"@stoplight/spectral-core": "^1.19.4",
"@stoplight/spectral-parsers": "^1.0.5",
"@stoplight/spectral-ruleset-migrator": "^1.11.1",
"@stoplight/spectral-rulesets": "^1.21.3",
"ajv": "^8.6.2",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.23.4",
"jest": "^29.7.0",
"@jest/globals": "^29.7.0",
"prettier": "^3.2.5"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"functions/*.js"
],
"coverageThreshold": {
"./functions/*.js": {
"statements": 80
}
},
"moduleNameMapper": {
"^nimma/legacy$": "<rootDir>/node_modules/nimma/dist/legacy/cjs/index.js",
"^nimma/(.*)": "<rootDir>/node_modules/nimma/dist/cjs/$1",
"^@stoplight/spectral-ruleset-bundler/(.*)$": "<rootDir>/node_modules/@stoplight/spectral-ruleset-bundler/dist/$1"
}
}
}