@applitools/core

v2.3.13

deps

bongo deps

lint

node ../../node_modules/.bin/eslint '**/*.ts'

test

mocha --config .mocharc.cvg.js

build

yarn build:dist

setup

yarn docker:setup

test:it

mocha --no-timeouts -r ts-node/register './test/it/**/*.spec.ts'

version

bongo version --with-pending-changes

test:bin

mocha --no-timeouts -r ts-node/register --parallel --jobs 15 './test/bin/**/*.spec.ts'

test:e2e

mocha --no-timeouts -r ts-node/register --parallel --jobs 15 './test/e2e/**/*.spec.ts'

build:x64

yarn build:dist && yarn build:bin:x64

test:unit

mocha --no-timeouts -r ts-node/register './test/unit/**/*.spec.ts'

build:dist

node ../../node_modules/.bin/tsc --project ./tsconfig.build.json

preversion

bongo preversion --verify-pending-changes --skip-deps

build:arm64

yarn build:dist && yarn build:bin:arm64

postversion

bongo postversion

test:sanity

yarn test:unit

docker:setup

node ../../scripts/generate-docker-compose-config.js && docker-compose up -d

build:bin:tgz

tar -czf ./bin/core.tar.gz $(find ./bin -type f -not -name '*.zip' -not -name '*.tar.gz' | xargs)

build:bin:x64

pkg . --target node14-linux-x64,node14-alpine-x64,node14-macos-x64,node14-win-x64

build:bin:zip

zip -j ./bin/core.zip $(find ./bin -type f -not -name '*.zip' -not -name '*.tar.gz' | xargs)

build:bin:arm64

pkg . --target node14-linux-arm64 --output ./bin/core-linux-arm64

docker:teardown

docker-compose down
npm i @applitools/[email protected]

Metadata

Downloads