saucelabs

v8.0.0
A wrapper around Sauce Labs REST API

build

run-s clean compile generate:typings

clean

rm -rf ./build ./coverage

compile

babel src -d build

generate:docs

babel-node ./scripts/generate-docs

generate:typings

babel-node ./scripts/generate-typings

prepublishOnly

NODE_ENV=production run-s build generate:typings

release

release-it --github.release

release:ci

npm run release -- --ci --npm.skipChecks --no-git.requireCleanWorkingDir

release:patch

npm run release -- patch

release:minor

npm run release -- minor

release:major

npm run release -- major

test

run-s build test:*

test:lint

eslint -c ./.eslintrc.js ./src/**/*.js ./tests/**/*.js

test:typings

run-s test:typings:*

test:typings:setup

mkdir -p ./tests/typings/node_modules/saucelabs && cp ./package.json ./tests/typings/node_modules/saucelabs && cp -r ./build ./tests/typings/node_modules/saucelabs

test:typings:run

cd ./tests/typings && tsc --incremental

test:typings:cleanup

rm -r ./tests/typings/node_modules

test:unit

jest --config ./jest.config.js

test:e2e

jest e2e --collectCoverage=false --testMatch "<rootDir>/e2e/**/*.test.js" --testPathIgnorePatterns "<rootDir>/tests"

watch

npm run compile -- --watch

prepare

husky install

lint-staged

lint-staged
npm i saucelabs

Metadata

Downloads