UNPKG

@smpx/snap-shot-core

Version:

Save / load named snapshots, useful for tests

126 lines (125 loc) 3.21 kB
{ "name": "@smpx/snap-shot-core", "description": "Save / load named snapshots, useful for tests", "version": "7.3.0", "author": "Gleb Bahmutov <gleb.bahmutov@gmail.com>", "bugs": "https://github.com/smartprix/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/smartprix/snap-shot-core#readme", "keywords": [ "snapshot", "test", "testing" ], "license": "MIT", "main": "src/", "publishConfig": { "registry": "http://registry.npmjs.org/", "access": "public" }, "repository": { "type": "git", "url": "https://github.com/smartprix/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": { "@smpx/snap-shot-it": "6.3.0", "ban-sensitive-files": "1.9.2", "dependency-check": "3.3.0", "deps-ok": "1.4.1", "disparity": "2.0.0", "execa-wrap": "1.4.0", "git-issues": "1.3.1", "license-checker": "25.0.1", "mocha": "6.1.1", "pre-git": "3.17.1", "semantic-release": "15.13.8", "simple-commit-message": "4.0.3", "sinon": "7.3.1", "standard": "12.0.1", "stop-only": "2.2.5" }, "dependencies": { "arg": "4.1.0", "check-more-types": "2.24.0", "common-tags": "1.8.0", "debug": "4.1.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": "0.5.1", "pluralize": "7.0.0", "quote": "0.4.0", "ramda": "0.26.1" } }