UNPKG

@percy/agent

Version:

An agent process for integrating with Percy.

166 lines (165 loc) 4.79 kB
{ "name": "@percy/agent", "description": "An agent process for integrating with Percy.", "version": "0.8.0", "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.15", "@oclif/config": "^1", "@oclif/plugin-help": "^2", "@oclif/plugin-not-found": "^1.2", "axios": "^0.18.1", "body-parser": "^1.18.3", "colors": "^1.3.2", "cors": "^2.8.4", "cross-spawn": "^6.0.5", "deepmerge": "^3.2.1", "express": "^4.16.3", "generic-pool": "^3.7.1", "globby": "^9.2.0", "js-yaml": "^3.13.1", "percy-client": "^3.0.3", "puppeteer": "^1.13.0", "retry-axios": "^1.0.1", "winston": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.4.0", "@babel/plugin-proposal-class-properties": "^7.4.0", "@babel/plugin-proposal-object-rest-spread": "^7.4.0", "@babel/preset-env": "^7.4.2", "@babel/preset-typescript": "^7.3.3", "@oclif/dev-cli": "^1", "@oclif/test": "^1", "@oclif/tslint": "^3", "@percy/tslint": "^1.0.0", "@semantic-release/changelog": "^3.0.2", "@semantic-release/git": "^7.0.8", "@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/deepmerge": "^2.2.0", "@types/express": "^4.16.0", "@types/cross-spawn": "^6.0.0", "@types/generic-pool": "^3.1.9", "@types/http-server": "^0.10.0", "@types/js-yaml": "^3.11.2", "@types/mocha": "^5.2.5", "@types/nock": "^10.0.2", "@types/node": "^12.0.0", "@types/puppeteer": "^1.6.0", "@types/sinon": "^7.0.12", "@types/sinon-chai": "^3.2.0", "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", "http-server": "^0.11.1", "husky": "^2.4.0", "interactor.js": "^1.3.1", "karma": "^4.1.0", "karma-chrome-launcher": "^2.2.0", "karma-firefox-launcher": "^1.1.0", "karma-mocha": "^1.3.0", "karma-mocha-reporter": "^2.2.5", "karma-webpack": "^4.0.2", "mocha": "^6.1.4", "nock": "^10.0.6", "npm-watch": "^0.6.0", "prettier": "1.18.2", "pryjs": "^1.0.3", "semantic-release": "^15.13.3", "sinon": "7.3.2", "sinon-chai": "^3.2.0", "stdout-stderr": "^0.1.9", "testem": "^2.9.3", "ts-node": "^8.0.3", "tsify": "^4.0.0", "tslib": "^1.9.3", "tslint": "^5", "typescript": "^3", "webpack": "^4.32.2", "webpack-cli": "^3.3.4" }, "engines": { "node": ">=8.0.0" }, "files": [ ".oclif.manifest.json", "package.json", "/bin", "/dist" ], "homepage": "https://github.com/percy/percy-agent", "husky": { "hooks": { "pre-commit": "npm run lint" } }, "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": "npm run clean && rm -rf dist && tsc && npm run build-client", "build-client": "webpack", "clean": "rm -f .oclif.manifest.json", "lint": "tsc -p test --noEmit && tslint -p test -t stylish --fix", "postpublish": "npm run clean", "posttest": "npm run lint", "prepublishOnly": "npm run build && oclif-dev manifest && oclif-dev readme", "preversion": "npm run clean", "test": "npm run build-client && PERCY_TOKEN=abc mocha --forbid-only \"test/**/*.test.ts\" --exclude \"test/percy-agent-client/**/*.test.ts\" --exclude \"test/integration/**/*\"", "test-client": "karma start ./test/percy-agent-client/karma.conf.js", "test-integration": "npm run build-client && node ./bin/run exec -- mocha test/integration/**/*.test.ts", "test-snapshot-command": "./bin/run snapshot test/integration/test-static-site -b /dummy-base-url -i '(red-keep)' -c '\\.(html)$'", "version": "oclif-dev readme && git add README.md", "watch": "npm-watch" }, "types": "dist/index.d.ts", "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", [ "@semantic-release/changelog", { "changelogFile": "CHANGELOG.md" } ], "@semantic-release/npm", "@semantic-release/git" ] } }