forked from ekino/veggies
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
126 lines (126 loc) · 3.34 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
{
"name": "@ekino/veggies",
"version": "0.6.0",
"description": "Veggies is an awesome cucumberjs library for API/CLI testing. Great for testing APIs built upon Express, Koa, HAPI, Loopback and others. It's also the perfect companion for testing CLI applications built with commander, meow & Co.",
"tags": [
"bdd",
"cucumber",
"gherkin",
"testing",
"api",
"http",
"cli"
],
"repository": {
"type": "git",
"url": "https://github.com/ekino/veggies.git"
},
"main": "src/index.js",
"author": "plouc <https://github.com/plouc>",
"maintainers": [
{
"name": "Raphaël Benitte"
}
],
"license": "MIT",
"engines": {
"node": ">=6.0.0"
},
"engineStrict": true,
"dependencies": {
"chai": "^4.0.2",
"fs-extra": "^4.0.0",
"glob": "^7.1.2",
"jest-diff": "^21.0.0",
"js-yaml": "^3.8.4",
"lodash": "^4.17.4",
"natural-compare": "^1.4.0",
"pretty-format": "^21.0.2",
"request": "^2.81.0",
"tough-cookie": "^2.3.2"
},
"devDependencies": {
"babylon": "^6.17.4",
"chalk": "^2.0.1",
"coveralls": "^2.13.1",
"cucumber": "3.x.x",
"eslint": "^4.1.1",
"gh-pages": "^1.0.0",
"git-changelog": "^1.1.2",
"husky": "^0.14.3",
"jest": "^20.0.4",
"jsdoc": "^3.4.3",
"lint-staged": "^4.0.1",
"minami": "^1.2.3",
"mustache": "^2.3.0",
"nock": "^9.0.13",
"prettier": "^1.5.2",
"validate-commit-msg": "^2.12.2"
},
"peerDependencies": {
"cucumber": ">=2.3.1 <4.0.0"
},
"scripts": {
"test": "jest --verbose",
"test-cover": "jest --verbose --coverage",
"coverage": "cat ./coverage/lcov.info | coveralls",
"fmt": "prettier --print-width 100 --tab-width=4 --single-quote --bracket-spacing --no-semi --color --write \"{src,tests,scripts}/**/*.js\"",
"check-fmt": "prettier --print-width 100 --tab-width=4 --single-quote --bracket-spacing --no-semi --list-different \"{src,tests,scripts}/**/*.js\"",
"version": "echo ${npm_package_version}",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"readme": "node scripts/generate_readme",
"doc": "jsdoc src -R README.md -r -d _doc --verbose -t node_modules/minami",
"doc-pub": "yarn run readme && yarn run doc && gh-pages -d _doc",
"examples": "cucumberjs --require examples/support examples/features",
"changelog": "git-changelog -t false -n v${npm_package_version}",
"precommit": "lint-staged",
"commitmsg": "validate-commit-msg"
},
"lint-staged": {
"README.tpl.md": [
"readme",
"git add"
],
"*.feature": [
"cucumberjs --require examples/support examples/features --tags @offline"
],
"*.js": [
"lint-fix",
"fmt",
"git add",
"jest --bail --findRelatedTests"
]
},
"config": {
"validate-commit-msg": {
"types": [
"feat",
"fix",
"docs",
"style",
"refactor",
"perf",
"test",
"build",
"ci",
"chore",
"revert"
],
"scope": {
"required": false,
"allowed": [
"*"
],
"validate": false,
"multiple": false
},
"warnOnFail": false,
"maxSubjectLength": 80,
"subjectPattern": ".+",
"subjectPatternErrorMsg": "subject does not match subject pattern!",
"helpMessage": "",
"autoFix": false
}
}
}