-
Notifications
You must be signed in to change notification settings - Fork 216
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.73 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.73 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
{
"name": "@redocly/cli",
"version": "2.0.0",
"description": "",
"private": true,
"type": "module",
"engines": {
"node": ">=22.12.0 || >=20.19.0 <21.0.0",
"npm": ">=11"
},
"engineStrict": true,
"scripts": {
"test": "npm run compile && npm run typecheck && npm run unit && npm run e2e",
"unit": "VITEST_SUITE=unit vitest run",
"e2e": "VITEST_SUITE=e2e vitest run",
"smoke:rebilly": "VITEST_SUITE=smoke-rebilly vitest run",
"format": "oxfmt .",
"format:check": "oxfmt --check .",
"lint": "oxlint ./packages",
"lint:fix": "oxlint --fix",
"clear": "rm -rf packages/**/lib packages/**/node_modules packages/**/*.tsbuildinfo node_modules && git checkout package-lock.json",
"typecheck": "tsc --noEmit --skipLibCheck",
"compile": "tsc -b tsconfig.build.json && npm run respect:parser:generate && npm run build-docs:copy-assets",
"prepare": "husky && npm run compile",
"cli": "node --import tsx packages/cli/src/index.ts",
"precli": "npm run compile",
"release": "changeset publish",
"pack:prepare": "./scripts/local-pack.sh",
"respect:parser:generate": "pegjs --format es --output packages/respect-core/lib/modules/runtime-expressions/abnf-parser.js packages/respect-core/src/modules/runtime-expressions/abnf-parser.pegjs && cp packages/respect-core/lib/modules/runtime-expressions/abnf-parser.js packages/respect-core/src/modules/runtime-expressions/abnf-parser.js",
"build-docs:copy-assets": "cp packages/cli/src/commands/build-docs/template.hbs packages/cli/lib/commands/build-docs/template.hbs ",
"json-server": "json-server --watch tests/e2e/respect/local-json-server/fake-db.json --port 3000 --host 0.0.0.0"
},
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "https://github.com/Redocly/redocly-cli.git"
},
"keywords": [
"linter",
"OpenAPI",
"Swagger",
"OpenAPI linter",
"Swagger linter",
"AsyncAPI linter",
"Arazzo linter",
"oas"
],
"contributors": [
"Roman Hotsiy <roman@redocly.com> (https://redocly.com/)"
],
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/node": "^22.15.3",
"@vitest/coverage-istanbul": "^4.0.18",
"husky": "^9.1.7",
"jsdom": "^27.2.0",
"json-schema-to-ts": "^3.0.0",
"json-server": "1.0.0-beta.3",
"lint-staged": "^15.4.3",
"outdent": "^0.7.1",
"oxfmt": "^0.33.0",
"oxlint": "^1.48.0",
"pegjs": "0.11.0-master.b7b87ea",
"slackify-markdown": "^4.3.1",
"tsx": "^4.19.3",
"typescript": "5.9.3",
"vitest": "^4.0.18"
},
"lint-staged": {
"**/*.{ts,js,yaml,yml,json,md}": [
"npm run lint",
"npm run format"
],
"packages/**/*.ts": [
"npm run lint:fix"
]
}
}