-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
90 lines (90 loc) · 2.13 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
{
"name": "codacy-spectral",
"description": "Spectral Tool for Codacy",
"keywords": [
"codacy",
"spectral",
"yamlLinter",
"jsonLinter",
"yaml",
"json",
"linter",
"typescript"
],
"homepage": "https://github.com/codacy/codacy-spectral#readme",
"bugs": {
"url": "https://github.com/codacy/codacy-spectral/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codacy/codacy-spectral.git"
},
"license": "Apache-2.0",
"main": "dist/src/index.js",
"directories": {
"test": "./src/test",
"src": "./src",
"doc-generator": "./doc-generator"
},
"scripts": {
"compile": "tsc",
"start": "node dist/index.js",
"test": "mocha",
"dockerBuild": "docker build -t codacy-spectral ."
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"package.json": [
"npm run generateDocs",
"sort-package-json",
"git add"
],
"src/*.{ts,js,css,json,md}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"prettier": {
"semi": false
},
"mocha": {
"extension": [
"ts"
],
"require": "ts-node/register",
"spec": "src/test/**/*.spec.ts"
},
"dependencies": {
"@stoplight/spectral-core": "^1.18.3",
"@stoplight/spectral-parsers": "^1.0.3",
"@stoplight/spectral-ruleset-migrator": "^1.9.5",
"@stoplight/spectral-rulesets": "^1.18.1",
"@stoplight/types": "^14.1.1",
"@types/glob": "^8.1.0",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.24",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"axios": "^1.7.4",
"chai": "^4.3.10",
"codacy-seed": "^2.2.2",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-unused-imports": "^3.1.0",
"glob": "^10.3.10",
"husky": "^8.0.3",
"lint-staged": "^15.2.9",
"lodash": "^4.17.21",
"mocha": "^10.3.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
}
}