@percy/cli-command
Advanced tools
Comparing version 1.0.0-beta.39 to 1.0.0-beta.40
{ | ||
"name": "@percy/cli-command", | ||
"version": "1.0.0-beta.39", | ||
"version": "1.0.0-beta.40", | ||
"license": "MIT", | ||
@@ -15,6 +15,6 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"build": "cross-env NODE_ENV=production babel src --out-dir dist --root-mode upward", | ||
"build": "node ../../scripts/build", | ||
"lint": "eslint --ignore-path ../../.gitignore .", | ||
"test": "cross-env NODE_ENV=test mocha", | ||
"test:coverage": "nyc yarn test", | ||
"test": "node ../../scripts/test", | ||
"test:coverage": "yarn test --coverage", | ||
"test:types": "tsd" | ||
@@ -25,5 +25,2 @@ }, | ||
}, | ||
"mocha": { | ||
"require": "../../scripts/babel-register" | ||
}, | ||
"dependencies": { | ||
@@ -33,6 +30,6 @@ "@oclif/command": "^1.8.0", | ||
"@oclif/plugin-help": "^3.2.0", | ||
"@percy/config": "^1.0.0-beta.39", | ||
"@percy/logger": "^1.0.0-beta.39" | ||
"@percy/config": "^1.0.0-beta.40", | ||
"@percy/logger": "^1.0.0-beta.40" | ||
}, | ||
"gitHead": "bd5cea12ca0d21ca167ce9100df2ead274428b7e" | ||
"gitHead": "1607ab0f5dbe5ab8ef3c9f7b6c2a89f66533348c" | ||
} |
@@ -7,2 +7,5 @@ # @percy/cli-command | ||
- [Usage](#usage) | ||
- [Mapping CLI Flags](#mapping-cli-flags) | ||
## Usage | ||
@@ -32,23 +35,4 @@ | ||
## Percy Configuration | ||
## Mapping CLI Flags | ||
This CLI plugin adds the following Percy configuration options that may be commonly used throughout | ||
other Percy CLI plugins (defaults shown). | ||
``` yaml | ||
version: 2 | ||
snapshot: | ||
widths: [375, 1280] | ||
minHeight: 1024 | ||
percyCSS: '' | ||
requestHeaders: {} | ||
discovery: | ||
allowedHostnames: [] | ||
networkIdleTimeout: 100 | ||
disableCache: false | ||
concurrency: 5 | ||
``` | ||
### Mapping CLI Flags | ||
The `#percyrc()` method will parse command flags for Percy configuration mappings as determined by a | ||
@@ -55,0 +39,0 @@ `percyrc` flag configuration option. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9936
45
Updated@percy/config@^1.0.0-beta.40
Updated@percy/logger@^1.0.0-beta.40