-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
129 lines (129 loc) · 3.25 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
128
129
{
"name": "snap-shot-core",
"description": "Save / load named snapshots, useful for tests",
"version": "0.0.0-development",
"author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
"bugs": "https://github.com/bahmutov/snap-shot-core/issues",
"config": {
"pre-git": {
"commit-msg": "simple",
"pre-commit": [
"npm prune",
"npm run deps",
"npm test",
"echo Running unit tests again to check file load",
"npm test",
"echo Running tests again with CI flag",
"CI=1 npm t",
"npm run ban",
"npm run stop-only -- --warn"
],
"pre-push": [
"npm run stop-only",
"npm run license",
"npm run ban -- --all",
"echo checking if package lock has been updated by running npm ci command",
"npm ci",
"npm run size"
],
"post-commit": [],
"post-merge": []
},
"next-update": {
"commands": {
"deps-ok": "npm run deps",
"dependency-check": "npm run deps",
"license-checker": "npm run license",
"git-issues": "npm run issues"
}
}
},
"engines": {
"node": ">=6"
},
"bin": {
"resave-snapshots": "./bin/resave-snapshots.js"
},
"files": [
"bin/*.js",
"!bin/*-spec.js",
"src/*.js",
"!src/*-spec.js"
],
"homepage": "https://github.com/bahmutov/snap-shot-core#readme",
"keywords": [
"snapshot",
"test",
"testing"
],
"license": "MIT",
"main": "src/",
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/bahmutov/snap-shot-core.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok && dependency-check .",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"lint": "standard --verbose --fix 'src/*.js' 'bin/*.js'",
"pretest": "npm run lint",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test": "npm run unit",
"unit": "mocha 'src/*-spec.js' 'bin/*-spec.js'",
"semantic-release": "semantic-release",
"stop-only": "stop-only --folder src"
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "break",
"release": "major"
}
]
}
},
"devDependencies": {
"@octokit/request-error": "1.2.1",
"ban-sensitive-files": "1.9.15",
"chdir-promise": "0.6.2",
"dependency-check": "3.4.1",
"deps-ok": "1.4.1",
"disparity": "2.0.0",
"execa": "1.0.0",
"execa-wrap": "1.4.0",
"git-issues": "1.3.1",
"license-checker": "25.0.1",
"mocha": "6.2.3",
"mocked-env": "1.3.2",
"pre-git": "3.17.1",
"semantic-release": "15.14.0",
"shelljs": "0.8.4",
"simple-commit-message": "4.1.1",
"sinon": "7.5.0",
"snap-shot-it": "6.3.5",
"standard": "12.0.1",
"stop-only": "2.2.5"
},
"dependencies": {
"arg": "4.1.3",
"check-more-types": "2.24.0",
"common-tags": "1.8.0",
"debug": "4.3.1",
"escape-quotes": "1.0.2",
"folktale": "2.3.2",
"is-ci": "2.0.0",
"jsesc": "2.5.2",
"lazy-ass": "1.6.0",
"mkdirp": "1.0.4",
"pluralize": "8.0.0",
"quote": "0.4.0",
"ramda": "0.27.1"
}
}