easy-sauce
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -1,9 +0,8 @@ | ||
Usage: easy-sauce [options] | ||
By default, options are fetched from the package.json file in the directory of | ||
the script running easy-sauce. You can optionally specify a separate JSON file | ||
to host the config options, or you can pass options directly via the command | ||
line. Command line options override JSON file config. options, which override | ||
package.json options. | ||
The easy-sauce command can by run by invoking the easy-sauce binary and passing | ||
it a list of optional configuration options. The configuration options specified | ||
will be merged with the the base configuration options set in either the | ||
package.json file of the current working directory (under the"easySauce" key), | ||
or, if the -c or --config option is specified, the JSON file at that location. | ||
@@ -14,8 +13,19 @@ Options: | ||
-p, --port The port to run the local server on. | ||
Defaults to "8080" | ||
-u, --username Your Sauce Labs username. | ||
This defaults to the SAUCE_USERNAME environment variable. | ||
-a, --path The file path of the tests. | ||
-k, --key Your Sauce Labs access key. | ||
This defaults to the SAUCE_ACCESS_KEY environment variable. | ||
-P, --platforms An array of platform/browser/version capabilities. | ||
This should be a JSON array of arrays, e.g.: '[["Windows | ||
10", "chrome", "latest"], ["OS X 10.11", "safari", "9"]]'. | ||
See https://goo.gl/tPnZDO for details. | ||
-t, --tests The URL path to the file that loads the tests. | ||
Defaults to "/test/" | ||
-p, --port The port to run the local server on. | ||
Defaults to "1337" | ||
-b, --build The build number to pass to Sauce Labs. | ||
@@ -27,15 +37,9 @@ Defaults to the current time: $(date +%s) | ||
-b, --platform An array of browser and platform capabilities. This should | ||
be a JSON array of arrays, e.g.: '[["Windows 10", "chrome", | ||
"latest"], ["OS X 10.11", "firefox", "latest"]]'. | ||
See https://goo.gl/tPnZDO for details. | ||
-f, --framework The test framework you're using. This can be "mocha", | ||
"jasmine", "qunit", "YUI Test", or "custom". | ||
Defaults to "mocha". | ||
See https://goo.gl/5KfjDS for details. | ||
-u, --username Your Sauce Labs username. | ||
This defaults to the SAUCE_USERNAME environment variable. | ||
-k, --key Your Sauce Labs access key. | ||
This defaults to the SAUCE_ACCESS_KEY environment variable. | ||
-h, --help Displays this help message. | ||
-v, --version Display the easy-sauce version number. | ||
-V, --version Display the easy-sauce version number. |
{ | ||
"name": "easy-sauce", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Simple JavaScript unit testing on the Sauce Labs cloud", | ||
"main": "index.js", | ||
"main": "./lib/index.js", | ||
"bin": "./bin/easy-sauce", | ||
"scripts": { | ||
"test": "eslint bin/easy-sauce index.js" | ||
"lint": "eslint bin/*.js lib/*.js test/*.js", | ||
"test": "npm run lint && mocha test/*.js" | ||
}, | ||
@@ -20,4 +21,6 @@ "repository": { | ||
"mocha", | ||
"jasmine", | ||
"saucelabs", | ||
"sauce" | ||
"sauce", | ||
"automate" | ||
], | ||
@@ -35,2 +38,3 @@ "author": { | ||
"dependencies": { | ||
"chalk": "^1.1.3", | ||
"connect": "^3.4.1", | ||
@@ -44,4 +48,6 @@ "fs-extra": "^0.28.0", | ||
"devDependencies": { | ||
"eslint": "^2.8.0" | ||
"eslint": "^2.8.0", | ||
"mocha": "^2.5.3", | ||
"sinon": "^1.17.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
62887
30
1585
1
216
7
3
11
1
+ Addedchalk@^1.1.3
+ Addedansi-regex@2.1.1(transitive)
+ Addedansi-styles@2.2.1(transitive)
+ Addedchalk@1.1.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedhas-ansi@2.0.0(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedsupports-color@2.0.0(transitive)