-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
47 lines (47 loc) · 1.42 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
{
"name": "azure-api-style-guide",
"version": "0.0.1",
"description": "Spectral rules for Azure API Guidelines",
"main": "spectral.yaml",
"scripts": {
"lint": "eslint --cache --quiet --ext '.js' functions test",
"lint-fix": "eslint --cache --quiet --ext '.js' --fix functions test",
"test": "jest --coverage",
"update-toc": "markdown-toc -i openapi-style-guide.md"
},
"author": "Mike Kistler",
"license": "MIT",
"repository": {
"url": "https://github.com/Azure/azure-api-style-guide"
},
"dependencies": {
"@stoplight/spectral-functions": "^1.7.2"
},
"devDependencies": {
"@stoplight/spectral-core": "^1.15.1",
"@stoplight/spectral-ruleset-migrator": "^1.9.0",
"@stoplight/spectral-rulesets": "^1.14.1",
"ajv": "^8.6.2",
"eslint": "^7.30.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.23.4",
"jest": "^27.0.6",
"markdown-toc": "^1.2.0"
},
"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"
}
}
}