forked from Redocly/redocly-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
84 lines (84 loc) · 3.09 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
{
"name": "@redocly/cli",
"version": "1.0.0",
"description": "",
"private": true,
"engines": {
"node": ">=15.0.0",
"npm": ">=7.0.0"
},
"engineStrict": true,
"scripts": {
"test": "npm run typecheck && npm run compile && npm run unit && npm run e2e",
"jest": "REDOCLY_TELEMETRY=off jest ./packages",
"unit": "npm run jest -- --coverage --coverageReporters lcov text-summary",
"unit:watch": "REDOCLY_TELEMETRY=off jest --watch",
"coverage:cli": "npm run jest -- --roots packages/cli/src --coverage",
"coverage:core": "npm run jest -- --roots packages/core/src --coverage",
"typecheck": "tsc --noEmit --skipLibCheck",
"e2e": "npm run webpack-bundle -- --mode=none && REDOCLY_TELEMETRY=off jest --roots=./__tests__/",
"prettier": " npx prettier --write \"**/*.{ts,js,yaml,yml,json,md}\"",
"prettier:check": "npx prettier --check \"**/*.{ts,js,yaml,yml,json,md}\"",
"eslint": "eslint packages/**",
"clean": "rm -rf packages/**/lib packages/**/node_modules packages/**/*.tsbuildinfo package-lock.json node_modules dist && git checkout package-lock.json",
"watch": "tsc -b tsconfig.build.json --watch ",
"compile": "tsc -b tsconfig.build.json",
"prepare": "npm run compile",
"cli": "ts-node packages/cli/src/index.ts",
"lint": "npm run cli lint resources/pets.yaml -- --format stylish",
"bundle": "npm run cli bundle resources/pets.yaml",
"stats": "npm run cli stats resources/pets.yaml",
"split": "npm run cli split resources/pets.yaml -- --outDir output",
"preview": "npm run cli preview-docs resources/pets.yaml",
"build-docs": "npm run cli build-docs resources/pets.yaml",
"benchmark": "node --expose-gc --noconcurrent_sweeping --predictable packages/core/src/benchmark/benchmark.js",
"webpack-bundle": "webpack --config webpack.config.ts",
"release": "changeset publish",
"upload": "node scripts/archive-and-upload-bundle.js",
"deploy-local": "npm run webpack-bundle && npm run compile && ENV=local npm run upload",
"pack:prepare": "./scripts/local-pack.sh"
},
"workspaces": [
"packages/*"
],
"repository": {
"type": "git",
"url": "https://github.com/Redocly/redocly-cli.git"
},
"keywords": [
"linter",
"OpenAPI",
"Swagger",
"OpenAPI linter",
"Swagger linter",
"AsyncAPI linter",
"oas"
],
"contributors": [
"Roman Hotsiy <roman@redoc.ly> (https://redoc.ly/)"
],
"license": "MIT",
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@types/jest": "^26.0.15",
"@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",
"eslint": "^8.22.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.7.0",
"json-schema-to-ts": "^3.0.0",
"null-loader": "^4.0.0",
"outdent": "^0.7.1",
"prettier": "^2.1.2",
"slackify-markdown": "^4.3.1",
"ts-jest": "^29.1.1",
"ts-loader": "^8.0.2",
"ts-node": "^9.0.0",
"typescript": "5.5.3",
"webpack": "^5.76.0",
"webpack-cli": "^4.10.0"
}
}