-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathpackage.json
127 lines (127 loc) · 3.33 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
127
{
"name": "snap-shot-it",
"description": "Smarter snapshot utility for Mocha and BDD test runners",
"version": "0.0.0-development",
"author": "Gleb Bahmutov <[email protected]>",
"bugs": "https://github.com/bahmutov/snap-shot-it/issues",
"types": "src/index.d.ts",
"config": {
"pre-git": {
"commit-msg": "simple",
"pre-commit": [
"npm prune",
"npm run deps",
"npm run warn-only",
"npm test",
"echo Testing as if this module was used on CI",
"CI=1 npm test",
"npm run test-two-specs",
"npm run ts-demo",
"npm run coffee-demo",
"git add src/*.js",
"npm run ban"
],
"pre-push": [
"npm run stop-only",
"npm run license",
"npm run ban -- --all",
"npm run size"
],
"post-commit": [],
"post-merge": []
}
},
"engines": {
"node": ">=6"
},
"eslintConfig": {
"env": {
"es6": true
},
"rules": {
"no-var": 2
}
},
"files": [
"src/*.js",
"src/*.ts",
"!src/*spec.js"
],
"homepage": "https://github.com/bahmutov/snap-shot-it#readme",
"keywords": [
"bdd",
"mocha",
"snap-shot",
"snapshot",
"tdd",
"test",
"testing"
],
"license": "MIT",
"main": "src/",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/bahmutov/snap-shot-it.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok && dependency-check --no-dev .",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"lint": "standard --verbose --fix src/*.js",
"named-demo": "cd named-demo; mocha spec*.js",
"ts-demo": "cd ts-demo; npm ci; npm test",
"coffee-demo": "cd coffee-demo; npm ci; npm test",
"postlint": "eslint --fix src/*.js",
"prelint": "npm run pretty",
"pretest": "npm run lint",
"pretty": "prettier-standard 'src/*.js'",
"prune-demo": "cd prune-demo; mocha spec.js",
"semantic-release": "semantic-release",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test-failing-hook": "mocha test/failing-hook",
"test-two-specs": "mocha test/two-specs",
"test": "npm run unit",
"unit": "mocha src/*spec.js",
"watch": "npm run unit -- --watch",
"stop-only": "stop-only --folder src",
"warn-only": "stop-only --folder src --warn"
},
"release": {
"analyzeCommits": "simple-commit-message"
},
"devDependencies": {
"ban-sensitive-files": "1.9.19",
"dependency-check": "4.1.0",
"deps-ok": "1.4.1",
"dont-crack": "1.2.1",
"eslint": "5.16.0",
"eslint-plugin-immutable": "1.0.0",
"folktale": "2.3.2",
"git-issues": "1.3.1",
"license-checker": "25.0.1",
"mocha": "6.2.3",
"pre-git": "3.17.1",
"prettier-standard": "16.4.1",
"semantic-release": "^19.0.5",
"simple-commit-message": "4.1.3",
"standard": "12.0.1",
"stop-only": "3.3.1"
},
"dependencies": {
"@bahmutov/data-driven": "1.0.0",
"check-more-types": "2.24.0",
"common-tags": "1.8.2",
"debug": "4.3.4",
"has-only": "1.1.1",
"its-name": "1.0.0",
"lazy-ass": "1.6.0",
"pluralize": "8.0.0",
"ramda": "0.28.0",
"snap-shot-compare": "3.0.0",
"snap-shot-core": "10.2.4"
}
}