-
Notifications
You must be signed in to change notification settings - Fork 212
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.96 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.96 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
{
"name": "@redocly/cli",
"version": "2.0.0",
"description": "",
"private": true,
"type": "module",
"engines": {
"node": ">=22.12.0 || >=20.19.0 <21.0.0",
"npm": ">=10"
},
"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",
"prettier": "npx prettier --write \"**/*.{ts,js,yaml,yml,json,md}\"",
"prettier:check": "npx prettier --check \"**/*.{ts,js,yaml,yml,json,md}\"",
"eslint": "eslint packages/**",
"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 commonjs --output packages/respect-core/lib/modules/runtime-expressions/abnf-parser.cjs packages/respect-core/src/modules/runtime-expressions/abnf-parser.pegjs && cp packages/respect-core/lib/modules/runtime-expressions/abnf-parser.cjs packages/respect-core/src/modules/runtime-expressions/abnf-parser.cjs",
"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__/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/mark.js": "^8.11.5",
"@types/marked": "^4.0.3",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"@vitest/coverage-istanbul": "^3.0.9",
"eslint": "^8.22.0",
"eslint-plugin-import": "^2.29.1",
"husky": "^9.1.7",
"json-schema-to-ts": "^3.0.0",
"json-server": "1.0.0-beta.3",
"lint-staged": "^15.4.3",
"outdent": "^0.7.1",
"pegjs": "0.10.0",
"prettier": "^2.1.2",
"slackify-markdown": "^4.3.1",
"ts-loader": "^8.0.2",
"tsx": "^4.19.3",
"typescript": "5.5.3",
"vitest": "^3.0.8"
},
"lint-staged": {
"**/*.{ts,js,yaml,yml,json,md}": [
"prettier --write"
],
"packages/**/*": [
"eslint --fix"
]
}
}