-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.07 KB
/
package.json
File metadata and controls
61 lines (61 loc) · 2.07 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
{
"name": "@grafana/openapi-to-k6",
"version": "0.4.1",
"packageManager": "npm@11.15.0",
"description": "A CLI tool to generate helper modules for K6 from OpenAPI schema",
"main": "dist/cli.js",
"bin": {
"openapi-to-k6": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"dev": "DISABLE_ANALYTICS=true ts-node src/cli.ts",
"dev:inspect": "DISABLE_ANALYTICS=true node --inspect-brk --require ts-node/register src/cli.ts",
"test": "vitest run --coverage",
"lint": "eslint --ext .ts,.tsx .",
"lint:fix": "eslint --ext .ts,.tsx . --fix",
"format": "prettier --ignore-unknown --write \"./**/*\"",
"update-examples": "for dir in ./examples/*/; do (npm run dev -- \"$dir/schema.json\" \"$dir/single/\" -m single --include-sample-script && npm run dev -- \"$dir/schema.json\" \"$dir/split/\" -m split --include-sample-script && npm run dev -- \"$dir/schema.json\" \"$dir/tags/\" -m tags --include-sample-script); done",
"prepare": "husky"
},
"author": "Grafana Labs",
"repository": "http://github.com/grafana/openapi-to-k6",
"license": "AGPL-3.0",
"dependencies": {
"@faker-js/faker": "^9.2.0",
"@types/k6": "^1.0.0",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"commander": "^14.0.0",
"handlebars": "^4.7.8",
"openapi-typescript": "^7.4.1",
"orval": "^7.5.0",
"prettier": "^3.3.3",
"uuid": "^11.0.0"
},
"devDependencies": {
"@types/uuid": "10.0.0",
"@typescript-eslint/eslint-plugin": "8.53.0",
"@vitest/coverage-v8": "4.0.17",
"eslint": "8.57.1",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-unused-imports": "4.3.0",
"husky": "9.1.7",
"lint-staged": "17.0.5",
"prettier": "3.8.0",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"vite-tsconfig-paths": "6.0.4",
"vitest": "4.0.17"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --ignore-unknown --write",
"bash -c 'tsc --noEmit'"
]
}
}