forked from jmlue42/spectral-jsonapi-ruleset
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 2.5 KB
/
Copy pathpackage.json
File metadata and controls
90 lines (90 loc) · 2.5 KB
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": "@apisyouwonthate/spectral-jsonapi",
"version": "2.2.0",
"description": "A Spectral ruleset for JSON:API, built as TypeScript.",
"main": "dist/ruleset.js",
"module": "dist/ruleset.mjs",
"type": "commonjs",
"exports": {
".": {
"types": "./dist/ruleset.d.ts",
"import": "./dist/ruleset.mjs",
"require": "./dist/ruleset.js"
}
},
"scripts": {
"build:yaml": "node scripts/build-spectral-yaml.cjs",
"build": "tsup && npm run build:yaml",
"lint:examples": "spectral lint examples/valid/* -r ./dist/ruleset.js",
"test": "jest",
"type-check": "tsc --noEmit --noErrorTruncation --pretty false --incremental false",
"release": "semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/apisyouwonthate/spectral-jsonapi.git"
},
"keywords": [
"api",
"linting",
"spectral",
"stoplight",
"ruleset",
"jsonapi"
],
"author": "Phil Sturgeon (https://apisyouwonthate.com)",
"contributors": [
"Jeff Marquez (https://www.linkedin.com/in/jeffmarquez)",
"Ali Fazal (https://linkedin.com/in/ali-fazal-424904140)",
"Ananya Poddar",
"Anthony MacAllister"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/apisyouwonthate/spectral-jsonapi/issues"
},
"homepage": "https://github.com/apisyouwonthate/spectral-jsonapi#readme",
"dependencies": {
"@stoplight/spectral-formats": "^1.8.2",
"@stoplight/spectral-functions": "^1.10.1"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^12.0.6",
"@semantic-release/npm": "^13.1.5",
"@semantic-release/release-notes-generator": "^14.1.0",
"@sindresorhus/tsconfig": "^5.0.0",
"@stoplight/spectral-cli": "^6.11.0",
"@stoplight/spectral-core": "^1.21.0",
"@stoplight/spectral-ref-resolver": "^1.0.5",
"@stoplight/types": "^14.1.1",
"@types/jest": "^29.5.14",
"conventional-changelog-conventionalcommits": "^9.3.1",
"jest": "^29.5.14",
"semantic-release": "^25.0.3",
"ts-jest": "^29.4.0",
"tsup": "^8.5",
"typescript": "^5.9",
"yaml": "^2.8.3"
},
"tsup": {
"entry": [
"src/ruleset.ts"
],
"clean": true,
"dts": true,
"format": [
"cjs",
"esm"
],
"sourcemap": true,
"noExternal": [
"@stoplight/types"
],
"footer": {
"js": "module.exports = module.exports.default;"
}
}
}