-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 loc) · 2.01 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
{
"name": "@grafana/openapi-to-k6",
"version": "0.3.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": "^0.54.0",
"axios": "^1.7.7",
"chalk": "^4.1.2",
"commander": "^12.1.0",
"handlebars": "^4.7.8",
"openapi-typescript": "^7.4.1",
"orval": "^7.2.0",
"prettier": "^3.3.3",
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.8.1",
"@vitest/coverage-v8": "^2.1.3",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"ts-node": "^10.9.2",
"typescript": "^5.6.2",
"vitest": "^2.1.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix",
"prettier --ignore-unknown --write",
"bash -c 'tsc --noEmit'"
]
}
}