-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.44 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.44 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
{
"name": "api-documentation",
"private": true,
"version": "1.0.0",
"description": "npm registry API documentation build for GitHub Pages",
"devDependencies": {
"@npmcli/eslint-config": "^5.1.0",
"@npmcli/template-oss": "4.30.0",
"openapi-merge-cli": "^1.3.2"
},
"scripts": {
"generate": "cd api && npx openapi-merge-cli -c merge-config.yaml",
"validate": "npx @redocly/cli lint openapi.yaml",
"build": "npm run generate && npm run validate && npx @redocly/cli build-docs openapi.yaml -o html/index.html",
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lint": "npm run lint:yaml && npm run lint:js",
"lintfix": "npm run eslint -- --fix",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"posttest": "npm run lint",
"format": "prettier --write .",
"lint:yaml": "npm run generate && npx @redocly/cli lint openapi.yaml",
"lint:js": "eslint \"**/*.{js,mjs}\"",
"lintfix:js": "npm run lint:js -- --fix"
},
"author": "GitHub Inc.",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/api-documentation.git"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.30.0",
"content": "./scripts/template-oss",
"dependabotInterval": "weekly"
},
"dependencies": {
"@redocly/cli": "^2.9.0",
"yaml": "^2.8.1"
}
}