1 | {
|
2 | "name": "@percy/agent",
|
3 | "description": "An agent process for integrating with Percy.",
|
4 | "version": "0.4.9",
|
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.5.10",
|
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 | "axios": "^0.18.0",
|
29 | "body-parser": "^1.18.3",
|
30 | "colors": "^1.3.2",
|
31 | "cors": "^2.8.4",
|
32 | "cross-spawn": "^6.0.5",
|
33 | "express": "^4.16.3",
|
34 | "globby": "^9.2.0",
|
35 | "js-yaml": "^3.13.1",
|
36 | "percy-client": "^3.0.3",
|
37 | "puppeteer": "^1.13.0",
|
38 | "retry-axios": "^1.0.1",
|
39 | "winston": "^2.0.0"
|
40 | },
|
41 | "devDependencies": {
|
42 | "@babel/core": "^7.4.0",
|
43 | "@babel/plugin-proposal-class-properties": "^7.4.0",
|
44 | "@babel/plugin-proposal-object-rest-spread": "^7.4.0",
|
45 | "@babel/preset-env": "^7.4.2",
|
46 | "@babel/preset-typescript": "^7.3.3",
|
47 | "@oclif/dev-cli": "^1",
|
48 | "@oclif/test": "^1",
|
49 | "@oclif/tslint": "^3",
|
50 | "@percy/tslint": "^1.0.0",
|
51 | "@semantic-release/changelog": "^3.0.2",
|
52 | "@semantic-release/git": "^7.0.8",
|
53 | "@types/chai": "^4.1.4",
|
54 | "@types/chai-http": "^3.0.5",
|
55 | "@types/cors": "^2.8.4",
|
56 | "@types/cross-spawn": "^6.0.0",
|
57 | "@types/http-server": "^0.10.0",
|
58 | "@types/mocha": "^5.2.5",
|
59 | "@types/nock": "^10.0.2",
|
60 | "@types/node": "^12.0.0",
|
61 | "@types/sinon": "^5.0.1",
|
62 | "@types/sinon-chai": "^3.2.0",
|
63 | "browserify": "^16.2.3",
|
64 | "chai": "^4.1.2",
|
65 | "chai-http": "^4.0.0",
|
66 | "eslint-config-oclif": "^3.0.0",
|
67 | "http-server": "^0.11.1",
|
68 | "husky": "^1.0.0-rc.13",
|
69 | "mocha": "^6.1.3",
|
70 | "nock": "^10.0.6",
|
71 | "npm-watch": "^0.6.0",
|
72 | "prettier": "1.17.0",
|
73 | "pryjs": "^1.0.3",
|
74 | "rollup": "^1.8.0",
|
75 | "rollup-plugin-babel": "^4.3.2",
|
76 | "rollup-plugin-commonjs": "^9.2.3",
|
77 | "rollup-plugin-node-resolve": "^4.0.1",
|
78 | "semantic-release": "^15.13.3",
|
79 | "sinon": "7.3.2",
|
80 | "sinon-chai": "^3.2.0",
|
81 | "stdout-stderr": "^0.1.9",
|
82 | "testem": "^2.9.3",
|
83 | "ts-node": "^8.0.3",
|
84 | "tsify": "^4.0.0",
|
85 | "tslib": "^1.9.3",
|
86 | "tslint": "^5",
|
87 | "typescript": "^3"
|
88 | },
|
89 | "engines": {
|
90 | "node": ">=8.0.0"
|
91 | },
|
92 | "files": [
|
93 | ".oclif.manifest.json",
|
94 | "package.json",
|
95 | "/bin",
|
96 | "/dist"
|
97 | ],
|
98 | "homepage": "https://github.com/percy/percy-agent",
|
99 | "husky": {
|
100 | "hooks": {
|
101 | "pre-commit": "npm run lint"
|
102 | }
|
103 | },
|
104 | "keywords": [
|
105 | "oclif",
|
106 | "percy",
|
107 | "agent"
|
108 | ],
|
109 | "license": "MIT",
|
110 | "main": "dist/index.js",
|
111 | "oclif": {
|
112 | "commands": "./dist/commands",
|
113 | "bin": "percy",
|
114 | "plugins": [
|
115 | "@oclif/plugin-help",
|
116 | "@oclif/plugin-not-found"
|
117 | ]
|
118 | },
|
119 | "repository": "percy/percy-agent",
|
120 | "scripts": {
|
121 | "build": "npm run clean && rm -rf dist && tsc && npm run build-client",
|
122 | "build-client": "rollup -c",
|
123 | "build-client-test": "npm run build-client && browserify test/percy-agent-client/*.ts -p [ tsify --noImplicitAny ] > dist-test/browserified-tests.js",
|
124 | "clean": "rm -f .oclif.manifest.json",
|
125 | "lint": "tsc -p test --noEmit && tslint -p test -t stylish --fix",
|
126 | "postpublish": "npm run clean",
|
127 | "posttest": "npm run lint",
|
128 | "prepublishOnly": "npm run build && oclif-dev manifest && oclif-dev readme",
|
129 | "preversion": "npm run clean",
|
130 | "test": "npm run build-client && PERCY_TOKEN=abc mocha --forbid-only \"test/**/*.test.ts\" --exclude \"test/percy-agent-client/**/*.test.ts\" --exclude \"test/integration/**/*\"",
|
131 | "test-client": "mkdir -p dist-test/ && npm run build-client-test && testem ci --file ./test/percy-agent-client/testem.js",
|
132 | "test-integration": "npm run build-client && node ./bin/run exec -- mocha test/integration/**/*.test.ts",
|
133 | "test-snapshot-command": "./bin/run snapshot test/integration/test-static-site -b /dummy-base-url -i '(red-keep)' -c '\\.(html)$'",
|
134 | "version": "oclif-dev readme && git add README.md",
|
135 | "watch": "npm-watch"
|
136 | },
|
137 | "types": "dist/index.d.ts",
|
138 | "release": {
|
139 | "plugins": [
|
140 | "@semantic-release/commit-analyzer",
|
141 | "@semantic-release/release-notes-generator",
|
142 | [
|
143 | "@semantic-release/changelog",
|
144 | {
|
145 | "changelogFile": "CHANGELOG.md"
|
146 | }
|
147 | ],
|
148 | "@semantic-release/npm",
|
149 | "@semantic-release/git"
|
150 | ]
|
151 | }
|
152 | }
|