-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.64 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
{
"name": "glace-proxy",
"version": "1.4.0",
"description": "GlaceJS proxy is interactive nodejs application to launch http and global proxy in order to capture server responses and manage them",
"main": "lib/index.js",
"scripts": {
"ci": "npm run lint && npm run test:unit",
"release": "VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git add -u && git commit -m \"release $VERSION\" && git tag $VERSION && git push origin $VERSION && npm run docs:publish && npm publish",
"docs": "rm -rf docs && jsdoc -c jsdoc.json -d docs && npm run allure:report",
"docs:publish": "npm run docs && git add docs && git commit -m \"update docs\" && git push origin master",
"allure:report": "npm run test:cover && allure generate report/allure --report-dir ./docs/allure-report",
"lint": "eslint lib tests",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit && npm run test:e2e",
"test:unit": "nyc ./tests/run tests/unit",
"test:cover": "nyc --reporter=lcov --report-dir ./docs/tests-cover ./tests/run tests/unit --allure",
"test:commit": "./tests/run tests/unit",
"test:e2e": "./tests/run ./tests/e2e --root-conftest ./tests/e2e.conftest.js --gen-steps-files ./tests/e2e.steps.yaml --gen-steps-uniq 2 --gen-limit-steps 10",
"test:e2e-gen": "npm run test:e2e -- --gen-tests-only"
},
"nyc": {
"exclude": [
"tests"
]
},
"pre-commit": [
"lint",
"test:commit"
],
"repository": {
"type": "git",
"url": "git+https://github.com/glacejs/glace-proxy.git"
},
"author": "Sergei Chipiga <chipiga86@gmail.com>",
"license": "MIT",
"bin": {
"glace-proxy": "./bin/glace-proxy"
},
"bugs": {
"url": "https://github.com/glacejs/glace-proxy/issues"
},
"homepage": "https://glacejs.github.io/glace-proxy",
"dependencies": {
"cache-manager": "2.9.0",
"cache-manager-fs": "1.0.7",
"chai": "4.2.0",
"chrome-launcher": "0.10.5",
"colors": "1.3.3",
"express": "4.16.4",
"fs-extra": "7.0.1",
"get-port": "4.1.0",
"glace-utils": "1.3.4",
"http-mitm-proxy": "0.7.0",
"http-proxy": "1.17.0",
"is-running": "2.1.0",
"lodash": "4.17.11",
"temp": "0.9.0",
"vorpal": "1.12.0",
"yargs": "13.2.1"
},
"devDependencies": {
"eslint": "^5.14.1",
"glace-core": "^1.9.8",
"glace-testgen": "^1.1.8",
"ink-docstrap": "^1.3.0",
"jsdoc": "^3.5.5",
"jsdoc-strip-async-await": "^0.1.0",
"nyc": "^13.3.0",
"pre-commit": "^1.2.2"
},
"engines": {
"node": ">= 8.9",
"npm": ">= 5.5"
},
"files": [
"bin",
"lib"
]
}