-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.79 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.79 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
{
"name": "@devxhub/sqa-load-test",
"version": "1.0.0",
"description": "K6 Load Testing Framework in TypeScript",
"type": "module",
"main": "dist/index.js",
"engines": {
"node": ">=22.0.0",
"pnpm": ">=10.0.0"
},
"scripts": {
"build": "vite build",
"dev": "vite build --watch",
"test": "pnpm run build && k6 run dist/index.js",
"test:lenient": "pnpm run build && k6 run -e TEST_TYPE=smoke dist/index.js",
"test:strict": "pnpm run build && k6 run -e STRICT_THRESHOLDS=true dist/index.js",
"test:api": "pnpm run build && k6 run -e TARGET_TYPE=api -e TEST_TYPE=smoke dist/index.js",
"test:website": "pnpm run build && k6 run -e TARGET_TYPE=website -e TEST_TYPE=smoke dist/index.js",
"test:spa": "pnpm run build && k6 run -e TARGET_TYPE=spa dist/index.js",
"test:mobile": "pnpm run build && k6 run -e TARGET_TYPE=mobile-app dist/index.js",
"test:smoke": "pnpm run build && k6 run -e TEST_TYPE=smoke dist/index.js",
"test:load": "pnpm run build && k6 run -e TEST_TYPE=load dist/index.js",
"test:stress": "pnpm run build && k6 run -e TEST_TYPE=stress dist/index.js",
"test:spike": "pnpm run build && k6 run -e TEST_TYPE=spike dist/index.js",
"quick:github": "pnpm run build && k6 run -e TARGET_URL=https://api.github.com/users -e TARGET_TYPE=api -e TEST_TYPE=smoke dist/index.js",
"quick:httpbin": "pnpm run build && k6 run -e TARGET_URL=https://httpbin.org/get -e TARGET_TYPE=api -e TEST_TYPE=smoke dist/index.js",
"quick:example": "pnpm run build && k6 run -e TARGET_URL=https://example.com -e TARGET_TYPE=website dist/index.js",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write src/**/*.ts",
"typecheck": "tsc --noEmit",
"check": "pnpm run typecheck && pnpm run lint && pnpm run format",
"clean": "rimraf dist reports",
"examples": "tsx examples/run-examples.ts",
"setup": "pnpm install && pnpm run build",
"help": "tsx scripts/help.ts"
},
"keywords": [
"k6",
"load-testing",
"typescript",
"performance",
"universal",
"api-testing",
"website-testing"
],
"author": "Devxhub Pvt. Ltd.",
"license": "MIT",
"devDependencies": {
"@types/k6": "^1.0.2",
"@types/node": "^22.15.26",
"@typescript-eslint/eslint-plugin": "^8.33.0",
"@typescript-eslint/parser": "^8.33.0",
"eslint": "^9.27.0",
"prettier": "^3.5.3",
"rimraf": "^6.0.1",
"tsx": "^4.19.4",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vite-plugin-dts": "^4.5.4"
},
"packageManager": "pnpm@10.11.0",
"repository": {
"type": "git",
"url": "git+https://github.com/devxhub/sqa-load-test.git"
},
"homepage": "https://github.com/devxhub/sqa-load-test#readme",
"bugs": {
"url": "https://github.com/devxhub/sqa-load-test/issues"
}
}