forked from grafana/har-to-k6
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 3.18 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "har-to-k6",
"description": "Convert LI-HAR to k6 script",
"version": "0.10.1",
"license": "Apache-2.0",
"keywords": [
"k6",
"har",
"li-har",
"loadtest",
"load-test",
"load-testing",
"server-load",
"performance"
],
"directories": {
"lib": "src"
},
"homepage": "https://github.com/loadimpact/har-to-k6",
"repository": "github:loadimpact/har-to-k6",
"bugs": "https://github.com/loadimpact/har-to-k6/issues",
"engines": {
"node": ">=11.0.0"
},
"browser": "dist/standalone.js",
"main": "src/index.js",
"bin": "bin/har-to-k6.js",
"dependencies": {
"bundle-collapser": "^1.3.0",
"caporal": "1.0.0",
"chalk": "^2.4.2",
"form-urlencoded": "^3.0.0",
"fs-extra": "^7.0.1",
"is-natural-number": "^4.0.1",
"is-plain-object": "^2.0.4",
"iso8601-validator": "^1.0.1",
"jsonpath": "^1.0.1",
"moment": "^2.24.0",
"nanoid": "^3.1.22",
"pkginfo": "^0.4.1",
"prettier": "^2.0.5",
"tmp": "^0.1.0",
"verror": "^1.10.0"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/preset-env": "^7.8.4",
"ava": "^1.4.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.0.6",
"cross-env": "^5.2.0",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.3",
"mock-require": "^3.0.3",
"npm-run-all": "^4.1.5",
"pretty-quick": "^2.0.1",
"sinon": "^7.3.1",
"webpack": "^4.34.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "^3.3.4"
},
"scripts": {
"bundle": "./node_modules/.bin/webpack --config webpack.config.js",
"analyze": "BUNDLE_ANALYSIS=\"reports/commit_$(git rev-parse --short HEAD).html\" ./node_modules/.bin/webpack --config webpack.config.js",
"lint": "eslint .",
"test": "npm-run-all test-unit test-int test-e2e",
"test-int": "cross-env NODE_PATH=src:test ava test/int",
"test-unit": "cross-env NODE_PATH=src:test ava test/unit",
"test-e2e": "cross-env NODE_PATH=src:test ava test/e2e/run-tests.js",
"test-hoc": "cross-env NODE_PATH=src:test ava",
"test-only": "cross-env NODE_PATH=src:test ava",
"prepare": "npm-run-all bundle"
},
"eslintConfig": {
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"prettier"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"ignorePatterns": [
"node_modules/",
"standalone.js"
]
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true,
"printWidth": 80
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && yarn lint",
"pre-push": "yarn lint && yarn test"
}
},
"ava": {},
"typings": "./typings/main.d.ts"
}