This repository has been archived by the owner on Jun 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
113 lines (113 loc) · 4.29 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
{
"name": "mocha-wrap",
"version": "2.1.2",
"description": "Fluent pluggable interface for easily wrapping `describe` and `it` blocks in Mocha tests.",
"author": "Jordan Harband <ljharb@gmail.com>",
"contributors": [
{
"name": "Jordan Harband",
"email": "ljharb@gmail.com",
"url": "http://ljharb.codes"
},
{
"name": "Joe Lencioni",
"email": "joe.lencioni@gmail.com",
"url": "https://twitter.com/lencioni"
}
],
"main": "index.js",
"scripts": {
"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npm run --silent coverage",
"tests-only": "npm run --silent tape | faucet && npm run --silent mocha1 && npm run --silent mocha2 && npm run --silent mocha3",
"lint": "eslint '**/*.js'",
"tape": "node test/tape",
"mocha": "npm run --silent mocha:standard && npm run --silent mocha:only",
"mocha:standard": "[ \"$MOCHAv1\" = true ] && mocha --ignore-leaks test/mocha || mocha test/mocha",
"mocha:only": "mocha test/mocha-only",
"install:mocha1.4": "npm install --no-save --silent mocha@1.4.1 && mocha --version",
"install:mocha1.x": "npm install --no-save --silent mocha@1.x && mocha --version",
"install:mocha2.0": "npm install --no-save --silent mocha@2.0.0 && mocha --version",
"install:mocha2.x": "npm install --no-save --silent mocha@2.x && mocha --version",
"install:mocha3.0": "npm install --no-save --silent mocha@3.0.0 && mocha --version",
"install:mocha3.x": "npm install --no-save --silent mocha@3.x && mocha --version",
"mocha1.4": "npm run --silent install:mocha1.4 && MOCHAv1=true npm run --silent mocha",
"mocha1.x": "npm run --silent install:mocha1.x && MOCHAv1=true npm run --silent mocha",
"mocha2.0": "npm run --silent install:mocha2.0 && npm run --silent mocha",
"mocha2.x": "npm run --silent install:mocha2.x && npm run --silent mocha",
"mocha3.0": "npm run --silent install:mocha3.0 && npm run --silent mocha",
"mocha3.x": "npm run --silent install:mocha3.x && npm run --silent mocha",
"mocha1": "npm run --silent mocha1.4 && npm run --silent mocha1.x",
"mocha2": "npm run --silent mocha2.0 && npm run --silent mocha2.x",
"mocha3": "npm run --silent mocha3.0 && npm run --silent mocha3.x",
"coverage": "npm run --silent mocha3.0 && npm run --silent cover:clean && npm run --silent cover:tape && npm run --silent cover:mocha && npm run --silent cover:merge && npm run --silent cover:check",
"cover:clean": "rimraf coverage",
"cover:check": "istanbul check-coverage && echo 100% code coverage, achievement unlocked!",
"cover:merge": "istanbul-merge --out coverage/coverage.raw.json 'coverage/*/coverage.raw.json' && istanbul report --format html",
"cover:tape": "istanbul cover test/tape --dir coverage/tape",
"cover:mocha": "npm run --silent cover:mocha:standard && npm run --silent cover:mocha:only",
"cover:mocha:standard": "istanbul cover ./node_modules/.bin/_mocha --dir coverage/mocha -- test/mocha --recursive --reporter=min",
"cover:mocha:only": "istanbul cover ./node_modules/.bin/_mocha --dir coverage/mocha-only -- test/mocha-only --recursive --reporter=min"
},
"repository": {
"type": "git",
"url": "git+https://github.com/airbnb/mocha-wrap.git"
},
"keywords": [
"mocha",
"test",
"javascript",
"js",
"chai",
"before",
"after",
"beforeEach",
"afterEach",
"describe",
"it",
"wrap",
"around",
"around_filter",
"mock",
"stub"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/mocha-wrap/issues"
},
"homepage": "https://github.com/airbnb/mocha-wrap#readme",
"dependencies": {
"define-properties": "^1.1.2",
"for-each": "^0.3.2",
"function-bind": "^1.1.1",
"function.prototype.name": "^1.1.0",
"has": "^1.0.1",
"is-callable": "^1.1.3",
"is-primitive": "^2.0.0",
"is-string": "^1.0.4",
"is-symbol": "^1.0.1",
"isarray": "^1.0.0 || ^2.0.1",
"object-inspect": "^1.5.0",
"object.entries": "^1.0.4"
},
"peerDependencies": {
"mocha": "^1.4.1 || ^2.0.0 || ^3.0.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^12.2.1",
"eslint": "^4.19.1",
"faucet": "^0.0.1",
"istanbul": "1.1.0-alpha.1",
"istanbul-lib-coverage": "^1.2.0",
"istanbul-merge": "^1.1.1",
"parallelshell": "^2.0.0",
"rimraf": "^2.6.2",
"safe-publish-latest": "^1.1.1",
"tape": "^4.9.0"
},
"engines": {
"node": ">= 0.4"
}
}