1 | {
|
2 | "name": "@percy/agent",
|
3 | "description": "An agent process for integrating with Percy.",
|
4 | "version": "0.1.11",
|
5 | "author": "Perceptual Inc",
|
6 | "bin": {
|
7 | "percy": "./bin/run"
|
8 | },
|
9 | "watch": {
|
10 | "build": {
|
11 | "patterns": [
|
12 | "src/percy-agent-client"
|
13 | ],
|
14 | "extensions": "ts",
|
15 | "legacyWatch": true,
|
16 | "delay": 1000
|
17 | }
|
18 | },
|
19 | "bugs": "https://github.com/percy/percy-agent/issues",
|
20 | "dependencies": {
|
21 | "@oclif/command": "^1",
|
22 | "@oclif/config": "^1",
|
23 | "@oclif/plugin-help": "^2",
|
24 | "@oclif/plugin-not-found": "^1.2",
|
25 | "@types/express": "^4.16.0",
|
26 | "@types/js-yaml": "^3.11.2",
|
27 | "@types/puppeteer": "^1.6.0",
|
28 | "@types/sinon": "^5.0.1",
|
29 | "axios": "^0.18.0",
|
30 | "body-parser": "^1.18.3",
|
31 | "colors": "^1.3.2",
|
32 | "cors": "^2.8.4",
|
33 | "express": "^4.16.3",
|
34 | "js-yaml": "^3.12.0",
|
35 | "percy-client": "^3.0.3",
|
36 | "puppeteer": "^1.10.0",
|
37 | "retry-axios": "^0.3.2",
|
38 | "sinon": "7.1.1",
|
39 | "winston": "^2.0.0"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@oclif/dev-cli": "^1",
|
43 | "@oclif/errors": "^1",
|
44 | "@oclif/test": "^1",
|
45 | "@oclif/tslint": "^3",
|
46 | "@percy/tslint": "^1.0.0",
|
47 | "@types/chai": "^4.1.4",
|
48 | "@types/chai-http": "^3.0.5",
|
49 | "@types/cors": "^2.8.4",
|
50 | "@types/mocha": "^5.2.5",
|
51 | "@types/nock": "^9.3.0",
|
52 | "@types/node": "^10.7.1",
|
53 | "@types/sinon-chai": "^3.2.0",
|
54 | "browserify": "^16.2.3",
|
55 | "chai": "^4.1.2",
|
56 | "chai-http": "^4.0.0",
|
57 | "eslint-config-oclif": "^3.0.0",
|
58 | "globby": "^8.0.1",
|
59 | "husky": "^1.0.0-rc.13",
|
60 | "mocha": "^5.2.0",
|
61 | "nock": "^9.6.1",
|
62 | "npm-watch": "^0.5.0",
|
63 | "prettier": "1.14.2",
|
64 | "pryjs": "^1.0.3",
|
65 | "sinon-chai": "^3.2.0",
|
66 | "stdout-stderr": "^0.1.9",
|
67 | "testem": "^2.9.3",
|
68 | "ts-node": "^7.0.1",
|
69 | "tsify": "^4.0.0",
|
70 | "tslib": "^1.9.3",
|
71 | "tslint": "^5",
|
72 | "typescript": "^3"
|
73 | },
|
74 | "engines": {
|
75 | "node": ">=8.0.0"
|
76 | },
|
77 | "files": [
|
78 | ".oclif.manifest.json",
|
79 | "package.json",
|
80 | "/bin",
|
81 | "/dist"
|
82 | ],
|
83 | "homepage": "https://github.com/percy/percy-agent",
|
84 | "husky": {
|
85 | "hooks": {
|
86 | "pre-commit": "npm run lint"
|
87 | }
|
88 | },
|
89 | "keywords": [
|
90 | "oclif",
|
91 | "percy",
|
92 | "agent"
|
93 | ],
|
94 | "license": "MIT",
|
95 | "main": "dist/index.js",
|
96 | "oclif": {
|
97 | "commands": "./dist/commands",
|
98 | "bin": "percy",
|
99 | "plugins": [
|
100 | "@oclif/plugin-help",
|
101 | "@oclif/plugin-not-found"
|
102 | ]
|
103 | },
|
104 | "repository": "percy/percy-agent",
|
105 | "scripts": {
|
106 | "build": "npm run clean && rm -rf dist && tsc && npm run build-client",
|
107 | "build-client": "mkdir -p dist/public && browserify src/percy-agent-client/index.ts -p [ tsify --noImplicitAny ] --standalone PercyAgent > dist/public/percy-agent.js",
|
108 | "build-client-test": "npm run build-client && browserify test/percy-agent-client/*.ts -p [ tsify --noImplicitAny ] > dist-test/browserified-tests.js",
|
109 | "clean": "rm -f .oclif.manifest.json",
|
110 | "lint": "tsc -p test --noEmit && tslint -p test -t stylish --fix",
|
111 | "postpublish": "npm run clean",
|
112 | "posttest": "npm run lint",
|
113 | "prepublishOnly": "npm run build && oclif-dev manifest && oclif-dev readme",
|
114 | "preversion": "npm run clean",
|
115 | "test": "npm run build-client && PERCY_TOKEN=abc mocha --forbid-only \"test/**/*.test.ts\" --exclude \"test/percy-agent-client/**/*.test.ts\"",
|
116 | "test-client": "mkdir -p dist-test/ && npm run build-client-test && testem ci --file ./test/percy-agent-client/testem.js",
|
117 | "version": "oclif-dev readme && git add README.md",
|
118 | "watch": "npm-watch"
|
119 | },
|
120 | "types": "dist/index.d.ts"
|
121 | }
|