1 | {
|
2 | "name": "snap-shot-core",
|
3 | "description": "Save / load named snapshots, useful for tests",
|
4 | "version": "7.1.9",
|
5 | "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
|
6 | "bugs": "https://github.com/bahmutov/snap-shot-core/issues",
|
7 | "config": {
|
8 | "pre-git": {
|
9 | "commit-msg": "simple",
|
10 | "pre-commit": [
|
11 | "npm prune",
|
12 | "npm run deps",
|
13 | "npm test",
|
14 | "echo Running unit tests again to check file load",
|
15 | "npm test",
|
16 | "echo Running tests again with CI flag",
|
17 | "CI=1 npm t",
|
18 | "npm run ban",
|
19 | "npm run stop-only -- --warn"
|
20 | ],
|
21 | "pre-push": [
|
22 | "npm run stop-only",
|
23 | "npm run secure",
|
24 | "npm run license",
|
25 | "npm run ban -- --all",
|
26 | "echo checking if package lock has been updated by running npm ci command",
|
27 | "npm ci",
|
28 | "npm run size"
|
29 | ],
|
30 | "post-commit": [],
|
31 | "post-merge": []
|
32 | },
|
33 | "next-update": {
|
34 | "commands": {
|
35 | "deps-ok": "npm run deps",
|
36 | "dependency-check": "npm run deps",
|
37 | "license-checker": "npm run license",
|
38 | "nsp": "npm run secure",
|
39 | "git-issues": "npm run issues"
|
40 | }
|
41 | }
|
42 | },
|
43 | "engines": {
|
44 | "node": ">=6"
|
45 | },
|
46 | "files": [
|
47 | "src/*.js",
|
48 | "!src/*-spec.js"
|
49 | ],
|
50 | "homepage": "https://github.com/bahmutov/snap-shot-core#readme",
|
51 | "keywords": [
|
52 | "snapshot",
|
53 | "test",
|
54 | "testing"
|
55 | ],
|
56 | "license": "MIT",
|
57 | "main": "src/",
|
58 | "publishConfig": {
|
59 | "registry": "http://registry.npmjs.org/"
|
60 | },
|
61 | "repository": {
|
62 | "type": "git",
|
63 | "url": "https://github.com/bahmutov/snap-shot-core.git"
|
64 | },
|
65 | "scripts": {
|
66 | "ban": "ban",
|
67 | "deps": "deps-ok && dependency-check .",
|
68 | "issues": "git-issues",
|
69 | "license": "license-checker --production --onlyunknown --csv",
|
70 | "lint": "standard --verbose --fix src/*.js",
|
71 | "pretest": "npm run lint",
|
72 | "secure": "nsp check",
|
73 | "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
74 | "test": "npm run unit",
|
75 | "unit": "mocha src/*-spec.js",
|
76 | "semantic-release": "semantic-release",
|
77 | "stop-only": "stop-only --folder src"
|
78 | },
|
79 | "release": {
|
80 | "analyzeCommits": {
|
81 | "preset": "angular",
|
82 | "releaseRules": [
|
83 | {
|
84 | "type": "break",
|
85 | "release": "major"
|
86 | }
|
87 | ]
|
88 | }
|
89 | },
|
90 | "devDependencies": {
|
91 | "ban-sensitive-files": "1.9.2",
|
92 | "dependency-check": "3.2.1",
|
93 | "deps-ok": "1.4.1",
|
94 | "disparity": "2.0.0",
|
95 | "git-issues": "1.3.1",
|
96 | "license-checker": "20.2.0",
|
97 | "mocha": "5.2.0",
|
98 | "nsp": "3.2.1",
|
99 | "pre-git": "3.17.1",
|
100 | "semantic-release": "15.10.8",
|
101 | "simple-commit-message": "4.0.3",
|
102 | "sinon": "6.3.5",
|
103 | "snap-shot-it": "6.2.2",
|
104 | "standard": "11.0.1",
|
105 | "stop-only": "2.2.5"
|
106 | },
|
107 | "dependencies": {
|
108 | "check-more-types": "2.24.0",
|
109 | "common-tags": "1.8.0",
|
110 | "debug": "3.2.6",
|
111 | "escape-quotes": "1.0.2",
|
112 | "folktale": "2.3.1",
|
113 | "is-ci": "1.2.1",
|
114 | "jsesc": "2.5.2",
|
115 | "lazy-ass": "1.6.0",
|
116 | "mkdirp": "0.5.1",
|
117 | "pluralize": "7.0.0",
|
118 | "ramda": "0.25.0"
|
119 | }
|
120 | }
|