@applitools/core

v2.5.0

deps

bongo deps

lint

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

test

node ../../node_modules/.bin/mocha './test/**/*.spec.ts' --exclude './test/bin/**' --parallel --jobs ${MOCHA_JOBS:-15} --exit

build

yarn build:dist

setup

yarn docker:setup

report

bongo report --name 'core' --group 'core'

test:it

MOCHA_GROUP=it node ../../node_modules/.bin/mocha './test/it/**/*.spec.ts'

version

bongo version --with-pending-changes

test:bin

MOCHA_GROUP=bin node ../../node_modules/mocha/bin/mocha './test/bin/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15}

test:e2e

MOCHA_GROUP=e2e node ../../node_modules/mocha/bin/mocha './test/e2e/**/*.spec.ts' --parallel --jobs ${MOCHA_JOBS:-15} --exit

build:x64

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

test:unit

MOCHA_GROUP=unit node ../../node_modules/.bin/mocha './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

postpublish

bongo send-release-notification --name 'core'

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