UNPKG

@percy/agent

Version:

An agent process for integrating with Percy.

159 lines (158 loc) 5.08 kB
{ "name": "@percy/agent", "description": "An agent process for integrating with Percy.", "version": "0.28.7", "author": "Perceptual Inc", "bin": { "percy": "./bin/run" }, "watch": { "build": { "patterns": [ "src/percy-agent-client" ], "extensions": "ts", "legacyWatch": true, "delay": 1000 } }, "bugs": "https://github.com/percy/percy-agent/issues", "dependencies": { "@oclif/command": "1.5.19", "@oclif/config": "^1", "@oclif/plugin-help": "^2", "@oclif/plugin-not-found": "^1.2", "axios": "^0.21.1", "body-parser": "^1.18.3", "colors": "1.4.0", "cors": "^2.8.4", "cosmiconfig": "^5.2.1", "cross-spawn": "^7.0.2", "deepmerge": "^4.0.0", "express": "^4.16.3", "follow-redirects": "1.12.1", "generic-pool": "^3.7.1", "globby": "^10.0.1", "image-size": "^0.8.2", "js-yaml": "^3.13.1", "percy-client": "^3.2.0", "puppeteer": "^5.3.1", "retry-axios": "^1.0.1", "which": "^2.0.1", "winston": "^3.0.0" }, "devDependencies": { "@babel/core": "^7.4.0", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4", "@babel/plugin-proposal-object-rest-spread": "^7.4.0", "@babel/preset-env": "^7.4.2", "@babel/preset-typescript": "^7.3.3", "@babel/register": "^7.6.2", "@oclif/dev-cli": "^1", "@oclif/test": "^1", "@oclif/tslint": "^3", "@percy/tslint": "^1.0.0", "@types/chai": "^4.1.4", "@types/chai-http": "^3.0.5", "@types/cheerio": "^0.22.11", "@types/colors": "^1.2.1", "@types/cors": "^2.8.4", "@types/cross-spawn": "^6.0.0", "@types/deepmerge": "^2.2.0", "@types/express": "^4.16.0", "@types/generic-pool": "^3.1.9", "@types/js-yaml": "^3.11.2", "@types/mocha": "^7.0.1", "@types/nock": "^11.1.0", "@types/node": "^13.7.0", "@types/puppeteer": "^5.4.0", "@types/sinon": "^9.0.0", "@types/sinon-chai": "^3.2.0", "@types/which": "^1.3.2", "babel-loader": "^8.0.6", "babel-polyfill": "^6.26.0", "browserify": "^16.2.3", "chai": "^4.1.2", "chai-http": "^4.0.0", "cheerio": "^1.0.0-rc.3", "eslint-config-oclif": "^3.0.0", "expect": "^25.1.0", "express-basic-auth": "^1.2.0", "hoxy": "^3.3.1", "http-proxy": "^1.18.0", "interactor.js": "^1.3.1", "karma": "^4.1.0", "karma-chrome-launcher": "^3.0.0", "karma-firefox-launcher": "^1.1.0", "karma-mocha": "^2.0.1", "karma-mocha-reporter": "^2.2.5", "karma-webpack": "^4.0.2", "mocha": "^6.1.4", "mocha-junit-reporter": "^1.23.1", "mocha-multi": "^1.1.3", "nock": "^13.0.5", "npm-watch": "^0.7.0", "prettier": "2.0.5", "pryjs": "^1.0.3", "regenerator-runtime": "^0.13.3", "sinon": "7.5.0", "sinon-chai": "^3.2.0", "stdout-stderr": "^0.1.9", "strip-ansi": "^6.0.0", "testem": "^3.0.0", "ts-node": "^9.0.0", "tsify": "^4.0.0", "tslib": "^2.0.0", "tslint": "^6", "typescript": "^4", "webpack": "^4.32.2", "webpack-cli": "^3.3.4" }, "engines": { "node": ">=10.0.0" }, "files": [ ".oclif.manifest.json", "package.json", "/bin", "/dist" ], "homepage": "https://github.com/percy/percy-agent", "keywords": [ "oclif", "percy", "agent" ], "license": "MIT", "main": "dist/index.js", "oclif": { "commands": "./dist/commands", "bin": "percy", "plugins": [ "@oclif/plugin-help", "@oclif/plugin-not-found" ] }, "repository": "percy/percy-agent", "scripts": { "build": "yarn clean && rm -rf dist && tsc && yarn build-client", "build-client": "webpack", "clean": "rm -f .oclif.manifest.json", "lint": "tsc -p test/unit --noEmit && tslint -p test/unit -t stylish", "postpublish": "yarn clean", "posttest": "yarn lint", "prepublishOnly": "yarn build && oclif-dev manifest && oclif-dev readme", "preversion": "yarn clean", "test": "yarn test:unit && yarn test:client && yarn test:acceptance && yarn test:integration && yarn test:command:snapshot && yarn test:command:upload", "test:unit": "PERCY_TOKEN=abc mocha \"test/**/*.test.ts\" --exclude \"test/unit/percy-agent-client/**/*.test.ts\" --exclude \"test/integration/**/*\" --config test/unit/.mocha.yml", "test:client": "karma start ./test/unit/percy-agent-client/karma.conf.js", "test:acceptance": "mocha test/acceptance --config test/acceptance/.mocha.yml", "test:integration": "yarn build-client && node ./bin/run exec --cache-responses -h *.localtest.me -c .ci.percy.yml -- mocha test/integration/**/*.test.ts --config test/unit/.mocha.yml", "test:command:snapshot": "./bin/run snapshot test/integration/test-static-site -b /dummy-base-url/ -i **/red-keep.** -s **/*.{html}", "test:command:upload": "./bin/run upload test/integration/test-static-images", "version": "oclif-dev readme && git add README.md", "watch": "npm-watch" }, "types": "dist/index.d.ts" }