snapshot/package.json

99 lines
2.6 KiB
JSON
Raw Permalink Normal View History

2017-12-10 03:08:35 +00:00
{
"name": "@cypress/snapshot",
"description": "Adds value / object / DOM element snapshot testing support to Cypress test runner",
2017-12-12 02:56:47 +00:00
"version": "0.0.0-development",
2017-12-10 03:08:35 +00:00
"author": "Gleb Bahmutov <gleb@cypress.io>",
"bugs": "https://github.com/cypress-io/snapshot/issues",
"config": {
"pre-git": {
"commit-msg": "simple",
"pre-commit": [
"npm prune",
"npm run deps",
"npm test",
"git add src/*.js",
"npm run ban"
],
"pre-push": [
"npm run unused-deps",
"npm run secure",
"npm run license",
"npm run ban -- --all",
"npm run size"
],
"post-commit": [],
"post-merge": []
}
},
"engines": {
"node": ">=6"
},
"files": [
2017-12-10 04:02:38 +00:00
"img",
2017-12-10 03:08:35 +00:00
"src/*.js",
"!src/*-spec.js"
],
"homepage": "https://github.com/cypress-io/snapshot#readme",
"keywords": [
"cypress",
"cypress-io",
"plugin",
"snapshot",
"testing"
],
"license": "MIT",
"main": "src/",
"private": false,
"publishConfig": {
"registry": "http://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "https://github.com/cypress-io/snapshot.git"
},
"scripts": {
"ban": "ban",
"deps": "deps-ok && dependency-check --no-dev .",
"issues": "git-issues",
"license": "license-checker --production --onlyunknown --csv",
"lint": "eslint --fix src/*.js",
"pretest": "npm run lint",
"secure": "nsp check",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
"test": "npm run unit",
"unit": "mocha src/*-spec.js",
2017-12-10 04:02:38 +00:00
"unused-deps": "dependency-check --unused --no-dev . --entry src/add-initial-snapshot-file.js",
2017-12-12 02:56:47 +00:00
"postinstall": "node src/add-initial-snapshot-file.js",
2017-12-12 14:45:21 +00:00
"semantic-release": "semantic-release pre && npm publish --access public && semantic-release post"
2017-12-10 03:08:35 +00:00
},
"release": {
2017-12-12 02:56:47 +00:00
"analyzeCommits": "simple-commit-message",
"generateNotes": "github-post-release"
2017-12-10 03:08:35 +00:00
},
"devDependencies": {
"ban-sensitive-files": "1.9.2",
2017-12-10 04:02:38 +00:00
"debug": "3.1.0",
2017-12-10 03:08:35 +00:00
"dependency-check": "2.9.1",
"deps-ok": "1.2.1",
"eslint": "4.13.0",
"eslint-plugin-cypress-dev": "1.1.2",
"git-issues": "1.3.1",
2017-12-12 02:56:47 +00:00
"github-post-release": "1.13.1",
2017-12-10 03:08:35 +00:00
"license-checker": "15.0.0",
"mocha": "4.0.1",
"nsp": "3.1.0",
2017-12-12 02:56:47 +00:00
"pre-git": "3.16.0",
"semantic-release": "^8.2.0"
2017-12-10 03:08:35 +00:00
},
"dependencies": {
2017-12-10 03:22:23 +00:00
"@wildpeaks/snapshot-dom": "1.2.1",
2017-12-10 04:02:38 +00:00
"am-i-a-dependency": "1.1.2",
2017-12-10 03:08:35 +00:00
"check-more-types": "2.24.0",
2017-12-10 03:22:23 +00:00
"its-name": "1.0.0",
2017-12-10 19:03:20 +00:00
"js-beautify": "1.7.5",
2017-12-10 03:22:23 +00:00
"lazy-ass": "1.6.0",
"snap-shot-compare": "2.7.1",
2017-12-11 04:08:26 +00:00
"snap-shot-store": "1.2.3"
2017-12-10 03:08:35 +00:00
}
}