1 | {
|
2 | "name": "snap-shot-it",
|
3 | "description": "Smarter snapshot utility for Mocha and BDD test runners",
|
4 | "version": "7.9.3",
|
5 | "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>",
|
6 | "bugs": "https://github.com/bahmutov/snap-shot-it/issues",
|
7 | "types": "src/index.d.ts",
|
8 | "config": {
|
9 | "pre-git": {
|
10 | "commit-msg": "simple",
|
11 | "pre-commit": [
|
12 | "npm prune",
|
13 | "npm run deps",
|
14 | "npm run warn-only",
|
15 | "npm test",
|
16 | "echo Testing as if this module was used on CI",
|
17 | "CI=1 npm test",
|
18 | "npm run test-two-specs",
|
19 | "npm run ts-demo",
|
20 | "npm run coffee-demo",
|
21 | "git add src/*.js",
|
22 | "npm run ban"
|
23 | ],
|
24 | "pre-push": [
|
25 | "npm run stop-only",
|
26 | "npm run license",
|
27 | "npm run ban -- --all",
|
28 | "npm run size"
|
29 | ],
|
30 | "post-commit": [],
|
31 | "post-merge": []
|
32 | }
|
33 | },
|
34 | "engines": {
|
35 | "node": ">=6"
|
36 | },
|
37 | "eslintConfig": {
|
38 | "env": {
|
39 | "es6": true
|
40 | },
|
41 | "rules": {
|
42 | "no-var": 2
|
43 | }
|
44 | },
|
45 | "files": [
|
46 | "src/*.js",
|
47 | "src/*.ts",
|
48 | "!src/*spec.js"
|
49 | ],
|
50 | "homepage": "https://github.com/bahmutov/snap-shot-it#readme",
|
51 | "keywords": [
|
52 | "bdd",
|
53 | "mocha",
|
54 | "snap-shot",
|
55 | "snapshot",
|
56 | "tdd",
|
57 | "test",
|
58 | "testing"
|
59 | ],
|
60 | "license": "MIT",
|
61 | "main": "src/",
|
62 | "publishConfig": {
|
63 | "registry": "http://registry.npmjs.org/"
|
64 | },
|
65 | "repository": {
|
66 | "type": "git",
|
67 | "url": "https://github.com/bahmutov/snap-shot-it.git"
|
68 | },
|
69 | "scripts": {
|
70 | "ban": "ban",
|
71 | "deps": "deps-ok && dependency-check --no-dev .",
|
72 | "issues": "git-issues",
|
73 | "license": "license-checker --production --onlyunknown --csv",
|
74 | "lint": "standard --verbose --fix src/*.js",
|
75 | "named-demo": "cd named-demo; mocha spec*.js",
|
76 | "ts-demo": "cd ts-demo; npm ci; npm test",
|
77 | "coffee-demo": "cd coffee-demo; npm ci; npm test",
|
78 | "postlint": "eslint --fix src/*.js",
|
79 | "prelint": "npm run pretty",
|
80 | "pretest": "npm run lint",
|
81 | "pretty": "prettier-standard 'src/*.js'",
|
82 | "prune-demo": "cd prune-demo; mocha spec.js",
|
83 | "semantic-release": "semantic-release",
|
84 | "size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
|
85 | "test-failing-hook": "mocha test/failing-hook",
|
86 | "test-two-specs": "mocha test/two-specs",
|
87 | "test": "npm run unit",
|
88 | "unit": "mocha src/*spec.js",
|
89 | "watch": "npm run unit -- --watch",
|
90 | "stop-only": "stop-only --folder src",
|
91 | "warn-only": "stop-only --folder src --warn"
|
92 | },
|
93 | "release": {
|
94 | "analyzeCommits": "simple-commit-message"
|
95 | },
|
96 | "devDependencies": {
|
97 | "ban-sensitive-files": "1.9.4",
|
98 | "dependency-check": "3.4.1",
|
99 | "deps-ok": "1.4.1",
|
100 | "dont-crack": "1.2.1",
|
101 | "eslint": "5.16.0",
|
102 | "eslint-plugin-immutable": "1.0.0",
|
103 | "folktale": "2.3.2",
|
104 | "git-issues": "1.3.1",
|
105 | "license-checker": "25.0.1",
|
106 | "mocha": "6.2.2",
|
107 | "pre-git": "3.17.1",
|
108 | "prettier-standard": "15.0.1",
|
109 | "semantic-release": "15.14.0",
|
110 | "simple-commit-message": "4.0.13",
|
111 | "standard": "12.0.1",
|
112 | "stop-only": "3.1.0"
|
113 | },
|
114 | "dependencies": {
|
115 | "@bahmutov/data-driven": "1.0.0",
|
116 | "check-more-types": "2.24.0",
|
117 | "common-tags": "1.8.0",
|
118 | "debug": "4.1.1",
|
119 | "has-only": "1.1.1",
|
120 | "its-name": "1.0.0",
|
121 | "lazy-ass": "1.6.0",
|
122 | "pluralize": "8.0.0",
|
123 | "ramda": "0.27.0",
|
124 | "snap-shot-compare": "3.0.0",
|
125 | "snap-shot-core": "10.2.0"
|
126 | }
|
127 | }
|