UNPKG

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