-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
53 lines (53 loc) · 1.72 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"name": "cypress-visual-regression",
"version": "1.7.0",
"description": "Module for adding visual regression testing to Cypress",
"repository": "https://github.com/mjhea0/cypress-visual-regression",
"author": "Michael Herman <[email protected]>",
"license": "MIT",
"keywords": [
"visual regression",
"image diff",
"cypress"
],
"scripts": {
"test": "./node_modules/.bin/cypress run --env type=actual",
"base": "./node_modules/.bin/cypress run --env type=base",
"prepublish": "npm run jest && npm run lint && npm run prettier:check && npm run build",
"lint": "./node_modules/.bin/eslint 'src/**'",
"prebuild": "./node_modules/.bin/rimraf dist",
"build": "./node_modules/.bin/babel src --out-dir dist --extensions \".js\" --copy-files",
"prepare": "npm run build",
"ci": "export SNAPSHOT_DIRECTORY=cypress/snapshots && npm run build && npm run base && npm test",
"prettier:check": "prettier --check --trailing-comma es5 --single-quote --arrow-parens always \"src/**/*.js\"",
"prettier:fix": "prettier --write --trailing-comma es5 --single-quote --arrow-parens always \"src/**/*.js\"",
"jest": "jest tests"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"eslint": "^8.18.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.1.1",
"prettier": "2.7.1",
"rimraf": "^3.0.2"
},
"peerDependencies": {
"cypress": ">=5.6.0"
},
"files": [
"dist/**/*"
],
"ignore": [
"src",
"cypress",
"cypress.json"
],
"dependencies": {
"pixelmatch": "^5.2.1",
"pngjs": "^6.0.0",
"sanitize-filename": "^1.6.3"
},
"types": "dist/command.d.ts"
}